Skip to content

Latest commit

 

History

History
57 lines (29 loc) · 943 Bytes

README.md

File metadata and controls

57 lines (29 loc) · 943 Bytes

backdoor_mmap_tools

This code is still ugly, please re-write it and send pull-requests, if you want to use this.

How to use

  • Install mmap backdoor

    install_backdoor

  • Uninstall mmap backdoor

    install_backdoor -u

  • Run shell with temporary root privilege.

    run_root_shell

  • Run command "/data/local/autoexec.sh" with root privilege.

    run_autoexec

  • Fix CVE-2013-6282 vulnerability with custom __get/put_user handlers.

    fix_cve_2013_6282

  • Unlock fjsec LSM for Fujitsu devices.

    unlock_lsm_fjsec

  • Unlock MIYABI LSM for SHARP devices.

    unlock_lsm_miyabi

  • Unlock MMC protected partitions for SHARP devices.

    unlock_mmc_protect

  • Unlock SEC LSM for SC-04E.

    unlock_sec_sc04e

  • Disable TOMOYO LSM for Panasonic and LG devices.

    disable_ccsecurity

  • Call reset_security_ops to disable normal LSM.

    reset_security_ops

  • Print kernel symbols out.

    kallsymsprint