diff options
Diffstat (limited to 'pathod')
-rw-r--r-- | pathod/CHANGELOG | 83 | ||||
-rw-r--r-- | pathod/MANIFEST.in | 2 | ||||
-rwxr-xr-x | pathod/bin/pathoc | 6 | ||||
-rwxr-xr-x | pathod/bin/pathod | 6 | ||||
-rw-r--r-- | pathod/examples/libpathod_pathoc.py | 7 | ||||
-rw-r--r-- | pathod/examples/test_context.py | 23 | ||||
-rw-r--r-- | pathod/examples/test_setup.py | 31 | ||||
-rw-r--r-- | pathod/examples/test_setupall.py | 39 |
8 files changed, 0 insertions, 197 deletions
diff --git a/pathod/CHANGELOG b/pathod/CHANGELOG deleted file mode 100644 index 2de445b4..00000000 --- a/pathod/CHANGELOG +++ /dev/null @@ -1,83 +0,0 @@ -7 November 2014: pathod 0.11: - - * Hugely improved SSL support, including dynamic generation of certificates - using the mitproxy cacert - * pathoc -S dumps information on the remote SSL certificate chain - * Big improvements to fuzzing, including random spec selection and memoization to avoid repeating randomly generated patterns - * Reflected patterns, allowing you to embed a pathod server response specification in a pathoc request, resolving both on client side. This makes fuzzing proxies and other intermediate systems much better. - - -25 August 2013: pathod 0.9.2: - - * Adapt to interface changes in netlib - - -15 May 2013: pathod 0.9 (version synced with mitmproxy): - - * Pathod proxy mode. You can now configure clients to use pathod as an - HTTP/S proxy. - - * Pathoc proxy support, including using CONNECT to tunnel directly to - targets. - - * Pathoc client certificate support. - - * API improvements, bugfixes. - - -16 November 2012: pathod 0.3: - - A release focusing on shoring up our fuzzing capabilities, especially with - pathoc. - - * pathoc -q and -r options, output full request and response text. - - * pathod -q and -r options, add full request and response text to pathod's - log buffer. - - * pathoc and pathod -x option, makes -q and -r options log in hex dump - format. - - * pathoc -C option, specify response codes to ignore. - - * pathoc -T option, instructs pathoc to ignore timeouts. - - * pathoc -o option, a one-shot mode that exits after the first non-ignored - response. - - * pathoc and pathod -e option, which explains the resulting message by - expanding random and generated portions, and logging a reproducible - specification. - - * Streamline the specification langauge. HTTP response message is now - specified using the "r" mnemonic. - - * Add a "u" mnemonic for specifying User-Agent strings. Add a set of - standard user-agent strings accessible through shortcuts. - - * Major internal refactoring and cleanup. - - * Many bugfixes. - - -22 August 2012: pathod 0.2: - - * Add pathoc, a pathological HTTP client. - - * Add libpathod.test, a truss for using pathod in unit tests. - - * Add an injection operator to the specification language. - - * Allow Python escape sequences in value literals. - - * Allow execution of requests and responses from file, using the new + operator. - - * Add daemonization to Pathod, and make it more robust for public-facing use. - - * Let pathod pick an arbitrary open port if -p 0 is specified. - - * Move from Tornado to netlib, the network library written for mitmproxy. - - * Move the web application to Flask. - - * Massively expand the documentation. diff --git a/pathod/MANIFEST.in b/pathod/MANIFEST.in deleted file mode 100644 index a83fa08f..00000000 --- a/pathod/MANIFEST.in +++ /dev/null @@ -1,2 +0,0 @@ -graft pathod -recursive-exclude * *.pyc *.pyo *.swo *.swp *.map
\ No newline at end of file diff --git a/pathod/bin/pathoc b/pathod/bin/pathoc deleted file mode 100755 index ab62d631..00000000 --- a/pathod/bin/pathoc +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env python - -from pathod import pathoc_cmdline as cmdline - -if __name__ == "__main__": - cmdline.go_pathoc() diff --git a/pathod/bin/pathod b/pathod/bin/pathod deleted file mode 100755 index af0c118b..00000000 --- a/pathod/bin/pathod +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env python - -from pathod import pathod_cmdline as cmdline - -if __name__ == "__main__": - cmdline.go_pathod() diff --git a/pathod/examples/libpathod_pathoc.py b/pathod/examples/libpathod_pathoc.py deleted file mode 100644 index 587c0e4c..00000000 --- a/pathod/examples/libpathod_pathoc.py +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/env python -from pathod import pathoc - -p = pathoc.Pathoc(("google.com", 80)) -p.connect() -print p.request("get:/") -print p.request("get:/foo") diff --git a/pathod/examples/test_context.py b/pathod/examples/test_context.py deleted file mode 100644 index 8db4331f..00000000 --- a/pathod/examples/test_context.py +++ /dev/null @@ -1,23 +0,0 @@ -import requests -from pathod import test - - -def test_simple(): - """ - Testing the requests module with - a pathod context manager. - """ - # Start pathod in a separate thread - with test.Daemon() as d: - # Get a URL for a pathod spec - url = d.p("200:b@100") - # ... and request it - r = requests.put(url) - - # Check the returned data - assert r.status_code == 200 - assert len(r.content) == 100 - - # Check pathod's internal log - log = d.last_log()["request"] - assert log["method"] == "PUT" diff --git a/pathod/examples/test_setup.py b/pathod/examples/test_setup.py deleted file mode 100644 index 5dbc456d..00000000 --- a/pathod/examples/test_setup.py +++ /dev/null @@ -1,31 +0,0 @@ -import requests -from pathod import test - - -class Test: - - """ - Testing the requests module with - a pathod instance started for - each test. - """ - - def setup(self): - self.d = test.Daemon() - - def teardown(self): - self.d.shutdown() - - def test_simple(self): - # Get a URL for a pathod spec - url = self.d.p("200:b@100") - # ... and request it - r = requests.put(url) - - # Check the returned data - assert r.status_code == 200 - assert len(r.content) == 100 - - # Check pathod's internal log - log = self.d.last_log()["request"] - assert log["method"] == "PUT" diff --git a/pathod/examples/test_setupall.py b/pathod/examples/test_setupall.py deleted file mode 100644 index cb84b7b2..00000000 --- a/pathod/examples/test_setupall.py +++ /dev/null @@ -1,39 +0,0 @@ -import requests -from pathod import test - - -class Test: - - """ - Testing the requests module with - a single pathod instance started - for the test suite. - """ - @classmethod - def setup_class(cls): - cls.d = test.Daemon() - - @classmethod - def teardown_class(cls): - cls.d.shutdown() - - def setup(self): - # Clear the pathod logs between tests - self.d.clear_log() - - def test_simple(self): - # Get a URL for a pathod spec - url = self.d.p("200:b@100") - # ... and request it - r = requests.put(url) - - # Check the returned data - assert r.status_code == 200 - assert len(r.content) == 100 - - # Check pathod's internal log - log = self.d.last_log()["request"] - assert log["method"] == "PUT" - - def test_two(self): - assert not self.d.log() |