documentation/modules/auxiliary/scanner/misc/ibm_mq_login.md
use auxiliary/scanner/misc/ibm_mq_loginset channel <admin_channel_name_without_ssl>set queue_manager <queue_manager_name>set usernames_file <list_of_usernames>set rhosts <target_IP>set rport <port>runThis option should contain the path to a text file which contains a list of usernames that will be checked. One username per line.
This option should contain the name of the target Queue Manager.
This option should contain the name of a server-connection channel that will be used to connect to the Queue Manager.
This module can be used to identify a list of usernames that are allowed to connect to the Queue Manager. This module requires the name of a valid server-connection channel, the Queue Manager's name which can be obtained by running the following 2 modules:
auxiliary/scanner/misc/ibm_mq_channel_bruteauxiliary/scanner/misc/ibm_mq_enum
After identifying a valid username, MQ Explorer can be used to connect to the Queue Manager using the information gathered.msf auxiliary(scanner/misc/ibm_mq_login) > run
[*] 10.1.1.10:1416 - Found username: admin
[*] 10.1.1.10:1416 - Found username: test
[+] 10.1.1.10:1416 - 10.1.1.10:1416 Valid usernames found: ["admin", "test"]
[*] Scanned 1 of 1 hosts (100% complete)
[*] Auxiliary module execution completed