Nmap broadcast-jenkins-discover NSE Script
This page contains detailed information about how to use the broadcast-jenkins-discover NSE script. For list of all NSE scripts, visit the Nmap NSE Library.
Select: |
---|
Script Overview
Script source code: https://github.com/nmap/nmap/tree/master/scripts/broadcast-jenkins-discover.nse
Script categories: discovery, broadcast, safe
Target service / protocol: -
Target network port(s): -
List of CVEs: -
Script Description
The broadcast-jenkins-discover.nse script discovers Jenkins servers on a LAN by sending a discovery broadcast probe.
For more information about Jenkins auto discovery, see:
Broadcast-jenkins-discover NSE Script Arguments
This is a full list of arguments supported by the broadcast-jenkins-discover.nse script:
broadcast-jenkins.addressAddress to which the probe packet is sent. (default: 255.255.255.255)
broadcast-jenkins.timeoutSocket timeout (default: 5s)
- - -
To use these script arguments, add them to the Nmap command line using the --script-args arg1=value,[arg2=value,..]
syntax. For example:
nmap --script=broadcast-jenkins-discover --script-args broadcast-jenkins.address=value,broadcast-jenkins.timeout=value <target>
Broadcast-jenkins-discover NSE Script Example Usage
Here's an example of how to use the broadcast-jenkins-discover.nse script:
nmap --script broadcast-jenkins-discover
nmap --script broadcast-jenkins-discover --script-args timeout=15s
Broadcast-jenkins-discover NSE Script Example Output
Here's a sample output from the broadcast-jenkins-discover.nse script:
Pre-scan script results:
| broadcast-jenkins:
| Version: 2.60.2; Server ID: d5e31b7a9d69cf3c89cc799c23199760; Slave Port: 35928
|_ Version: 2.60.2; Server ID: b98e8e1b862c3eecb14e8be0028cf4ee; Slave Port: 45435
Broadcast-jenkins-discover NSE Script Example XML Output
There is no sample XML output for this module. However, by providing the -oX <file>
option, Nmap will produce a XML output and save it in the file.xml
file.
Author
- Brendan Coles
References
- https://nmap.org/nsedoc/scripts/broadcast-jenkins-discover.html
- https://github.com/nmap/nmap/tree/master/scripts/broadcast-jenkins-discover.nse
- https://wiki.jenkins.io/display/JENKINS/Auto-discovering+Jenkins+on+the+network
See Also
Related NSE scripts to the broadcast-jenkins-discover.nse script:
- broadcast-ataoe-discover.nse
- broadcast-avahi-dos.nse
- broadcast-bjnp-discover.nse
- broadcast-db2-discover.nse
- broadcast-dhcp6-discover.nse
- broadcast-dhcp-discover.nse
- broadcast-dns-service-discovery.nse
- broadcast-dropbox-listener.nse
- broadcast-eigrp-discovery.nse
- broadcast-hid-discoveryd.nse
- broadcast-igmp-discovery.nse
- broadcast-listener.nse
- broadcast-ms-sql-discover.nse
- broadcast-netbios-master-browser.nse
- broadcast-networker-discover.nse
- broadcast-novell-locate.nse
- broadcast-ospf2-discover.nse
- broadcast-pc-anywhere.nse
- broadcast-pc-duo.nse
- broadcast-pim-discovery.nse
- broadcast-ping.nse
- broadcast-pppoe-discover.nse
- broadcast-rip-discover.nse
- broadcast-ripng-discover.nse
- broadcast-sonicwall-discover.nse
- broadcast-sybase-asa-discover.nse
- broadcast-tellstick-discover.nse
- broadcast-upnp-info.nse
- broadcast-versant-locate.nse
- broadcast-wake-on-lan.nse
- broadcast-wpad-discover.nse
- broadcast-wsdd-discover.nse
- broadcast-xdmcp-discover.nse
Visit Nmap NSE Library for more scripts.
The broadcast-jenkins-discover.nse script may fail with the following error messages. Check for the possible causes by using the code snippets highlighted below found in the script source code. This can often times help in identifying the root cause of the problem.
Failed to send broadcast probe
Here is a relevant code snippet related to the "Failed to send broadcast probe" error message:
49: -- send two packets, just in case
50: local probe = rand.random_string(10)
51: for i=1,2 do
52: local status = socket:sendto(host, port, probe)
53: if ( not(status) ) then
54: return stdnse.format_output(false, "Failed to send broadcast probe")
55: end
56: end
57:
58: local timeout = tonumber(arg_timeout) or ( 20 / ( nmap.timing_level() + 1 ) )
59: local results = {}
Version
This page has been created based on Nmap version 7.92.
Go back to menu.