aboutsummaryrefslogtreecommitdiffstats
path: root/examples/complex/dns_spoofing.py
Commit message (Collapse)AuthorAgeFilesLines
* Corrected keep_host_header usage optionAlex Lauerman2018-10-251-1/+1
| | | I tested this locally to verify this change is correct.
* Update CLI usage instructionsPierre Cavan2018-06-261-3/+3
|
* rename TLS/SSL-related attributesThomas Kriechbaumer2018-01-061-1/+1
| | | | | | SSL is an outdated protocol superseeded by TLS. Although the commonly used library is called OpenSSL, it is no reason to still use outdated language for attributes.
* Revamp how addons workAldo Cortesi2017-04-251-2/+1
| | | | | | | | | | | | | | | | | | | - Addons now nest, which means that addons can manage addons. This has a number of salutary effects - the scripts addon no longer has to poke into the global addons list, we no longer have to replace/remove/boot-outof parent addons when we load scripts, and this paves the way for making our top-level tools into addons themselves. - All addon calls are now wrapped in a safe execution environment where exceptions are caught, and output to stdout/stderr are intercepted and turned into logs. - We no longer support script arguments in sys.argv - creating an option properly is the only way to pass arguments. This means that all scripts are always directly controllable from interctive tooling, and that arguments are type-checked. For now, I've disabled testing of the har dump example - it needs to be moved to the new argument handling, and become a class addon. I'll address that in a separate patch.
* addon loader: add boot_into, which replaces returning from start()Aldo Cortesi2017-03-251-2/+2
| | | | | While we're here, expand test coverage for addonmanager to 100%, and promote to individual coverage.
* addons: start -> load throughoutAldo Cortesi2017-03-251-1/+1
|
* Enable custom options for addonsAldo Cortesi2017-03-141-8/+9
| | | | | | | | - Add an options parameter to the start() event. This is to be used by addons on startup to add custom options. - Add a running() event that is called once the proxy is up and running. - With the new paradigm we can't log during master __init__, so add a tiny termstatus addon to print proxy status to terminal once we're running.
* Changes dns_spoofing example to use --keep-host-headerNikhil Soni2017-03-031-8/+3
|
* .headers["host"] -> .host_headerMaximilian Hils2017-02-181-2/+2
|
* fix typoMaximilian Hils2017-02-141-1/+1
|
* Reset the host header to the correct destinationAmmonite2017-01-301-0/+1
|
* Store original host in flow metadataAmmonite2017-01-291-7/+5
|
* Fix host extractionAmmonite2017-01-221-1/+1
|
* Follow PEP-8 and add commentAmmonite2017-01-221-5/+8
|
* Add blank lines for lintAmmonite2017-01-211-0/+2
|
* Change class nameAmmonite2017-01-201-2/+2
|
* Get the the original header in requestheaders instead of requestAmmonite2017-01-201-19/+28
|
* organize examplesMaximilian Hils2016-11-211-0/+49
This commit is largely based on work by Thiago Arrais (@thiagoarrais) and Shane Bradfield (@l33tLumberjack). I wasn't really able to get their PR reasonably merged onto the latest master, so I reapplied their changes manually here and did some further improvements on that.