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

Commit2565179

Browse files
committed
Fixed a small bug
1 parentc323239 commit2565179

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)

[8]ページ先頭

©2009-2025 Movatter.jp