Skip to content

NSE Script for Nmap which verifies Minecraft servers using a handshake (0x02)

Notifications You must be signed in to change notification settings

Penguin2600/Minecraft-NSE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

====Usage====
1 ] Place minecraft.nse in /usr/share/nmap/scripts/

2 ] Run sudo nmap --script-updatedb

3 ] Run nmap like nmap --script="minecraft" [target] -p 25565 -Pn -n


====How does it work====

The script will use Nmap sockets to execute a "Handshake" with the minecraft server.

Client --> Server: 5 Bytes
|Type|Empty|Name Length|Empty|Name|
 0x02 0x00     0x01     0x00  0x00

The server then sends back a unique session ID which verifies that it is indeed a minecraft server.


About

NSE Script for Nmap which verifies Minecraft servers using a handshake (0x02)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages