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

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.1.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

pentest_helper-0.0.1-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pentest_helper-0.0.1.tar.gz
  • Upload date:
  • Size: 11.0 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.1.tar.gz
Algorithm Hash digest
SHA256 4367befa06eb7d7bd8e61c378c9b3308be23045a33ba33855436f1f7d410d427
MD5 e55b6f566f6be74e61395414b5ec2104
BLAKE2b-256 dd7e8238f3d9a2785b0e7f8665c9358b4e201d0165ae3e17f5c4942183efff37

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pentest_helper-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 10.9 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b763fa3d2875f01707150bf437148d97e573fd5dc5ec0c728059c9b5f1456b40
MD5 997db79750f7c0fd9418df072a3d8ad0
BLAKE2b-256 bb1625ef26b33b54067573edc2ae31717e20256f4864e305ed4d3581108b28d0

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