pentest_helper
Quick scripts that helps me during a pentest assessment and OSCP exams to initiate folder structure and running basic commands like nmap.
Instalation
sudo PIPX_BIN_DIR=/usr/local/bin pipx install pentest_helper
Usage
Initiating folder structure
# Create a new mission structure
pentest_helper init oscp_boxes --hosts 1.1.1.1 2.2.2.2
# Showing the created structure
tree oscp_boxes/
oscp_boxes/
├── cmd_outputs
├── custom_rockyou.txt
├── exclude_scope.txt
├── hosts
│ ├── 1.1.1.1
│ │ ├── loots
│ │ ├── ntlm_hashes.txt
│ │ ├── passwords.txt
│ │ ├── scans
│ │ │ └── nmap
│ │ ├── userntlmhashes.txt
│ │ ├── userpass.txt
│ │ ├── users.txt
│ │ └── wordlist.txt
│ └── 2.2.2.2
│ ├── loots
│ ├── ntlm_hashes.txt
│ ├── passwords.txt
│ ├── scans
│ │ └── nmap
│ ├── userntlmhashes.txt
│ ├── userpass.txt
│ ├── users.txt
│ └── wordlist.txt
├── ip
│ └── all.ip.txt
├── loots
├── notes.md
├── ntlm_hashes.txt
├── passwords.txt
├── scans
│ └── nmap
├── scope.txt
├── screenshots
├── userntlmhashes.txt
├── userpass.txt
├── users.txt
└── wordlist.txt
15 directories, 23 files
# Adding a new host
cd oscp_boxes
pentest_helper init_host 3.3.3.3
# Show new structure
tree
├── cmd_outputs
├── custom_rockyou.txt
├── exclude_scope.txt
├── hosts
│ ├── 1.1.1.1
│ │ ├── loots
│ │ ├── ntlm_hashes.txt
│ │ ├── passwords.txt
│ │ ├── scans
│ │ │ └── nmap
│ │ ├── userntlmhashes.txt
│ │ ├── userpass.txt
│ │ ├── users.txt
│ │ └── wordlist.txt
│ ├── 2.2.2.2
│ │ ├── loots
│ │ ├── ntlm_hashes.txt
│ │ ├── passwords.txt
│ │ ├── scans
│ │ │ └── nmap
│ │ ├── userntlmhashes.txt
│ │ ├── userpass.txt
│ │ ├── users.txt
│ │ └── wordlist.txt
│ └── 3.3.3.3
│ ├── loots
│ ├── ntlm_hashes.txt
│ ├── passwords.txt
│ ├── scans
│ │ └── nmap
│ ├── userntlmhashes.txt
│ ├── userpass.txt
│ ├── users.txt
│ └── wordlist.txt
├── ip
│ └── all.ip.txt
├── loots
├── notes.md
├── ntlm_hashes.txt
├── passwords.txt
├── scans
│ └── nmap
├── scope.txt
├── screenshots
├── userntlmhashes.txt
├── userpass.txt
├── users.txt
└── wordlist.txt
19 directories, 29 files
Metadata
Release files for pentest-helper 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pentest_helper-0.0.2.tar.gz | 11.4 kB | Without provenance | Details for pentest_helper-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pentest_helper-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for pentest_helper-0.0.2-py3-none-any.whl |
Total release size: 22.7 kB
Release files / pentest_helper-0.0.2.tar.gz
| Download URL | pentest_helper-0.0.2.tar.gz |
|---|---|
| Size | 11.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
235e36c5d8358368ec911fcf71e8d2d35dd6f05d61d3c60c5799334a99f48ebe
|
|
BLAKE2b-256 checksum How to use checksums |
8ba8d12de0636eefab3bef4f61a814f233c2c924cdda8edad8eed0b8aa6525ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.4.2 requests/2.31.0 setuptools/49.2.1 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10
|
Release files / pentest_helper-0.0.2-py3-none-any.whl
| Download URL | pentest_helper-0.0.2-py3-none-any.whl |
|---|---|
| Size | 11.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a888f3a5aea1aca4e526e10cb9c487bf44de6b09b3c8aa73854ad923f727a444
|
|
BLAKE2b-256 checksum How to use checksums |
cb60ee92be5358488a2d2645a8265125df8af95904b7f37ef7ecc7055baf6e6d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.4.2 requests/2.31.0 setuptools/49.2.1 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10
|
Security for pentest-helper 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.