Skip to main content

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)

Source distribution for pentest-helper 0.0.2
File Size Uploaded
pentest_helper-0.0.2.tar.gz 11.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pentest-helper 0.0.2
File Interpreter ABI Platform
pentest_helper-0.0.2-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page