Name of Bug
Wifite2 fails to execute due to unsupported command-line arguments
What Happened?
I tested the Wifite2 tool using the following configuration:
Target Network: TestNetwork
Custom Dictionary Path: /usr/share/wordlists/rockyou.txt
Timeout: 60 seconds
WPS Only: Enabled
After clicking Start Wifite2, the application correctly requested administrator authentication.
After entering the administrator password, Wifite2 failed to execute and displayed the following error:
wifite: error: unrecognized arguments: TestNetwork --timeout 60
Although the scan did not start, the application displayed:
Process completed successfully.
This is misleading because the scan never starts successfully.
Expected Result
- With the chosen configuration, Wifite2 should run successfully.
- A legitimate Wifite2 command ought to be produced by the GUI.
- Instead of showing that the process was successful, the GUI should show a suitable error message if the command fails.
Suggested Fix
- Before running Wifite2, make sure the command-line options are correct.
- From the chosen options, create the proper Wifite2 command syntax.
- Find execution errors and appropriately report them.
- When execution fails, replace the deceptive "Process completed successfully." message with a suitable failure message.
Steps to Reproduce
- Open the Deakin Detonator Toolkit.
- Open Tools → Wifite2.
- Enter TestNetwork as the Target Network.
- Enter /usr/share/wordlists/rockyou.txt as the Custom Dictionary Path.
- Set Timeout to 60.
- Enable WPS Only.
- Click Start Wifite2.
- Enter the administrator password.
- Observe the output.
Observed Output
wifite: error: unrecognized arguments: TestNetwork --timeout 60
Process completed successfully.
The scan did not start even though the application reported "Process completed successfully."
Name of Bug
Wifite2 fails to execute due to unsupported command-line arguments
What Happened?
I tested the Wifite2 tool using the following configuration:
Target Network: TestNetwork
Custom Dictionary Path: /usr/share/wordlists/rockyou.txt
Timeout: 60 seconds
WPS Only: Enabled
After clicking Start Wifite2, the application correctly requested administrator authentication.
After entering the administrator password, Wifite2 failed to execute and displayed the following error:
wifite: error: unrecognized arguments: TestNetwork --timeout 60
Although the scan did not start, the application displayed:
Process completed successfully.
This is misleading because the scan never starts successfully.
Expected Result
Suggested Fix
Steps to Reproduce
Observed Output
wifite: error: unrecognized arguments: TestNetwork --timeout 60
Process completed successfully.
The scan did not start even though the application reported "Process completed successfully."