drozer 使用小結(jié)

drozer 下載地址

1许昨、安裝

pc端安裝drozer

Android設(shè)備中安裝agent.apk

adb?install?agent.apk

2凡泣、開啟會話

adb forward tcp:31415tcp:31415

drozer console connect

在Android設(shè)備上開啟Drozer Agent

選擇embedded?server-enable

3、drozer 命令

dz> list

app.activity.forintent ? ? ? ? ? ? ? ? ? Find activities that can handle the given intent

app.activity.info ? ? ? ? ? ? ? ? ? ? ? ?Gets information about exported activities.

app.activity.start ? ? ? ? ? ? ? ? ? ? ? Start an Activity

app.broadcast.info ? ? ? ? ? ? ? ? ? ? ? Get information about broadcast receivers

app.broadcast.send ? ? ? ? ? ? ? ? ? ? ? Send broadcast using an intent

app.broadcast.sniff ? ? ? ? ? ? ? ? ? ? ?Register a broadcast receiver that can sniff particular intents

app.package.attacksurface ? ? ? ? ? ? ? ?Get attack surface of package

app.package.backup ? ? ? ? ? ? ? ? ? ? ? Lists packages that use the backup API (returns true on FLAG_ALLOW_BACKUP)

app.package.debuggable ? ? ? ? ? ? ? ? ? Find debuggable packages

app.package.info ? ? ? ? ? ? ? ? ? ? ? ? Get information about installed packages

app.package.launchintent ? ? ? ? ? ? ? ? Get launch intent of package

app.package.list ? ? ? ? ? ? ? ? ? ? ? ? List Packages

app.package.manifest ? ? ? ? ? ? ? ? ? ? Get AndroidManifest.xml of package

app.package.native ? ? ? ? ? ? ? ? ? ? ? Find Native libraries embedded in the application.

app.package.shareduid ? ? ? ? ? ? ? ? ? ?Look for packages with shared UIDs

app.provider.columns ? ? ? ? ? ? ? ? ? ? List columns in content provider

app.provider.delete ? ? ? ? ? ? ? ? ? ? ?Delete from a content provider

app.provider.download ? ? ? ? ? ? ? ? ? ?Download a file from a content provider that supports files

app.provider.finduri ? ? ? ? ? ? ? ? ? ? Find referenced content URIs in a package

app.provider.info ? ? ? ? ? ? ? ? ? ? ? ?Get information about exported content providers

app.provider.insert ? ? ? ? ? ? ? ? ? ? ?Insert into a Content Provider

app.provider.query ? ? ? ? ? ? ? ? ? ? ? Query a content provider

app.provider.read ? ? ? ? ? ? ? ? ? ? ? ?Read from a content provider that supports files

app.provider.update ? ? ? ? ? ? ? ? ? ? ?Update a record in a content provider

app.service.info ? ? ? ? ? ? ? ? ? ? ? ? Get information about exported services

app.service.send ? ? ? ? ? ? ? ? ? ? ? ? Send a Message to a service, and display the reply

app.service.start ? ? ? ? ? ? ? ? ? ? ? ?Start Service

app.service.stop ? ? ? ? ? ? ? ? ? ? ? ? Stop Service

auxiliary.webcontentresolver ? ? ? ? ? ? Start a web service interface to content providers.

exploit.jdwp.check ? ? ? ? ? ? ? ? ? ? ? Open @jdwp-control and see which apps connect

exploit.pilfer.general.apnprovider ? ? ? Reads APN content provider

exploit.pilfer.general.settingsprovider ?Reads Settings content provider

information.datetime ? ? ? ? ? ? ? ? ? ? Print Date/Time

information.deviceinfo ? ? ? ? ? ? ? ? ? Get verbose device information

information.permissions ? ? ? ? ? ? ? ? ?Get a list of all permissions used by packages on the device

scanner.activity.browsable ? ? ? ? ? ? ? Get all BROWSABLE activities that can be invoked from the web browser

scanner.misc.native ? ? ? ? ? ? ? ? ? ? ?Find native components included in packages

scanner.misc.readablefiles ? ? ? ? ? ? ? Find world-readable files in the given folder

scanner.misc.secretcodes ? ? ? ? ? ? ? ? Search for secret codes that can be used from the dialer

scanner.misc.sflagbinaries ? ? ? ? ? ? ? Find suid/sgid binaries in the given folder (default is /system).

scanner.misc.writablefiles ? ? ? ? ? ? ? Find world-writable files in the given folder

scanner.provider.finduris ? ? ? ? ? ? ? ?Search for content providers that can be queried from our context.

scanner.provider.injection ? ? ? ? ? ? ? Test content providers for SQL injection vulnerabilities.

scanner.provider.sqltables ? ? ? ? ? ? ? Find tables accessible through SQL injection vulnerabilities.

scanner.provider.traversal ? ? ? ? ? ? ? Test content providers for basic directory traversal vulnerabilities.

shell.exec ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? Execute a single Linux command.

shell.send ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? Send an ASH shell to a remote listener.

shell.start ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?Enter into an interactive Linux shell.

tools.file.download ? ? ? ? ? ? ? ? ? ? ?Download a File

tools.file.md5sum ? ? ? ? ? ? ? ? ? ? ? ?Get md5 Checksum of file

tools.file.size ? ? ? ? ? ? ? ? ? ? ? ? ?Get size of file

tools.file.upload ? ? ? ? ? ? ? ? ? ? ? ?Upload a File

tools.setup.busybox ? ? ? ? ? ? ? ? ? ? ?Install Busybox.

tools.setup.minimalsu ? ? ? ? ? ? ? ? ? ?Prepare 'minimal-su' binary installation on the device.

應(yīng)用相關(guān) ?app.package.*

Activity相關(guān) app.activity.*

Content Provider 相關(guān) app.provider.*,scanner.provider

Service相關(guān) app.service.*

Broadcast Receiver 相關(guān) app.broadcast.*

其他模塊?

Android四大基本組件分別是Activity删铃,Service服務(wù),Content Provider內(nèi)容提供者,BroadcastReceiver廣播接收器

通過run app.package.info獲取該package的詳細信息,比如data路徑排拷、apk路徑、聲明的權(quán)限

app.package.attacksurface攻擊面分析锅尘,分析Activity/Broadcast Receiver/Content Provider/Service的權(quán)限监氢,即是否能被其他的的應(yīng)用程序調(diào)用

通過run app.activity.info -a 路徑包名 ?分析出可以調(diào)用的activity組件

通過run app.activity.start --component 路徑包名 路徑組件名 啟動它,在支付之類的界面可以照成界面劫持藤违。

通過run? app.broadcast.info -a 路徑包名? 查看暴露的廣播組件信息

通過run app.broadcast.send ?利用空actoin和空extras拒絕服務(wù)

通過run app.provider.info -a 包名 查看可操作ContentProvider信息

通過run scanner.provider.finduris -a 包名 獲取可以訪問的uri

?run scanner.provider.injection -a 包名 sql注入檢查

run?scanner.provider.traversal?-a 包名 目錄遍歷

通過run app.service.info -a 包名 查詢權(quán)限

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末浪腐,一起剝皮案震驚了整個濱河市,隨后出現(xiàn)的幾起案子顿乒,更是在濱河造成了極大的恐慌议街,老刑警劉巖,帶你破解...
    沈念sama閱讀 216,997評論 6 502
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件璧榄,死亡現(xiàn)場離奇詭異特漩,居然都是意外死亡,警方通過查閱死者的電腦和手機骨杂,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 92,603評論 3 392
  • 文/潘曉璐 我一進店門,熙熙樓的掌柜王于貴愁眉苦臉地迎上來蛤售,“玉大人,你說我怎么就攤上這事悴能〈眨” “怎么了?”我有些...
    開封第一講書人閱讀 163,359評論 0 353
  • 文/不壞的土叔 我叫張陵漠酿,是天一觀的道長拂盯。 經(jīng)常有香客問我记靡,道長,這世上最難降的妖魔是什么摸吠? 我笑而不...
    開封第一講書人閱讀 58,309評論 1 292
  • 正文 為了忘掉前任空凸,我火速辦了婚禮,結(jié)果婚禮上寸痢,老公的妹妹穿的比我還像新娘呀洲。我一直安慰自己啼止,他們只是感情好道逗,可當我...
    茶點故事閱讀 67,346評論 6 390
  • 文/花漫 我一把揭開白布献烦。 她就那樣靜靜地躺著,像睡著了一般吏夯。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發(fā)上噪生,一...
    開封第一講書人閱讀 51,258評論 1 300
  • 那天东囚,我揣著相機與錄音跺嗽,去河邊找鬼页藻。 笑死,一個胖子當著我的面吹牛惕橙,可吹牛的內(nèi)容都是我干的。 我是一名探鬼主播弥鹦,決...
    沈念sama閱讀 40,122評論 3 418
  • 文/蒼蘭香墨 我猛地睜開眼,長吁一口氣:“原來是場噩夢啊……” “哼朦促!你這毒婦竟也來了?” 一聲冷哼從身側(cè)響起务冕,我...
    開封第一講書人閱讀 38,970評論 0 275
  • 序言:老撾萬榮一對情侶失蹤禀忆,失蹤者是張志新(化名)和其女友劉穎,沒想到半個月后箩退,有當?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體,經(jīng)...
    沈念sama閱讀 45,403評論 1 313
  • 正文 獨居荒郊野嶺守林人離奇死亡戴涝,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點故事閱讀 37,596評論 3 334
  • 正文 我和宋清朗相戀三年滋戳,在試婚紗的時候發(fā)現(xiàn)自己被綠了啥刻。 大學時的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片。...
    茶點故事閱讀 39,769評論 1 348
  • 序言:一個原本活蹦亂跳的男人離奇死亡娄涩,死狀恐怖,靈堂內(nèi)的尸體忽然破棺而出钝满,到底是詐尸還是另有隱情申窘,我是刑警寧澤,帶...
    沈念sama閱讀 35,464評論 5 344
  • 正文 年R本政府宣布剃法,位于F島的核電站路鹰,受9級特大地震影響,放射性物質(zhì)發(fā)生泄漏晋柱。R本人自食惡果不足惜,卻給世界環(huán)境...
    茶點故事閱讀 41,075評論 3 327
  • 文/蒙蒙 一钦椭、第九天 我趴在偏房一處隱蔽的房頂上張望拧额。 院中可真熱鬧彪腔,春花似錦、人聲如沸德挣。這莊子的主人今日做“春日...
    開封第一講書人閱讀 31,705評論 0 22
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽屯掖。三九已至建芙,卻和暖如春懂扼,著一層夾襖步出監(jiān)牢的瞬間,已是汗流浹背阀湿。 一陣腳步聲響...
    開封第一講書人閱讀 32,848評論 1 269
  • 我被黑心中介騙來泰國打工, 沒想到剛下飛機就差點兒被人妖公主榨干…… 1. 我叫王不留映砖,地道東北人。 一個月前我還...
    沈念sama閱讀 47,831評論 2 370
  • 正文 我出身青樓邑退,卻偏偏與公主長得像劳澄,于是被迫代替她去往敵國和親。 傳聞我的和親對象是個殘疾皇子秒拔,可洞房花燭夜當晚...
    茶點故事閱讀 44,678評論 2 354

推薦閱讀更多精彩內(nèi)容

  • Android 自定義View的各種姿勢1 Activity的顯示之ViewRootImpl詳解 Activity...
    passiontim閱讀 172,094評論 25 707
  • ¥開啟¥ 【iAPP實現(xiàn)進入界面執(zhí)行逐一顯】 〖2017-08-25 15:22:14〗 《//首先開一個線程砂缩,因...
    小菜c閱讀 6,402評論 0 17
  • Spring Cloud為開發(fā)人員提供了快速構(gòu)建分布式系統(tǒng)中一些常見模式的工具(例如配置管理,服務(wù)發(fā)現(xiàn)庵芭,斷路器,智...
    卡卡羅2017閱讀 134,654評論 18 139
  • 本文基于Swift 2.0眨唬,看完滔悉,你將會: 1单绑、對繪制arc和shadow,更加得心應(yīng)手 2搂橙、學會使用Core G...
    liyoro閱讀 607評論 0 0
  • 關(guān)于學校中的三主體,教師苔巨、學生、家長:學校猶水侄泽,師生猶魚,家長猶鯰魚悼尾。 永遠不要讓家長的主動變成你的被動...
    北國風光_印象岳峰閱讀 448評論 0 2