Add support Xiaomi RA82 (AX3000 INT)

This commit is contained in:
Oleg S
2022-10-17 15:42:02 +03:00
parent 1a99b72b59
commit 94a8b5c54f
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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)
+1 -1
View File
@@ -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 ...')
+2 -2
View File
@@ -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>",