How to Spoof ip in java

2019-01-28 02:05发布

How to change tcp information in layer 3 in java ?(ip spoofing) how to change layer 2 information ? is there any good library for it in java ? it need raw socket?

标签: java ip spoofing
2条回答
劫难
2楼-- · 2019-01-28 02:50
Anthone
3楼-- · 2019-01-28 03:02

unfortunately to need access to the TCP/IP packet structures you need to work at very low level (you need the kernel headers in Linux for instance) so yes, you will definitely 100% need to do this outside java in a native library and call the code in your Java app.

查看更多
登录 后发表回答