/    Sign up×
Community /Pin to ProfileBookmark

myspace layout stealer script

I have tried to look at the code of all the ‘myspace layout stealer’ sites to find out how they are able to steal the coding, but I can’t seem to find the place in the source code that does it. I don’t want to create my own layout stealer, im more interested in how they actually work. here is one of the sites i was trying to study. [url]http://www.layoutthief.com[/url]

Is is javascript that they use? Can someone cut and paste the section of the code that does this and reply with it? thanks

to post a comment
JavaScript

7 Comments(s)

Copy linkTweet thisAlerts:
@rhsundergroundFeb 21.2007 — what i assume they do is have a php script dig through the page in question and look for any <script></script> tags and copy the information contained therein (and add some advertising of their own site.)
Copy linkTweet thisAlerts:
@LeeUFeb 21.2007 — Is is javascript that they use? Can someone cut and paste the section of the code that does this and reply with it? thanks[/QUOTE]

No, we can't do this on these forums as it is a violation of the terms and agreements.

[LIST]
  • [*]You will not use these forums to violate any laws nor to discuss illegal activities.

  • [*]You will not use these Forums for the purposes of sharing or distributing viruses, licenses, registration information, software keys, "cracks," or other information designed to do harm to or allow unlawful access to any computer hardware, software, networks, or any other systems.

  • [/LIST]


    Be aware that anybody caught posting it will be banned for life.
    Copy linkTweet thisAlerts:
    @rhsundergroundFeb 21.2007 — lee, as a myspace user and someone familiar with this thing, i don't think it falls under this category. what this thing does is look on a page (take mine, for example) for the style that someone has added:

    <style type="text/css">

    Table, Td { background-color:transparent; border-style:none; }

    table table table td.text div img {visibility:hidden;} table table table td.text div { background-image:url("http://img477.imageshack.us/img477/4126/hairy6kq.gif"); background-repeat:no-repeat;} able table table td.text table table div img {visibility:visible;} table table table td.text table table div { background-image:none;}

    body {

    background-image:url(http://img214.imageshack.us/img214/5605/spacewg1.gif);

    background-position:Center Center;

    background-attachment:fixed;

    background-repeat:no-repeat;

    backgroung-color: white;}

    </style>

    which will always be right on the page - users don't have access to stylesheets - so anybody who views the source can get the code. usually the companies that design these layouts also throw in a link to their own site in the design. basically what this site is doing is letting someone who doesn't know how to read a source code get the same layout as their friend.
    Copy linkTweet thisAlerts:
    @LeeUFeb 21.2007 — Ah, I'm aware of what you're talking about. I didn't realize that is what lehula meant. I was thinking more along the lines of stealing songs, etc. "Layout stealer" is not really a good term, then. But I know what you mean (I'm still working on the layout for my site.)
    Copy linkTweet thisAlerts:
    @TaboFeb 21.2007 — view-source???


    Lol its quick and easy
    Copy linkTweet thisAlerts:
    @lehulaauthorFeb 21.2007 — lol, of course i did that. what i said was that I was having trouble finding, in the source, the actually script that allowed the layout stealer to 'steal'.
    Copy linkTweet thisAlerts:
    @trepidityFeb 21.2007 — Yeah it looks like they use a server-side script to do it. Since that's the case, you can't get the source code for their program. What I would guess it does is feed the friend ID you provide into the appropriate place in the URL's GET variables to access the particular persons myspace page like anyone would. Then parse the source code for that page and extract any inline style-sheet in the sections that myspace user can edit such as "about me." The general format for a myspace profile is always the same, so it will always be in one of the same places. The myspace editor just parses the text you place in the field for any code they don't allow, then simply puts everything you wrote in the appropriate div's code. So all you have to do is look at the base source code for a profile, then write an algorithm to parse the sections that a user can edit. Then extract the style sheet definitions.
    ×

    Success!

    Help @lehula spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 6.17,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @nearjob,
    tipped: article
    amount: 1000 SATS,

    tipper: @meenaratha,
    tipped: article
    amount: 1000 SATS,

    tipper: @meenaratha,
    tipped: article
    amount: 1000 SATS,
    )...