Apache ZooKeeper server service runs on TCP 2181 and by default, it is accessible without any authentication. This module targets Apache ZooKeeper service instances to extract information about the system environment, and service statistics.
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use auxiliary/gather/zookeeper_info_disclosure
msf auxiliary(zookeeper_info_disclosure) > show actions
...actions...
msf auxiliary(zookeeper_info_disclosure) > set ACTION < action-name >
msf auxiliary(zookeeper_info_disclosure) > show options
...show and set options...
msf auxiliary(zookeeper_info_disclosure) > 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