One Hat Cyber Team
Your IP :
10.30.1.1
Server IP :
103.148.201.5
Server :
Linux web-olt 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64
Server Software :
Apache/2.4.52 (Ubuntu)
PHP Version :
8.1.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
proc
/
6955
/
root
/
usr
/
share
/
nmap
/
scripts
/
View File Name :
stun-version.nse
local nmap = require "nmap" local shortport = require "shortport" local stun = require "stun" local stdnse = require "stdnse" description = [[ Sends a binding request to the server and attempts to extract version information from the response, if the server attribute is present. ]] --- -- @usage -- nmap -sU -sV -p 3478 <target> -- @output -- PORT STATE SERVICE VERSION -- 3478/udp open stun Vovida.org 0.96 -- author = "Patrik Karlsson" license = "Same as Nmap--See https://nmap.org/book/man-legal.html" categories = {"version"} portrule = shortport.version_port_or_service(3478, "stun", "udp") local function fail(err) return stdnse.format_output(false, err) end action = function(host, port) local helper = stun.Helper:new(host, port) local status = helper:connect() if ( not(status) ) then return fail("Failed to connect to server") end local status, result = helper:getVersion() if ( not(status) ) then return fail("Failed to retrieve external IP") end port.version.name = "stun" port.version.product = result nmap.set_port_state(host, port, "open") nmap.set_port_version(host, port) end