From 353e65521e0aa82fc606ef9fb9df7d83ad296dcb Mon Sep 17 00:00:00 2001 From: Argishti Rostamian <1332785+WhileLoop@users.noreply.github.com> Date: Tue, 6 Oct 2020 09:28:45 -0700 Subject: [PATCH] httpry: add page (#4491) * httpry: add page * use token syntax --- pages/common/httpry.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 pages/common/httpry.md diff --git a/pages/common/httpry.md b/pages/common/httpry.md new file mode 100644 index 0000000000..23a6c66bfd --- /dev/null +++ b/pages/common/httpry.md @@ -0,0 +1,25 @@ +# httpry + +> A lightweight packet sniffer for displaying and logging HTTP traffic. +> It can be run in real-time displaying the traffic as it is parsed, or as a daemon process that logs to an output file. +> More information: . + +- Save output to a file: + +`httpry -o {{path/to/file.log}}` + +- Listen on a specific interface and save output to a binary pcap format file: + +`httpry {{eth0}} -b {{path/to/file.pcap}}` + +- Filter output by a comma-separated list of HTTP verbs: + +`httpry -m {{get|post|put|head|options|delete|trace|connect|patch}}` + +- Read from an input capture file and filter by IP: + +`httpry -r {{path/to/file.log}} '{{host 192.168.5.25}}'` + +- Run as daemon process: + +`httpry -d -o {{path/to/file.log}}`