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

Commitde76901

Browse files
committed
fix issue on argparser in fake access point tutorial
1 parenta73567d commitde76901

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎scapy/fake-access-point/fake_access_point.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def send_beacon(ssid, mac, infinite=True):
3434

3535
parser=argparse.ArgumentParser(description="Fake Access Point Generator")
3636
parser.add_argument("interface",default="wlan0mon",help="The interface to send beacon frames with, must be in monitor mode")
37-
parser.add_argument("-n","--access-points",dest="n_ap",help="Number of access points to be generated")
37+
parser.add_argument("-n","--access-points",type=int,dest="n_ap",help="Number of access points to be generated")
3838
args=parser.parse_args()
3939
n_ap=args.n_ap
4040
iface=args.interface

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp