私はアンドロイドデバイスでsu、busyboxを使用しています。suとroot特権
[email protected]:/ $ su
1|[email protected]:/ $
1|[email protected]:/ $ whoami
shell
[email protected]:/ $
EDIT1:
は、suコマンドで特権がOKのように思える はなく、 "SU" を行う上で、私が何のroot権限を持っていないようです。 adbのシェルから、下記を参照してください:シェル@ニモ:/システム/ XBIN $のls -al SU -rwxr-XR-Xのルートルート75364 2015年11月21日13時10分
EDIT2:
私は7777の許可(suid)を設定しましたが、それでも失敗します。
chmod 7777 su-arm
[email protected]:/ $ ls -al /system/xbin/su-arm
-rwsrwsrwt root shell 467952 2016-11-20 12:01 su-arm
[email protected]:/ $ su-arm
255|[email protected]:/ $ id
uid=2000(shell) gid=2000(shell) groups=2000(shell),1004(input),1007(log),1011(adb),1015(sdcard_rw),1028(sdcard_r),3001(net_bt_admin),3002(net_bt),3003(inet),3006(net_bw_stats) context=u:r:shell:s0
[email protected]:/ $whoami
shell
EDIT3: 私は、suバイナリとbusyboxのバイナリを更新しましたが、それぞれが今異なっ失敗:
[email protected]:/ $ busybox su
su: unknown user root
1|[email protected]:/ $ su
error: only position independent executables (PIE) are supported.
1|[email protected]:/ $
にはどうすればいいのsuが悪いのかを理解することができ、それを修正する方法?
おかげで、 ランチュウ
実際にスーパーユーザー権限が必要ですか?もしそうなら、それらのコマンドを実行しようとしましたか? –
はい、私はそれが本当に必要です。何が間違っているのか理解し始めるには – ransh