Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
iwlist wlan0 > this will list the wifi points in your area
aireplay -b [target_bssid] -e [target_essid]
aircrack file.cap > this will crack the .cap file
if params.len != 0 then
if params[0] == "-h" or params[0] == "--help" then exit("wificracker [essid]")
end if
computer = get_shell.host_computer
devices = computer.network_devices
if devices == null or devices.indexOf("wlan0") == null then exit("iwlist: Network device not found")
if "wlan0".indexOf("eth") != null then exit("iwlist: ethernet cards not supported for this command")
networks = computer.wifi_networks("wlan0")
if networks == null then exit(command_info("iwlist_usage"))
info = "BSSID PWR ESSID"
data = {}
PWR = {}
for network in networks
info = info + "\n" + network
data[network.split(" ")[2]] = network.split(" ")[0]
PWR[network.split(" ")[2]] = network.split(" ")[1]
end for
if params.len != 0 then
data = {params[0]:data[params[0]]}
end if
print(format_columns(info))
cryptools = include_lib("/lib/crypto.so")
if not cryptools then exit("Error: Missing crypto library")
passwords = {}
total = data.len
i = 0
table = {"1": 300000, "2": 150000, "3": 100000, "4": 75000, "5": 60000, "6": 50000, "7": 42857, "8": 37500, "9": 33333, "10": 30000, "11": 27273, "12": 25000, "13": 23077, "14": 21429, "15": 20000, "16": 18750, "17": 17647, "18": 16667, "19": 15789, "20": 15000, "21": 14286, "22": 13636, "23": 13043, "24": 12500, "25": 12000, "26": 11538, "27": 11111, "28": 10714, "29": 10345, "30": 10000, "31": 9677, "32": 9375, "33": 9091, "34": 8824, "35": 8571, "36": 8333, "37": 8108, "38": 7895, "39": 7692, "40": 7500, "41": 7317, "42": 7143, "43": 6977, "44": 6818, "45": 6667, "46": 6522, "47": 6383, "48": 6250, "49": 6122, "50": 6000, "51": 5882, "52": 5769, "53": 5660, "54": 5554, "55": 5454, "56": 5357, "57": 5263, "58": 5172, "59": 5085, "60": 5000, "61": 4918, "62": 4838, "63": 4762, "64": 4688, "65": 4615, "66": 4545, "67": 4478, "68": 4412, "69": 4348, "70": 4286, "71": 4225, "72": 4167, "73": 4110, "74": 4054, "75": 4000, "76": 3947, "77": 3896, "78": 3846, "79": 3797, "80": 3750, "81": 3704, "82": 3658, "83": 3614, "84": 3571, "85": 3529, "86": 3488, "87": 3448, "88": 3409, "89": 3371, "90": 3333, "91": 3297, "92": 3261, "93": 3226, "94": 3191, "95": 3158, "96": 3125, "97": 3093, "98": 3061, "99": 3030, "100": 3000}
print "<================================================>"
for kv in data
print("Progress: " + i + "/" + total)
i = i + 1
reqPWD = table[PWR[kv.key][:-1]]
print("Hacked now: " + kv.key + "\nRequired number of ACKs: " + reqPWD)
result = cryptools.aireplay(kv.value, kv.key, reqPWD)
if typeof(result) == "string" then exit(result)
file = get_shell.host_computer.File("file.cap")
if file == null then exit("aircrack: file not found: file.cap")
if not file.is_binary then exit("aircrack: Can't process file. Not valid filecap.")
if not file.has_permission("r") then exit("aircrack: permission denied")
key = cryptools.aircrack(file.path)
if key then
print(kv.key + " - [" + key + "]" )
passwords[kv.key] = key
computer.connect_wifi("wlan0", kv.value, kv.key, key)
else
print("aircrack: Unable to get the key")
print key
end if
end for
print "Passwords: "
print passwords