Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/berchj/nmap-bash-script
This script provides a basic scan using nmap and xsltproc
https://github.com/berchj/nmap-bash-script
Last synced: 17 days ago
JSON representation
This script provides a basic scan using nmap and xsltproc
- Host: GitHub
- URL: https://github.com/berchj/nmap-bash-script
- Owner: berchj
- Created: 2024-05-12T21:24:01.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2024-05-15T19:08:18.000Z (6 months ago)
- Last Synced: 2024-10-08T18:41:40.972Z (about 1 month ago)
- Language: Shell
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nmap-bash-script
## this script process a nmap scan using the following options
-Pn - option in Nmap stands for "No Ping."
--open - scan open ports
-A - option in Nmap is a shortcut for enabling several advanced features in a single command. It stands for "Aggressive Scan" and combines various options to provide more comprehensive information about the target system. When you use -A, Nmap performs the following actions:
OS Detection (-O): Nmap attempts to determine the operating system of the target by analyzing various network characteristics, such as TCP/IP stack behavior, responses to specific probes, and other factors.
Service Version Detection (-sV): Similar to using the -sV option, Nmap attempts to determine the versions of the services running on open ports.
Script Scanning (-sC): Nmap runs a set of default NSE scripts against the discovered ports to gather additional information about the services, potential vulnerabilities, and misconfigurations.
-T5 - option in Nmap is used to specify the timing template for the scan, specifically setting it to aggressive timing.
-v for verbose process
## You can also edit this script to change the nmap sentence !
sudo nmap -Pn --open -sC -sV -A -T5 $targetIp -oA nmap_scan -v
## xsltproc
xslproc is used to format the output of the nmap sentence into a html file