Basic bash script to automate CTF(e.g.,hackthebox,tryhackme) initialization.
ctfrecon writes to /etc/hosts so it is recommended to run it as root.
Usage: sudo ./ctfrecon.sh [IP] [DIRECTORY NAME] [PLATFORM (e.g., hackthebox,thm)] [WORDLIST]
- Fix ugly code.
- Make input interchangeable.
- Have error checks in input.
Feedbacks and suggestions are welcome!
- Added colorized output.
- Added directory check. (see line 53)
- Added ASCII banner.
- Added
/etc/hosts
IP check.