Bash script for initial scans on HTB Machine
-
All HackTheBox Player know, the 1st part of enumeration is always the same.
-
I'm a IT guy, so I'm lazy.
-
This script will do all the 1st stuff for you. Just run and wait...
-
Feel free to use, share, improve. Just let me know ^^
Chapters | Description |
---|---|
Requirements | Requirements |
Features | What's inside |
Install | How to Install |
Usage | How to Use |
Changelog | Does it change sometimes ? |
TODO | What's next |
Acknowledgments | Kudos to these people |
- Full TCP / UDP scan
- Service scan on full TCP scan result
- Gobuster / dirb if Webserver Found (only on p 80 from now)
- Can replay without full rescan (check if files exist)
Download script
$ git clone https://github.com/ITPPA/ScanHTB.git
create box folder
$ mkdir box && cd box/
run script
$ /path/to/script/scanhtb.sh <LAST DIGIT HTB BOX IP>
# Exemple pour Arctic box (10.10.10.11)
$ /path/to/script/scanhtb.sh 11
Usage: ./scanhtb.sh [OPTION] ip
Perform initial scans on a new Hack the Box machine.
Options:
-h display this help message
-t perform TCP scans (default)
-u perform UDP scans
Parameters:
ip Last digit of IP address (10.10.10.X)
v0.1 (April 2020)
------
First Release
* Full TCP / UDP scan [1-65535]
* Service scan on full TCP scan result
* Gobuster / dirbuster if Webserver Found (only on p 80 from now)
* Can replay without full rescan (check if files exist)
- add port 443 for web scanning
- clean code
- put all results in one file
- a lots of stuff
This script was made based on calebstewart init-machine script
-
calebstewart init-machine - Thank's
-
HTBFRTeam - My Team