Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb6bd25c

Browse files
authored
Merge pull requestdavidbombal#8 from Zubayer204/main
Fixed a small bug in discovering access points
2 parents8ae5b10 +2565179 commitb6bd25c

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
@@ -127,7 +127,7 @@ def check_for_essid(essid, lst):
127127
# The output is an open file that can be accessed by other programs.
128128
# We run the iwconfig command to look for wireless interfaces.
129129
# Discover access points
130-
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)
130+
discover_access_points=subprocess.Popen(["sudo","airodump-ng","-w" ,"file","--write-interval","1","--output-format","csv",hacknic+"mon"],stdout=subprocess.DEVNULL,stderr=subprocess.DEVNULL)
131131

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

‎wifi_dos_type2.py

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

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp