This series of patches implements a few quality of life changes:
The option --base64body can be used to tell slapper that the bodies in the targets file are base64-encoded. This can then be used to pass in bodies encoded in binary formats, such as protobuf, that were recorded from live traffic.
Users can specify HTTP headers that should be added to all requests with the -H option on the command line. To add multiple headers, repeat the option, à la curl.
The parser for the targets file is now less fussy about the syntax of the file, while being backwards-compatible with existing syntax. This is for example valid syntax now for specifying multiple targets with empty bodies:
GET http://www.example.com
GET http://www.url.foo
The slapper now supports non-GET HTTP requests via the targets file.
Targets can be read from STDIN, fulfilling a promise made in the documentation.
This series of patches implements a few quality of life changes:
--base64body
can be used to tell slapper that the bodies in the targets file are base64-encoded. This can then be used to pass in bodies encoded in binary formats, such as protobuf, that were recorded from live traffic.-H
option on the command line. To add multiple headers, repeat the option, à la curl.