wifi help message

This commit is contained in:
2026-08-23 17:53:55 +02:00
parent f6999e3e2a
commit c0bb6e9699

View File

@@ -1,10 +1,18 @@
if params.len < 1 or params[0] == "-h" or params[0] == "--help" then
current_program = get_shell.host_computer.File(program_path)
print("Usage: " + current_program.name + " [-l|-a|<ESSID>|<BSSID>]")
print(" -l list nearby networks")
print(" -a crack and connect to all networks")
print(" MyNetwork crack and connect by ESSID")
print(" AA:BB:CC:DD:EE:FF crack and connect by BSSID")
exit
end if
crypto = include_lib("/lib/crypto.so")
computer = get_shell.host_computer
cappath = current_path + "/file.cap"
info = "BSSID STRENGTH ESSID"
netname = ""
command = ""
if params.len > 0 then command = params[0]
command = params[0]
for letter in computer.network_devices
if letter == " " then
break
@@ -19,7 +27,7 @@ for net in nets
if command == "-l" then
info = info + "\n" + net
continue
else if command == essid or command == bssid or command == "" then
else if command == essid or command == bssid or command == "-a" then
crypto.airmon("start", netname)
crypto.aireplay(bssid, essid, floor(300000 / strength))
pwd = crypto.aircrack(cappath)