Beta
×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

spam 2

jefu (53450) writes | more than 10 years ago

User Journal

In a followup to the previous entry, I went to the web site listed and found this page where you can report "certain parties" that send out spam advertising their product. This page is great fun, it uses the standard kinds of javascript junk (unescape) to obfuscate a function (named, "o" so nicely) o which actually builds the page. Now why they need to do this escapes (so to speak) me, as it took all of about five minutes to write a bitIn a followup to the previous entry, I went to the web site listed and found this page where you can report "certain parties" that send out spam advertising their product. This page is great fun, it uses the standard kinds of javascript junk (unescape) to obfuscate a function (named, "o" so nicely) o which actually builds the page. Now why they need to do this escapes (so to speak) me, as it took all of about five minutes to write a bit of python that decodes the page. If you take the following (you'll need to replace the "_"s with spaces and watch the long quoted string in the second line) and use this function o in place of theirs, you'll easily see the text of their web page - it makes interesting reading.

Even more interesting, the decoded web page does not work in mozilla. Sigh.

w=""
b="a6=mDbFJfS|c&%iPY;!-3?R#Wq.rCgl+dyE 4wMU/j)Tz:"
l=78
g=""

def iii() :
_global g
_w=""

def o(s) :
_ global g
_ res = ""
_ k=''
_ for n in range(len(s)) :
__ f=s[n]
__ e=b.find(f)
__ if e>-1 :
___ y=((e+1)%l-1)
___ if y ____ y+=l
___ k+=b[y-1]
__ else :
___ k+=f
_ g +=k

cancel ×

comment

Slashdot Login

Need an Account?

Forgot your password?

Submission Text Formatting Tips

We support a small subset of HTML, namely these tags:

  • b
  • i
  • p
  • br
  • a
  • ol
  • ul
  • li
  • dl
  • dt
  • dd
  • em
  • strong
  • tt
  • blockquote
  • div
  • quote
  • ecode

"ecode" can be used for code snippets, for example:

<ecode>    while(1) { do_something(); } </ecode>