Packet Smuggler

Packet Smuggler is a network tool to connect to a server and send packets to it. It was developed for testing servers in multiplayer game development. The tool is written in a single C++ file. It requires rxi's dyad networking library as a dependency.

Table of contents


About


Packet Smuggler was created as a tool to test out game servers. It is heavily inspired by netcat with the difference of the ability to send multi-line requests(and the inability to listen to a port, because I didn't really need that in my tool).

It is licensed under the WTFPL because honestly it took about 30 minutes to make.

Building


Building Packet Smuggler is relatively simple. On Windows, link ws2_32.lib to the program. On Linux, Mac, and other platforms, link whatever you would normally need. You also need rxi's dyad networking library, which consists of a .c file and a .h file. You might need to declare the preprocessor macro _WINSOCK_DEPRECATED_NO_WARNINGS in your build system.

Usage


Using Packet Smuggler is relatively simple; the program asks you for a domain and a port that it will connect to (with UDP), and then, you enter the data for the packet you want to send, line by line. When you're done writing the packet, simply write Packet_Smuggler_Send_Now. When you're done communicating with the server, simply write Packet_Smuggler_Exit_Now. Note that if you need to send either of those as a line in a packet, you can escape the line by adding an apostrophe(') at the start.

Downloads



< back to ~safariminer
< back to tilde.town