Browse Source

Renamed project to httphound

Fabrizio Furnari 9 months ago
parent
commit
f7170e34b1

+ 2 - 2
Makefile

@@ -4,10 +4,10 @@ install:
 	pip install -e .
 
 test:
-	proxytester -l debug --test-dir example_tests
+	httphound -l debug --test-dir example_tests
 
 lint:
-	flake8 proxytester/* example_tests/*
+	flake8 httphound/* example_tests/*
 
 clean:
 	find . -type d -name "__pycache__" -exec rm -rf {} +

+ 3 - 3
README.md

@@ -1,4 +1,4 @@
-# ProxyTester
+# Httphound
 
 A simple Python tool to test reverse proxy configuration
 
@@ -32,7 +32,7 @@ pip install .
 3. An HAProxy template must be present somewhere, or use the very basic one **haproxy.cfg.tpl**
 
 ```bash
-proxytester --test-dir example_tests/
+httphound --test-dir example_tests/
 ```
 
 ## Test Configuration Format
@@ -40,7 +40,7 @@ proxytester --test-dir example_tests/
 Each test is defined as Python class inheriting from ``BaseProxyTest``
 
 ```python
-from proxytester.main import BaseProxyTest, BackendConfig, ProxyConfig
+from httphound.main import BaseProxyTest, BackendConfig, ProxyConfig
 
 class BasicGetTest(BaseProxyTest):
     def __init__(self):

+ 1 - 1
example_tests/01-simple.py

@@ -1,5 +1,5 @@
 from pathlib import Path
-from proxytester.main import BaseProxyTest, ProxyConfig
+from httphound.main import BaseProxyTest, ProxyConfig
 
 
 class BasicPassTest(BaseProxyTest):

+ 1 - 1
example_tests/02-basic_header_check.py

@@ -1,5 +1,5 @@
 from pathlib import Path
-from proxytester.main import BaseProxyTest, BackendConfig, ProxyConfig
+from httphound.main import BaseProxyTest, BackendConfig, ProxyConfig
 
 
 class FailHeaderCheck(BaseProxyTest):

+ 1 - 1
example_tests/03-basic_header_regex.py

@@ -1,5 +1,5 @@
 from pathlib import Path
-from proxytester.main import BaseProxyTest, BackendConfig, ProxyConfig
+from httphound.main import BaseProxyTest, BackendConfig, ProxyConfig
 
 
 class FailHeaderRegexTest(BaseProxyTest):

+ 1 - 1
example_tests/04-backend_headers.py

@@ -1,5 +1,5 @@
 from pathlib import Path
-from proxytester.main import BaseProxyTest, ProxyConfig
+from httphound.main import BaseProxyTest, ProxyConfig
 
 
 class FailHeaderBackendTest(BaseProxyTest):

+ 1 - 1
example_tests/05-forbidden_headers.py

@@ -1,5 +1,5 @@
 from pathlib import Path
-from proxytester.main import BaseProxyTest, BackendConfig, ProxyConfig
+from httphound.main import BaseProxyTest, BackendConfig, ProxyConfig
 
 
 class FailForbiddenHeadersTest(BaseProxyTest):

+ 1 - 1
example_tests/06-backend_configuration.py

@@ -1,5 +1,5 @@
 from pathlib import Path
-from proxytester.main import BaseProxyTest, BackendConfig, ProxyConfig
+from httphound.main import BaseProxyTest, BackendConfig, ProxyConfig
 
 
 class ExampleBackendConfigurationTest(BaseProxyTest):

+ 1 - 1
example_tests/07-multiple_fail.py

@@ -1,5 +1,5 @@
 from pathlib import Path
-from proxytester.main import BaseProxyTest, BackendConfig, ProxyConfig
+from httphound.main import BaseProxyTest, BackendConfig, ProxyConfig
 
 
 class FailExampleMultipleFailTest(BaseProxyTest):

+ 1 - 1
example_tests/08-errors.py

@@ -1,5 +1,5 @@
 from pathlib import Path
-from proxytester.main import BaseProxyTest, ProxyConfig
+from httphound.main import BaseProxyTest, ProxyConfig
 
 
 class ErroredTest(BaseProxyTest):