Skip to main content

Help init and run basic commands during a pentest assessment

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pentest_helper-0.0.2.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

pentest_helper-0.0.2-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file pentest_helper-0.0.2.tar.gz.

File metadata

  • Download URL: pentest_helper-0.0.2.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for pentest_helper-0.0.2.tar.gz
Algorithm Hash digest
SHA256 235e36c5d8358368ec911fcf71e8d2d35dd6f05d61d3c60c5799334a99f48ebe
MD5 799fd800f98ae5ef2b82a1771116dc9f
BLAKE2b-256 8ba8d12de0636eefab3bef4f61a814f233c2c924cdda8edad8eed0b8aa6525ce

See more details on using hashes here.

File details

Details for the file pentest_helper-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: pentest_helper-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for pentest_helper-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a888f3a5aea1aca4e526e10cb9c487bf44de6b09b3c8aa73854ad923f727a444
MD5 e9cdadefad98dc2ceabc2a7bc508cd95
BLAKE2b-256 cb60ee92be5358488a2d2645a8265125df8af95904b7f37ef7ecc7055baf6e6d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page