Describe the bug
The help/usage dialogs incorrectly show [target(s)] as a positional parameter at the end of the command.
Currently having the target positionally at the end, it is interpreted as part of the previous parameter.
To Reproduce
Steps to reproduce the behavior:
run crackmapexec mssql -u foo -p bar 127.0.0.1
Expected behavior
CrackMapExec will attempt to authenticate to MSSQL on 127.0.0.1 with the username foo and the password bar
Screenshots
Crackmapexec info
OS: Kali
Version of CME: 5.2.2-0kali1
Installed from apt or using latest release? Installed from Kali apt repository
Hey ! It's just the way argparse print positional argument in the help message but you can use it like this :
crackmapexec mssql 127.0.0.1 -u foo -p bar or crackmapexec mssql -u foo -p bar -- 127.0.0.1
Describe the bug The help/usage dialogs incorrectly show [target(s)] as a positional parameter at the end of the command. Currently having the target positionally at the end, it is interpreted as part of the previous parameter.
To Reproduce Steps to reproduce the behavior:
crackmapexec mssql -u foo -p bar 127.0.0.1
Expected behavior CrackMapExec will attempt to authenticate to MSSQL on 127.0.0.1 with the username foo and the password bar
Screenshots
Crackmapexec info
Additional context