[Spambayes] Exceptionally well-done identity-theft spam

Skip Montanaro skip at pobox.com
Mon Dec 29 23:11:06 EST 2003


    Tony> OTOH, urllib2 couldn't demangle the URL (the username bit, I
    Tony> think) ...

Odd.  I demangled it by passing it through this not-to-exotic unquote
script:

    % echo "http://www.paypal.com%65%6B%6A%68%61%73%6B%6A%71%70%77%6F%70%77%6F@%32%31%31.%36%33.%31%36%32.%39%33:%37%33%30%31/%70%61%79%70%61%6C.%68%74%6D" | unquote
    http://www.paypal.comekjhaskjqpwopwo@211.63.162.93:7301/paypal.htm
    % cat ~/local/bin/unquote 
    #!/usr/bin/env python

    import urllib, sys

    sys.stdout.write(urllib.unquote_plus(sys.stdin.read()))

I would think urllib2 could be trained to grok that.

Skip



More information about the Spambayes mailing list