Old 03-10-2010, 06:29 AM   #11 (permalink)
Newbie
 
Join Date: Jan 2010
Posts: 12
deramik is on a distinguished road
Default

Yes! Thanks!
It's my decoded string!
How can I decode all such strings in my CSV?
deramik is offline  
Old 03-10-2010, 06:44 AM   #12 (permalink)
Untangle Ninja

 
WebFooL's Avatar
 
Join Date: Jan 2009
Location: Sweden (Eskilstuna)
URLs submitted: 57
Posts: 3,880
WebFooL is on a distinguished road
Send a message via MSN to WebFooL
Default

I think it will take me some days to work with the app...
I will see if i have time this weekend to work with it.

Do you want it in English or in native ?
WebFooL is offline  
Old 03-10-2010, 07:18 AM   #13 (permalink)
Newbie
 
Join Date: Jan 2010
Posts: 12
deramik is on a distinguished road
Default

Thank you.
Interface is irrelevant.
deramik is offline  
Old 03-10-2010, 07:41 AM   #14 (permalink)
Untangle Ninja

 
WebFooL's Avatar
 
Join Date: Jan 2009
Location: Sweden (Eskilstuna)
URLs submitted: 57
Posts: 3,880
WebFooL is on a distinguished road
Send a message via MSN to WebFooL
Default

What i meant with English or Native was if you want the subject to be decode in to English or to your native lang.

Meaning do you want:
0sXNz87UIM7BIMTB3sUgySDXIMvXwdLUydLF = ремонт на даче и в квартире
or
0sXNz87UIM7BIMTB3sUgySDXIMvXwdLUydLF = renovation of rooms and dache
WebFooL is offline  
Old 03-10-2010, 08:31 AM   #15 (permalink)
Newbie
 
Join Date: Jan 2010
Posts: 12
deramik is on a distinguished road
Default

I think it will correct if language will detect on codepage in string:
=?koi8-r?B?0sXNz87UIM7BIMTB3sUgySDXIMvXwdLUydLF?=
so,
0sXNz87UIM7BIMTB3sUgySDXIMvXwdLUydLF = ремонт на даче и в квартире
without translates.
Thanks!
deramik is offline  
Old 03-10-2010, 08:33 AM   #16 (permalink)
Untangle Ninja

 
WebFooL's Avatar
 
Join Date: Jan 2009
Location: Sweden (Eskilstuna)
URLs submitted: 57
Posts: 3,880
WebFooL is on a distinguished road
Send a message via MSN to WebFooL
Default

Will see what i can fix :P
Is it the standard csv from the spam filter?
WebFooL is offline  
Old 03-10-2010, 09:04 AM   #17 (permalink)
Newbie
 
Join Date: Jan 2010
Posts: 12
deramik is on a distinguished road
Default

it's very interesting!
yes, it's standart csv
Time,Client,Score,Msg sender,Subject,Destination IP,Action,Msg receiver
2010-02-03 00:03:03.687,192.168.1.1,9.5,13johnson@ms66.hinet. net,[!! SPAM] =?koi8-r?B?0sXNz87UIM7BIMTB3sUgySDXIMvXwdLUydLF?=,MY_IP,m arked,user@domain.my
deramik is offline  
Old 03-10-2010, 11:53 AM   #18 (permalink)
Untangle Ninja

 
WebFooL's Avatar
 
Join Date: Jan 2009
Location: Sweden (Eskilstuna)
URLs submitted: 57
Posts: 3,880
WebFooL is on a distinguished road
Send a message via MSN to WebFooL
Default

I am running in to some problems.

I created a simple php script.
So if you run
Code:
http://fakenews.se/untangle/base64/test.php?str=0sXNz87UIM7BIMTB3sUgySDXIMvXwdLUydLF
It will decode it and print out "ремонт на даче и в квартире"

The app then use the PHP script and then downloads the decoded string.

But here is the problem when i view it after i see it as "ремонт на даче и в кварзS'K"
That has to do with that notepad dont disply Cyrillic. (if i use Notepad++ and configure the correct format and character set i see ремонт на даче и в квартире)

I have the feeling that my app will just force the "ремонт на даче и в кварзS'K" in to the CSV and fubar everthing..

Will do some more testing.

But i have a feeling that my skills are note enough here

Last edited by WebFooL; 03-10-2010 at 11:55 AM..
WebFooL is offline  
Old 03-10-2010, 07:37 PM   #19 (permalink)
Newbie
 
Join Date: Jan 2010
Posts: 12
deramik is on a distinguished road
Default

I had tested.

1. when subj='=?koi8-r?B?8OL1IDE4LzAyLiD308UgydrNxc7FzsnRIDIwMTDHLg==?='
result is:

that's all right

2. when subj='=?windows-1251?B?xOv/IPDl6uvg7O379SDg4+Xt8vHy4g==?='
result is:

there are no any result
Attached Images
File Type: jpg screen1.JPG (23.7 KB, 9 views)
File Type: jpg screen2.JPG (19.8 KB, 8 views)
deramik is offline  
Old 03-10-2010, 11:15 PM   #20 (permalink)
Untangle Ninja

 
WebFooL's Avatar
 
Join Date: Jan 2009
Location: Sweden (Eskilstuna)
URLs submitted: 57
Posts: 3,880
WebFooL is on a distinguished road
Send a message via MSN to WebFooL
Default

It is the = in the last sample that mess with it..

Without them i get:
Для рекламных аб{|ј|ё
By the looks the start is intact but the end is fubar.
WebFooL is offline  
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 08:58 AM.


╘ 2010 Untangle, Inc. All Rights Reserved.   SEO by vBSEO 3.6.0 PL2