You are not logged in.
I just build a domain mail server with postfix . If I use the default mail app in mac os or mail -s subject user@domain <<< "main content" to send e-mails to it , it could receive them well . Then I open the file at ~/Mailbox/new/*.one , I can see the "Subject: ***" and main content at the end of the file .
But , if I open qq mail website to send another e-mail , and open it ... I can still be able to see the Subject , But the main content became strange words like this:
SSBsb3ZlIHlvdSB+fn4KSSBsb3ZlIHlvdSB+fn4KSSBsb3ZlIHlvdSB+fn4KSSBsb3ZlIHlv
dSB+fn4KSSBsb3ZlIHlvdSB+fn4KSSBsb3ZlIHlvdSB+fn4KSSBsb3ZlIHlvdSB+fn4KsKLJ
rcvJtbq3orXEyse/1r7lus3Ap7vzCrCiya3LybW6t6K1xMrHv9a+5brNwKe78wqwosmty8m1
ureitcTKx7/WvuW6zcCnu/MKsKLJrcvJtbq3orXEyse/1r7lus3Ap7vz
if I run this:
mutt -f ~/Mailbox
They can still be read fine . But what if I want to build a script to read the inbox then react to it ? mutt won't work here .
So is this some kind of encryption ??? How can I crack it ?
Last edited by 1ndeed (2019-01-04 16:05:52)
Offline
You reveal the name of your love, I tell you how to "decrypt" this :-P
Online
Oh ... I shouldn't post such a massage ...
You reveal the name of your love, I tell you how to "decrypt" this :-P
Offline
"massage " is a Freudian typo?
This is base64 encoded, try piping it into "base64 -d"
Online
But I couldn't decrypt the Chinese characters , Is it the encode ? How do I solve that ?
"massage " is a Freudian typo?
This is base64 encoded, try piping it into "base64 -d"
Offline
It's something like this:
?ҲŲ??????㡣
Offline
Is this actual text?
echo '°¢ɭËɵº·¢µÄÊǿ־åºÍÀ§»ó' | iconv -f UTF-16BE
Or this?
echo '°¢ɭËɵº·¢µÄÊǿ־åºÍÀ§»ó' | iconv -f UTF-16LE
Online
no , it's not . It seems to be a complicated problem ...
Is this actual text?
echo '°¢ɭËɵº·¢µÄÊǿ־åºÍÀ§»ó' | iconv -f UTF-16BE
Or this?
echo '°¢ɭËɵº·¢µÄÊǿ־åºÍÀ§»ó' | iconv -f UTF-16LE
Offline
Can you paste the complete mailfile? (The encodings should be listed in the multipart header)
Online
here it is :
From:
To:
Subject: The First Contact to Base
Mime-Version: 1.0
Content-Type: text/plain;
charset="gb18030"
Content-Transfer-Encoding: base64
Date: Fri, 4 Jan 2019 15:37:09 +0800
X-Priority: 3
Message-ID:
X-QQ-MIME: TCMime 1.0 by Tencent
X-Mailer: QQMail 2.x
X-QQ-Mailer: QQMail 2.x
X-QQ-SENDSIZE: 520
Received: from qq.com (unknown [127.0.0.1])
by smtp.qq.com (ESMTP) with SMTP
id ; Fri, 04 Jan 2019 15:37:13 +0800 (CST)
Feedback-ID: webmail:qq.com:bgweb:bgweb3
SSBsb3ZlIHlvdSB+fn4KSSBsb3ZlIHlvdSB+fn4KSSBsb3ZlIHlvdSB+fn4KSSBsb3ZlIHlv
dSB+fn4KSSBsb3ZlIHlvdSB+fn4KSSBsb3ZlIHlvdSB+fn4KSSBsb3ZlIHlvdSB+fn4KsKLJ
rcvJtbq3orXEyse/1r7lus3Ap7vzCrCiya3LybW6t6K1xMrHv9a+5brNwKe78wqwosmty8m1
ureitcTKx7/WvuW6zcCnu/MKsKLJrcvJtbq3orXEyse/1r7lus3Ap7vz
Offline
$ iconv -f gb18030 -t utf-8 ./e.txt && echo ""
I love you ~~~
I love you ~~~
I love you ~~~
I love you ~~~
I love you ~~~
I love you ~~~
I love you ~~~
阿森松岛发的是恐惧和困惑
阿森松岛发的是恐惧和困惑
阿森松岛发的是恐惧和困惑
阿森松岛发的是恐惧和困惑
Thank you so much , you really help me a lot !!!!
Offline
bytes_ = b'\xb0\xa2\xc9\xad\xcb\xc9\xb5\xba\xb7\xa2\xb5\xc4\xca\xc7\xbf\xd6\xbe\xe5\xba\xcd\xc0\xa7\xbb\xf3\n\xb0\xa2\xc9\xad\xcb\xc9\xb5\xba\xb7\xa2\xb5\xc4\xca\xc7\xbf\xd6\xbe\xe5\xba\xcd\xc0\xa7\xbb\xf3\n\xb0\xa2\xc9\xad\xcb\xc9\xb5\xba\xb7\xa2\xb5\xc4\xca\xc7\xbf\xd6\xbe\xe5\xba\xcd\xc0\xa7\xbb\xf3\n\xb0\xa2\xc9\xad\xcb\xc9\xb5\xba\xb7\xa2\xb5\xc4\xca\xc7\xbf\xd6\xbe\xe5\xba\xcd\xc0\xa7\xbb\xf3
bytes_.decode('gb18030')
'阿森松岛发的是恐惧和困惑\n阿森松岛发的是恐惧和困惑\n阿森松岛发的是恐惧和困惑\n阿森松岛发的是恐惧和困惑'
Edit: Too slow.
Last edited by schard (2019-01-04 16:11:03)
Offline
Time to pay off and reveal your love ;-P
Online
It's too loud here ... I can't hear you ... I'm in an elevator , I have to ... ...
Time to pay off and reveal your love ;-P
Offline