Follow us on Twitter!
One mans freedom fighter, another's terrorist.
Friday, April 18, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 14
Guests Online: 14
Members Online: 0

Registered Members: 82822
Newest Member: TheBunter
Latest Articles
View Thread

HellBound Hackers | Computer General | Programming

Author

Coding an Ip spoofer


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 20-12-10 04:20
Does anyone know how to code an ip spoofer? Peferably in java,c#,c or c++?
Author

RE: Coding an Ip spoofer

techb
Member



Posts: 384
Location:
Joined: 15.02.09
Rank:
Moderate
Posted on 20-12-10 08:59
For this you will need to either use proxies, or craft your own packets to send.

There are plenty of ways to craft your own packets.
Java
Python

Hping can also aid in spoofing.


www.userbars.com/74460/665255/337-7865-ubda3219.gif
kbcarte.wordpress.com
Author

RE: Coding an Ip spoofer


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 20-12-10 12:04
redhothacker wrote:
Does anyone know how to code an ip spoofer? Peferably in java,c#,c or c++?



Here's a article I enjoyed on the subject http://crack0hack. . .P-spoofing
Author

RE: Coding an Ip spoofer

j4m32
Member

Your avatar

Posts: 81
Location:
Joined: 01.05.10
Rank:
Newbie
Posted on 20-12-10 23:30
Sorry to say it, but the OP could have googled for half of the answer to this... but anyway...

As far as I am aware, a proxy doesn't exactly serve the same function as "IP Spoofing" but rather does make it a little harder to find the end clients' IP address.

Assuming you are talking about IPv4, and know a little bit about IPv4 structure for a datagram. (If not see Wikipedia for a diagram or look for the structure definition which I think is in the header file for winsock.h (Windows) or sys/socket.h (UNIX/Linux) in C/C++)

In Java there is no "native way" of modifying packet headers as the virtual machine is abstract of the implementation for the platform underneath.

However your answer lies in using raw sockets to change the "Source IP" and maybe even the MAC field(s) of the IP Header. You'll probably end up writing this in C / C++, which you could also write as a library which you could interface with Java (I am lead to believe).

Link that maybe useful: http://www.citi.umich.edu/u/provos/security/ipspoof.1

Hope this helps!

Jim,
Author

RE: Coding an Ip spoofer

fuser
Member



Posts: 960
Location: in front of a computer (duh)
Joined: 05.04.07
Rank:
Mad User
Posted on 21-12-10 03:01
I don't think Java would be a good language for this kind of applications, and since I'm a java nut (get it?) it's a bit of a bummer.

I once asked this kind of question at a different forum, although the application I had in mind was just to generate and ping the IP's generated by the application, and they informed me that since Java was designed to be hardware-independent , it's going to be hard to write an application that will work directly with your ethernet card, so unless you have a hardware library installed as well.

But since techb has already provided you with the answer, you might as well take a look at the code and see how it's done. I'd recommend you have some knowledge in network programming in Java, though.


img.userbarz.com/51/10006.png
img.userbarz.com/146/29144.gif
img.userbarz.com/99/19602.jpg
img.userbarz.com/4/600.png
img.userbarz.com/45/8814.gif
img360.imageshack.us/img360/9231/bfbarlr0.jpg
[url=http://userbarz.com/][img]ht
catinthecpu@hotmail.com