minor fixes

This commit is contained in:
Maximilian Hils 2017-03-11 14:46:33 +01:00 committed by GitHub
parent e0382fde2f
commit 74f2a28e41
1 changed files with 3 additions and 4 deletions

View File

@ -48,15 +48,14 @@ In practice, it's pretty common for the replacement literal to be long and
complex. For instance, it might be an XSS exploit that weighs in at hundreds or
thousands of characters. To cope with this, there's a variation of the
replacement hook specifier that lets you load the replacement text from a file.
To specify a file as replacement, prefix the file path with ``@``
So, you might start **mitmdump** as follows:
To specify a file as replacement, prefix the file path with ``@``.
You might start **mitmdump** as follows:
>>> mitmdump --replacements :~q:foo:@~/xss-exploit
This will load the replacement text from the file ``~/xss-exploit``.
The ``--replacements`` flag can be passed multiple
times.
The ``--replacements`` flag can be passed multiple times.
Interactively