Android安全專項-AndBug動態調試工具環境搭建

來源:互聯網
上載者:User

Android安全專項-AndBug動態調試工具環境搭建

環境搭建
git clone cd 到AndBug目錄,執行make
58deMacBook-Pro-7:AndBug wuxian$ makePYTHONPATH=lib python setup.py testrunning test.:: '' of () -> '':: '1' of (0,) -> '\x00':: '2' of (1,) -> '\x00\x01':: '4' of (1,) -> '\x00\x00\x00\x01':: '8' of (1,) -> '\x00\x00\x00\x00\x00\x00\x00\x01':: 'f' of (1,) -> '\x01':: 'm' of (1,) -> '\x00\x01':: 'o' of (1,) -> '\x00\x01':: 't' of (1,) -> '\x00\x00\x00\x01':: 's' of (1,) -> '\x00\x00\x00\x00\x00\x00\x00\x01':: '$' of ('abcd',) -> '\x00\x00\x00\x04abcd':: '1248' of (0, 1, 1, 1) -> '\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x01':: 'fmots' of (0, 1, 1, 1, 1) -> '\x00\x00\x01\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x01'.<<< 1 META>>> 2 META    00000000:  74 68 65 20 71 75 69 63 6b 20 62 72 6f 77 6e 20  the.quick.brown.    00000010:  66 6f 78                                         fox....----------------------------------------------------------------------Ran 6 tests in 0.004sOK

執行通過後,執行./andbug會提示如下資訊:

調試

andbug shell -p 包名/PID

先通過Hierarchyviewer查看一下包名,然後執行調試:

andbug shell -p xposed.doctorq.com.qq4xposed

即時擷取介面操作所涉及的方法

qq登入介面為例:

class-trace com.tencent.mobileqq.activity.LoginActivity

  

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.