admin管理员组

文章数量:1599280

目录

  • 脚本源码
  • 使用方法
  • 效果

版本:Grey Hack v0.7.3618 - Alpha


脚本源码

computer = get_shell.host_computer
status = "Unknown Error."
crypto = include_lib("/lib/crypto.so")
if not crypto then
	crypto = include_lib(current_path + "/crypto.so")
end if
if not crypto then exit("Error: Can't find crypto library in the /lib path or the current folder")
crypto.airmon("start", "wlan0")
devices = computer.network_devices
networks = computer.wifi_networks("wlan0")
if networks == null then exit("Fail...")
network_list = []
ID = 1
info = "No. BSSID PWR ESSID"
for network in networks
	info = info + "\n" + str(ID) + ": " + network
	ID = ID + 1
	network_list.push(network.split(" "))
end for
print(format_columns(info))
Target_ID = 0
while (Target_ID == 0 or Target_ID > len(network_list))
	Target_ID = val(user_input("Select a network device\n"))
end while
data = crypto.aireplay(network_list[Target_ID - 1][0], network_list[Target_ID - 1][2], ceil(300000/network_list[Target_ID - 1][1].split("%")[0].to_int))
if typeof(data) == "string" then 
	print(data)
end if
file = computer.File(current_path+"/file.cap")
if not file or not file.has_permission("r") or not file.has_permission("w") then exit("404 File Error.")
if file then
	result = crypto.aircrack(file.path)
	status = computer.connect_wifi("wlan0", network_list[Target_ID - 1][0], network_list[Target_ID - 1][2], result)	
	file.delete
end if
if status then exit("Wifi Online.")
exit("Unknown Error.")

使用方法

运行脚本,选择要连接的WIFI,等待即可

效果

自动在合适的数量后开始解密 而不是教程里定死的7000个包

本文标签: 万能钥匙GreyHACKwifi