3 Star 9 Fork 1

CiLang/fake-android

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
mainCmd.py 938 Bytes
一键复制 编辑 原始数据 按行查看 历史
CiLang 提交于 2023-02-16 23:45 . 修复保存账号问题"
from utils.netFunction import *
from utils.readUtil import *
if __name__ == "__main__":
header = readHear("header/android/header")
disHeader = readHear("header/disConnect/header")
disHeader['User-Agent'] = header['User-Agent']
netInformation, cookies = getNetInformation()
print(netInformation)
user = {}
for i in netInformation:
user[i.split("=")[0]] = i.split("=")[1]
try:
userid = input("输入账号")
passwd = input("输入密码")
res = loginNet(userid, passwd, header)
print(res)
except ZeroDivisionError as e:
print(e)
# try:
# res = disConnect(acip='10.95.254.1',
# userip=user['wlanuserip'],
# acname=user['wlanacname'],
# mac=user['mac'],
# userid=userid,
# header=disHeader)
# except ZeroDivisionError as e:
# print(e)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/CilangZzZ/fake-android.git
git@gitee.com:CilangZzZ/fake-android.git
CilangZzZ
fake-android
fake-android
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385