Add support Xiaomi RA82 (AX3000 INT)

pull/3/head
Oleg S 2 years ago
parent 1a99b72b59
commit 94a8b5c54f

@ -43,7 +43,7 @@ if dn in 'R3600 RA69 RA70 RA72':
import connect3
sys.exit(0)
if dn in 'RB01 RB03 RB06 RB08':
if dn in 'RA80 RA82 RB01 RB03 RB06 RB08':
import connect4
sys.exit(0)

@ -54,7 +54,7 @@ res = exec_cmd("sed -i 's/release/XXXXXX/g' /etc/init.d/dropbear")
if '"code":0' not in res:
die('Exploit not working!!!')
#res = exec_cmd("sed -i 's/`nvram get ssh_en`/1/g' /etc/init.d/dropbear")
res = exec_cmd("nvram set ssh_en=1; nvram commit")
res = exec_cmd("nvram set ssh_en=1; nvram set boot_wait=on; nvram set bootdelay=3; nvram commit")
res = exec_cmd("(echo root; sleep 1; echo root) | passwd root")
res = exec_cmd("/etc/init.d/dropbear enable")
print('Run SSH server on port 22 ...')

@ -73,9 +73,9 @@ xqModelList = [
"<unk40>", # 40
"<unk41>",
"<unk42>",
"RA80", # AX3000
"RA80", # AX3000 (CN)
"RA81", # Redmi AX3000
"RA82", # AX3000
"RA82", # AX3000 (INT)
"RA83",
"RA74", # AX5400
"<unk48>",

Loading…
Cancel
Save