Nettacker/nettacker/core/lib
Achintya Jai e450c819d8
[feature] add custom headers for http requests via CLI and remove sensitive headers before adding it to the database (#1107)
* [feature] add custom headers for http requests via CLI. Removes sensitive info before logging in the database

* better help message

* input validation - coderabbit changes

* ruff fixes

* allow for header chaining with multiple -H flags and for complex headers involving comma separated values

* test case for http.py that include using headers. Added pytest-asyncio for the same

* ruff fixes

* formatting changes suggested by coderabbit

* docs update

* correct usage and en.yaml file
2025-07-26 20:30:05 +00:00
..
__init__.py Change the entry point name/location 2024-08-11 11:31:18 -07:00
base.py [feature] add custom headers for http requests via CLI and remove sensitive headers before adding it to the database (#1107) 2025-07-26 20:30:05 +00:00
ftp.py Change the entry point name/location 2024-08-11 11:31:18 -07:00
ftps.py Change the entry point name/location 2024-08-11 11:31:18 -07:00
http.py [feature] add custom headers for http requests via CLI and remove sensitive headers before adding it to the database (#1107) 2025-07-26 20:30:05 +00:00
pop3.py Change the entry point name/location 2024-08-11 11:31:18 -07:00
pop3s.py Change the entry point name/location 2024-08-11 11:31:18 -07:00
smb.py feature: add smb_brute command (#1070) 2025-06-09 15:49:15 +00:00
smtp.py Change the entry point name/location 2024-08-11 11:31:18 -07:00
smtps.py Change the entry point name/location 2024-08-11 11:31:18 -07:00
socket.py handle OSError if port not present in /etc/services (#1093) 2025-07-09 14:04:30 +00:00
ssh.py refactor: use class attribute for SSH and Telnet client instantiation (#1068) 2025-05-08 00:34:32 +00:00
ssl.py Handle socket.gaierror when retrieving server certificate (#1069) 2025-05-08 21:30:48 +00:00
telnet.py refactor: use class attribute for SSH and Telnet client instantiation (#1068) 2025-05-08 00:34:32 +00:00