r/bashβ€’
AlienTec1908

I wrote a Bash wrapper for Nmap & Gobuster with HTML reporting (AlienTec Recon V2.0)

submission

Hi r/bash,

I've been working on a project to practice my scripting skills and automate my daily pentesting workflow. I just released Version 2.0 and would love some feedback on the code and logic.

What is it?

It's a native Bash script that orchestrates Nmap (Port scanning) and Gobuster (Directory forcing) into a single flow. It parses the output and generates a clean HTML report at the end.

The Script Features:

  • 🐧 Pure Bash: Runs natively on Linux (Kali/Parrot) without Python dependencies.
  • πŸš€ Orchestration: Handles background processes for scanning.
  • πŸ“„ Reporting: Uses cat and heredocs to generate a styled HTML report.
  • πŸ” Logic: Automatically detects if the target is internal or external to adjust scan intensity.

Repository: https://github.com/AlienTec1908/AlienTec-Recon-Tool

I'm open to code reviews! If you see any bad practices or ways to optimize the loops/arrays, let me know.

Thanks!

Posted Dec 4, 2025, 9:49 PM UTC

03
Loading comments…