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

Post Data Through URL Redirect

Discussion in 'BlackHat Lounge' started by Snckr, Apr 11, 2014.

  1. Snckr

    Snckr BANNED BANNED

    Joined:
    Dec 27, 2013
    Messages:
    581
    Likes Received:
    382
    Anyone know how to make x.com/1 redirect to y.com and POST data 123? The user visits x.com/1 and visits y.com while POSTing the data 123. Can pay, thanks.
     
  2. ttrox

    ttrox Regular Member

    Joined:
    Jun 28, 2013
    Messages:
    217
    Likes Received:
    75
    Not possible IMO, unless you are not speaking of specifically a server redirect.
    Does it matter that it would be with javascript?
     
    • Thanks Thanks x 1
  3. Snckr

    Snckr BANNED BANNED

    Joined:
    Dec 27, 2013
    Messages:
    581
    Likes Received:
    382
    Javascript is completely fine. I just need it to be quick and no delay. :)

    Appreciate the reply.
     
  4. 0_00_0

    0_00_0 Senior Member

    Joined:
    Oct 7, 2010
    Messages:
    1,025
    Likes Received:
    487
    Location:
    Canada
    You can do something with JavaScript that would probably do the job. Just use JavaScript to submit a form that has the values pre-filled out. Shouldn't be too hard with setTimeout or onload proc.
     
    • Thanks Thanks x 1
    Last edited: Apr 11, 2014
  5. auxiliarus

    auxiliarus Regular Member

    Joined:
    Aug 4, 2013
    Messages:
    466
    Likes Received:
    232
    Location:
    Russian Federation.
    Pfft, easy HTML - Just redirect the request to the another site, for example where it says to do the POST to post.php, do something like "www.yoursite.com/post.php", but the guy has to click on a button or you will have to use an auto-submit then.
     
    • Thanks Thanks x 1
  6. auxiliarus

    auxiliarus Regular Member

    Joined:
    Aug 4, 2013
    Messages:
    466
    Likes Received:
    232
    Location:
    Russian Federation.
    Look at these examples, they can help you.
     
    • Thanks Thanks x 1
  7. auxiliarus

    auxiliarus Regular Member

    Joined:
    Aug 4, 2013
    Messages:
    466
    Likes Received:
    232
    Location:
    Russian Federation.
    Here is a few more :
     
    • Thanks Thanks x 1