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

Spoofing IP Header

Discussion in 'HTML & JavaScript' started by irfan666, Oct 9, 2015.

  1. irfan666

    irfan666 Newbie

    Joined:
    Oct 3, 2015
    Messages:
    14
    Likes Received:
    0
    I found Secret Agent addon for firefox . The functions is make spoofing IP header , User agent etc. Im wondering how we can spoofing IP Header and X Forwarder with Javascript or PHP ?
     
  2. zotohost

    zotohost Registered Member

    Joined:
    Oct 25, 2015
    Messages:
    71
    Likes Received:
    4
    Even if you do so it will not work. When the packet will reach next hope it will be dropped because of bad CRC.
     
  3. mantic0re

    mantic0re Junior Member

    Joined:
    May 29, 2015
    Messages:
    118
    Likes Received:
    9
    Not possible. the IP headers are set on OS level. You have to modify the raw packet in that case, which isn't even possible on Windows. You would have to do that in Linux. Are you sure that you don't just want to use a proxy?
     
  4. fatboy

    fatboy Elite Member

    Joined:
    Aug 13, 2008
    Messages:
    1,618
    Likes Received:
    3,232
    Occupation:
    Retired
    Location:
    Old Peoples Home
    Is it possible, yes - take a look at RawIP in Perl (I like perl :))

    Will it work, doubtful as most decent networks will not route spoofed IP addresses however there are some providers out there that may or may not have incorrectly (or correctly set up and they don't care) set up their networks ;)
     
  5. ChanzGrande

    ChanzGrande Elite Member

    Joined:
    Feb 16, 2008
    Messages:
    2,487
    Likes Received:
    1,179
    Occupation:
    Accountant
    Location:
    Northern Woods Counting Money
    This seems technical and challenging when one can simply use a proxy and/or VPN. You must be hellbent on accomplishing some really illicit task with automation. Good luck OP!
     
  6. Sheraf

    Sheraf Registered Member

    Joined:
    Jan 19, 2014
    Messages:
    61
    Likes Received:
    8
    I don't even think you can spoof TCP.
    The socket will init and send a SYN, then the server will return the SYN-ACK to the spoofed IP, which is not yours but someone else on the internet, your socket will never fully establish?
    I may be wrong though...

    Even so, as fatboy said, most provider won't let you spoof your Internet IP address
     
    • Thanks Thanks x 1