Skip to content

Commit

Permalink
fix errors in README
Browse files Browse the repository at this point in the history
  • Loading branch information
gaainf committed Dec 25, 2018
1 parent fa8148f commit 606ca42
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,19 @@ Convert pcap file to Yandex-tank ammo
Host: rambler.ru\r\n
Content-Length: 0\r\n\r\n
Count statistics about HTTP requests
***************************************

.. code:: bash
pcap2ammo -f "ip.src == 10.10.10.10" -i file.pcap -S
Stats:
total: 1
complete: 1
incorrect: 0
incomplete: 0
Print to file
*************************************

Expand All @@ -223,7 +236,7 @@ Print to file
Add or delete headers
*********************
Applyed for all requests, contaning specified headers
Applyed for all requests, containing specified headers

.. code:: bash
Expand Down Expand Up @@ -267,16 +280,3 @@ Use excluding filters also
pcap2ammo -i file.pcap -F '"rambler.ru" in http["uri"]' -E '"dsp-rambler.ru" in http["uri"]'
See more information about filters in `pcaper <https://github.com/gaainf/pcaper/>`_ package description.

Print statistics about counted requests
***************************************

.. code:: bash
pcap2ammo -f "ip.src == 10.10.10.10" -i file.pcap -S
Stats:
total: 1
complete: 1
incorrect: 0
incomplete: 0

0 comments on commit 606ca42

Please sign in to comment.