Skip to content

Zeta-0x00/Ports-Mapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ports Mapper

Simple tool for port scanning and port service enumeration.

The reason for this tool is mainly to facilitate moments in security audits where it is known that map cannot be used for various reasons on the network.

Dependencies

  • nc
  • ping
  • pbcopy (MacOS) | xclip (Linux)
  • shuf

Usage

Help menu:

~$ chmod +x mapper.sh
~$ ./mapper.sh -h
[✓] Usage: ./mapper.sh -i <host> -p <ports> [options]

	-h	Show this help menu

	-i	Host to scan

	-p	Ports to scan
		[!] example: -p 80,53,443,1433
		-p-	Scan all ports

	-o	Output to file

	-x	Copy ports to clipboard

	-n	No ping

	-t	Max threads

	-u	UDP scan

	-s	Service identifier

Exmple

~$ ./mapper.sh -i 10.10.43.2 -p- -s -n -x -t 5000
[] Max threads: 5000

[!] No ping

[] Host is Mac

[!] No output

[] Service identifier

[] TCP scan

[] Port 80
[] Port 53

[!] Identifying service...

[!] Puerto 53 -> (domain) open
[!] Puerto 80 -> (http) open

[] Done


[!] Copying ports to clipboard...

[] Ports copied to clipboard
[] Done
~$ ./mapper.sh -i 10.10.43.2 -p- -s -u -o output.txt

[] Default Max threads: 200

[] Output to file: output.txt

[] Possible Unix/Linux, TTL = 64.

[] Host is Mac

[!] No output

[] Service identifier

[] UDP scan

[] Port 8080

[!] Identifying service...

[!] Puerto 8080 -> (http) open

[] Done

About

Little simple bash script to enum machines ports

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages