1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00

httpry: add page (#4491)

* httpry: add page

* use token syntax
This commit is contained in:
Argishti Rostamian 2020-10-06 09:28:45 -07:00 committed by GitHub
parent b16010bf8c
commit 353e65521e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

25
pages/common/httpry.md Normal file
View file

@ -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: <http://dumpsterventures.com/jason/httpry/>.
- 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}}`