Skip to content

virifi/su-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

su_server
クライアントから受け取ったコマンドをCWM版suに受け渡すプログラム
<使用方法(SC-04E)>
su_server を /system/bin/mfescand として配置
superuser_su を /system/xbin/superuser_su として配置し、
chown 0.0 /system/xbin/superuser_su
chmod 6755 /system/xbin/superuser_su
としておく。


su_client_target
su_serverに接続するためのAndroid端末上で動くプログラム。
su_clientを/system/bin/suなどに配置すればsuコマンドの代わりに用いることができます。
<使い方>
shell@android: $ ./su_client                // root権限でshellを実行する
 または
shell@android: $ ./su_client -c 'ls -l /'   // root権限で「ls -l /」を実行する

su_client_host
su_serverに接続するためのPC上で動くプログラム。
<使い方>
$ adb forward tcp:1234 localabstract:su_server
$ ./su_client                // root権限でshellを実行する
 または
$ ./su_client -c 'ls -l /'   // root権限で「ls -l /」を実行する


!!!!注意!!!!
su_serverはアクセス制御を行なっていません。
したがって、su_clientコマンドを使うと任意のアプリから
root権限でコマンドを実行出来てしまいます。
あくまでも一時的な利用にとどめてください。

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors