This module sends out a udp broadcast packet querying for any Jenkins servers on the local network. Be advised that while this module does not identify the port on which Jenkins is running, the default port for Jenkins is 8080.
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use auxiliary/scanner/jenkins/jenkins_udp_broadcast_enum
msf auxiliary(jenkins_udp_broadcast_enum) > show actions
...actions...
msf auxiliary(jenkins_udp_broadcast_enum) > set ACTION < action-name >
msf auxiliary(jenkins_udp_broadcast_enum) > show options
...show and set options...
msf auxiliary(jenkins_udp_broadcast_enum) > run
Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.
– Jim O’Gorman | President, Offensive Security