PACKETSENDER(1)
β¨ NAME β¨
packetsender β a network utility for sending and receiving TCP, UDP, SSL packets π (yes that's the manual name, we're folding it in right here, you're welcome)
π SYNOPSIS π
packetsender [options] address port data
π¦ DESCRIPTION π¦
okay so Packet Sender is literally THE utility that sends and receives TCP, UDP and SSL (that's encrypted TCP, bestie) packets on whatever ports you want. It's giving versatility. It supports IPv4 and IPv6, and it comes with a GUI for the final users out there. BUT β plot twist β you can also run Packet Sender in text mode via the command line. no cap.
πΈ Some features (a vibe check)
- It can act as client or server to send and receive network traffic. main character energy on both sides of the socket fr fr.
- A payload can be created in ASCII or hex. your choice, your rules.
- A command line mode is available for automation and scripting. scripts girlies rise up π
- Packet Sender cloud is a disposable resource you can use to publicly display and distribute packets (via a URL) for collaboration, tutorials, end users, etc. Packet Sender may import public packet sets with a public URL. it's giving shareable π«Ά
π Some uses
- Control network-based devices in ways beyond their original apps. iconic behaviour honestly.
- Test automation (using the command line tool and/or hotkeys).
- Test network APIs (using the built-in TCP, UDP, SSL clients).
- Malware analysis (using the built-in UDP, TCP, SSL servers). yes bestie, we're the analysts now π
- Troubleshoot secure connections (using SSL).
- Test network connectivity/firewalls (by having 2 Packet Senders talk to each other). friendship goals actually.
- Stress-test a device (using the intense network generator tool). go off π₯
- Tech support (by sending customers a portable Packet Sender with pre-defined settings and packets).
- Share/Save/Collaborate using the Packet Sender Cloud service.
π OPTIONS π
-h,--helpβ Displays help on commandline options. your lil cheat sheet β¨--help-allβ Displays help including Qt specific options. the deep lore.-v,--versionβ Displays version information.-q,--quietβ Quiet mode. Only output received data. no yapping, just facts π-x,--hexβ Parse data-to-send as hex (default).-a,--asciiβ Parse data-to-send as mixed-ascii (like the GUI).-A,--ASCIIβ Parse data-to-send as pure ascii (no\xxtranslation).-w,--wait <ms>β Wait up to<milliseconds>for a response after sending. Zero means do not wait (Default). It is compulsory if a reply from a server, as an HTTP server, is needed. In this case,-w 500is a good start value. yes bestie,-w 500is the starter pack π-f,--file <path>β Send contents of specified path. Max 10 MiB for UDP, 100 MiB for TCP/SSL. don't be greedy.-b,--bind <port>β Bind port. Default is0(dynamic).-6,--ipv6β Force IPv6. Same as-B "::". Default isIP:Any.-4,--ipv4β Force IPv4. Same as-B "0.0.0.0". Default isIP:Any.-B,--bindip <IP>β Bind custom IP. Default isIP:Any.-t,--tcpβ Send TCP (default).-s,--sslβ Send SSL and ignore errors. living dangerously, we respect it.-S,--SSLβ Send SSL and stop for errors. responsible queen behaviour.-u,--udpβ Send UDP.--httpβ Send HTTP.-n,--name <name>β Send previously saved packet named<name>. Other options overrides saved packet parameters. the saved packet stays losing, sorry.--bps <bps>β Intense traffic. Calculate rate based on value of bits per second.--num <number>β Intense traffic. Number of packets to send. Default unlimited.--rate <Hertz>β Intense traffic. Rate. Ignored inbpsoption.--usdelay <microseconds>β Intense traffic. Resend delay. Used if rate is0. Ignored inbpsoption.
π§ Arguments
addressβ Destination address. Optional for saved packet.portβ Destination port. Optional for saved packet.dataβ Data to send. Optional for saved packet.
π₯ EXAMPLES π₯
The following command line will send a TCP packet, with a mixed-ascii as payload, to example.com, port 22. The command will wait 500 ms for a reply.
$ packetsender -taw 500 example.com 22 "Hello\nWorld"
Similar to last command, but the TCP packet will be sent to port 21. An anonymous authentication will be used.
$ packetsender -taw 500 example.com 21 "USER anonymous\r\nPASS chrome@example.com\r\n"
The command below uses SSL and will ignore SSL errors. The command will wait 500 ms for a reply.
$ packetsender -saw 500 expired.packetsender.com 443 "GET / HTTP/1.0\r\n\r\n"
Other good example how to access a homepage:
$ packetsender -w 500 -a example.com 80 "GET / HTTP/1.1\r\nHost: example.com\r\n\r\n"
Packet Sender command line also can bind to custom ports to force IPv4/6 modes or multiple NIC, as shown below:
$ packetsender -taw 3000 fe80::c07b:d517:e339:5a08 5005 "Hello\r"
$ packetsender -taw 3000 192.168.0.201 5005 "Hello\r"
$ packetsender -B 192.168.0.200 -taw 3000 192.168.0.201 5005 "Hello\r"
$ packetsender -B fe80::a437:399a:3091:266a%ethernet_32769 -taw 3000 fe80::c07b:d517:e339:5a08 5005 "Hello\r"
$ packetsender -B fe80::a437:399a:3091:266a -taw 3000 fe80::c07b:d517:e339:5a08 5005 "Hello\r"
π SEE ALSO π
π AUTHOR π
Packet Sender was written by Dan Nagle <dan@dannagle.com> and is available at https://packetsender.com. king behaviour π
This manual page was written by Joao Eriberto Mota Filho <eriberto@debian.org> for the Debian project (but may be used by others). shoutout π«Ά
okay bestie that's the whole thing, and just so you know this is all from packetsender-8.0.9, dated 03 Mar 2022 β that's the footer, we're folding it in here instead of copy-pasting it, slay πβ¨π
π¦ where this page comes from
- debian trixie: packetsender 8.8.9-2 Β· GPL-2.0-or-later
- ubuntu questing: packetsender 8.8.9-2
- ubuntu resolute: packetsender 8.9.1-2 Β· GPL-2.0-or-later
- ubuntu stonking: packetsender 8.10.5-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms