Skip to content

Commit 2565179

Browse files
committed
Fixed a small bug
1 parent c323239 commit 2565179

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

wifi_dos_type1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def check_for_essid(essid, lst):
125125
# The output is an open file that can be accessed by other programs.
126126
# We run the iwconfig command to look for wireless interfaces.
127127
# Discover access points
128-
discover_access_points = subprocess.Popen(["sudo", "airodump-ng","-w" ,"file","--write-interval", "1","--output-format", "csv", check_wifi_result[0] + "mon"], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
128+
discover_access_points = subprocess.Popen(["sudo", "airodump-ng","-w" ,"file","--write-interval", "1","--output-format", "csv", hacknic + "mon"], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
129129

130130
# Loop that shows the wireless access points. We use a try except block and we will quit the loop by pressing ctrl-c.
131131
try:

wifi_dos_type2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def check_for_essid(essid, lst):
120120
# The Popen method opens a pipe from a command. The output is an open file that can be accessed by other programs.
121121
# We run the iwconfig command to look for wireless interfaces.
122122
# Discover access points
123-
discover_access_points = subprocess.Popen(["sudo", "airodump-ng","-w" ,"file","--write-interval", "1","--output-format", "csv", check_wifi_result[0] + "mon"], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
123+
discover_access_points = subprocess.Popen(["sudo", "airodump-ng","-w" ,"file","--write-interval", "1","--output-format", "csv", hacknic + "mon"], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
124124

125125
# Loop that shows the wireless access points. We use a try except block and we will quit the loop by pressing ctrl-c.
126126
try:

0 commit comments

Comments
 (0)