Exploit database

GH-99cda53c8fa67b2c072872e0059bd8bc

alephsecurity/initroot

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2016-10277

4 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files63Next files →

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

tethered/athene/athene-xt1622-npjs25.93-14-4/init.mmi.block_perm.sh

Shell · 553 bytes
#!/system/bin/sh

block_by_name=/dev/block/bootdevice/by-name
utags=${block_by_name}/utags
utags_backup=${block_by_name}/utagsBackup

# Set correct permissions for UTAGS
/system/bin/chown -L mot_tcmd:system $utags
/system/bin/chown -L mot_tcmd:system $utags_backup
/system/bin/chmod -L 0660 $utags
/system/bin/chmod -L 0660 $utags_backup

# CLOGO
clogo=${block_by_name}/clogo
/system/bin/chown -L root:mot_tcmd $clogo
/system/bin/chmod -L 0660 $clogo

#CID
cid=${block_by_name}/cid
/system/bin/chown -L root:mot_tcmd $cid
/system/bin/chmod -L 0660 $cid