Posted 15 July 2015 - 12:42 AM

Introducing libpcap and libspoofer

APIs to allow the spoofing and sniffing of rednet and GPS traffic!

With these APIs, you can spoof traffic to create a seemingly real internet service. Or maybe sniff the traffic on a network to make sure its going where it needs to go.

Sometimes you can't find that pesky rednet.send() message, and you need to rework your code.

No longer! Our network utility implements libpcap (styled after pcap the wireshark library) and libspoofer the ID spoofing API to create packets for testing networks and modems in the rednet range of your world!

NOTE: ONLY WORKS ON CC 1.6 AND UP

Enjoy the world of Libpcap and Libspoofer

Libpcap and Libspoofer are required for the Network Utility to function

In order to close the network utility, click the green line

To Install:

To install all of the needed files as well as the network utility

pastebin run sfZc9yLU

To install only Libpcap

pastebin get qWSxND5C libpcap

To install only Libspoofer

pastebin get jzXLbL2C libspoofer

To use the spoofers main function, do libspoofer.send(message, toid, fromid) and it should send message to toid from fromid

For the sniffers main function, use libpcap.cap() which will return a table. The cell labeled data in the table will either contain a string if it's a gps packet or another table if it is a rednet packet.

Enjoy!

Credits

Main coder of APIs: Scoopta

Network Utility Coder: CloudNinja

GUI: CloudNinja

Edited by CloudNinja, 16 July 2015 - 08:44 PM.