Skip to content

Nmap Scan

7h30th3r0n3 edited this page Jan 29, 2026 · 3 revisions

🛰️ Nmap Scan


Overview

RaspyJack includes multiple Nmap profiles for fast reconnaissance. Results are saved in loot/Nmap/ and can be posted to Discord as file attachments.


Tools Used

  • nmap (scan engine)
  • ip / netifaces (target network discovery)
  • Discord webhook (optional reporting)

How It Works

  1. RaspyJack selects the best interface (eth0 or wlanX) and lets you override.
  2. It detects the local network and offers mask overrides (/24, /16, /8) when needed.
  3. It runs Nmap with the chosen profile and saves output to a timestamped file.
  4. If a webhook is configured, it sends the file to Discord asynchronously.

Scan Profiles

Label Nmap Arguments
Quick Scan -T5
Full Port Scan -p-
Service Scan -T5 -sV
Vulnerability -T5 -sV --script vuln
Full Vulns -p- -sV --script vuln
OS Scan -T5 -A
Intensive Scan -O -p- --script vuln
Stealth SYN Scan -sS -T4
UDP Scan -sU -T4
Ping Sweep -sn
Top100 Scan --top-ports 100 -T4
HTTP Enumeration -p 80,81,443,8080,8443 -sV --script http-enum,http-title

Setup / Requirements

  • Nmap is installed by install_raspyjack.sh.
  • An active interface with an IP is required.

Output

  • Files are written to loot/Nmap/<scan_name>_<timestamp>.txt.
  • View from Read file → Nmap.

❓ FAQ

  • Q: Why does the scan show “No network”?
    A: The selected interface has no IP. Connect ethernet or use WiFi Manager to connect a wlanX interface.
  • Q: Can I change the scan profiles?
    A: Yes, edit the `SCANS` dict in `raspyjack.py` and restart the UI.
  • Q: Why is Discord empty?
    A: Ensure `discord_webhook.txt` contains a valid URL and restart RaspyJack.
  • Q: I get “nmap: command not found”.
    A: Run the installer or install manually: sudo apt install nmap.
  • Q: The scan takes forever or hangs.
    A: Try a smaller subnet (/24) or use Ping Sweep to validate hosts first.
  • Q: “Failed to determine route” / “No route to host”.
    A: Your interface has no default gateway. Use WiFi Manager or plug ethernet.

Clone this wiki locally