1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Hacking the <a> tag in 100 characters

Discussion in 'Cloaking and Content Generators' started by Matty90, Mar 17, 2013.

  1. Matty90

    Matty90 Newbie

    Joined:
    Nov 10, 2011
    Messages:
    32
    Likes Received:
    11
    YOU CAN REDIRECT A LEGIT LINK TO ANOTHER PAGE, EASILY!

    var links = document.getElementsByTagName('a');for(var i=0; i < links.length; i++){ links[i].onclick = function(){ this.href = 'yoursite'; // Insert link here };}
     
  2. thedorf

    thedorf Senior Member

    Joined:
    Oct 1, 2008
    Messages:
    1,193
    Likes Received:
    700
    Occupation:
    what? I gotta have a job?
    Location:
    BHW - Where else?
    Right, I am interested in where you are going with this but I am not sure how you implement it. Care to share a few more thoughts on the subject? I am a coder so just an overview is cool.
     
  3. YellowHats

    YellowHats Junior Member

    Joined:
    Mar 10, 2013
    Messages:
    195
    Likes Received:
    135
    Occupation:
    Director of SEO
    Location:
    Middle East
    Ok wonderful, but what do you expect to be done with this code? You still need to inject that line of script into the website's file! Have you used this? SQL injection?