DIVA Android - 1.Insecure Logging
DIVA Android - 2.Hardcoding Issues – Part 1
DIVA Android - 3.Insecure Data Storage – Part 1
DIVA Android - 4.Insecure Data Storage – Part 2
DIVA Android - 5.Insecure Data Storage – Part 3
DIVA Android - 6.Insecure Data Storage – Part 4
DIVA Android - 7.Input Validation Issues – Part 1
DIVA Android - 8.Input Validation Issues – Part 2
DIVA Android - 9.Access Control Issues – Part 1
DIVA Android - 10.Access Control Issues – Part 2
DIVA Android - 11.Access Control Issues – Part 3
DIVA Android - 12.Hardcoding Issues – Part 2
DIVA Android - 13.Input Validation Issues – Part 3
「9.Access Control Issues – Part 1」對應到的 Activity 是 AccessControl1Activity,看一下 code 長這樣:DIVA Android - 7.Input Validation Issues – Part 1
DIVA Android - 8.Input Validation Issues – Part 2
DIVA Android - 9.Access Control Issues – Part 1
DIVA Android - 10.Access Control Issues – Part 2
DIVA Android - 11.Access Control Issues – Part 3
DIVA Android - 12.Hardcoding Issues – Part 2
DIVA Android - 13.Input Validation Issues – Part 3
首先它建立一個隱式的 Intent,並透過 setAction 定義 Action 的名稱為「jakhar.aseem.diva.action.VIEW_CREDS」,接著看一下 AndroidManifest.xml 中的「jakhar.aseem.diva.action.VIEW_CREDS」,會發現它所對應的 Activity 為「APICredsActivity」,所以可得知當程式 startActivity 時會去呼叫這隻 APICredsActivity。
再來我們嘗試不藉由 DIVA 這隻 App 直接去啟動 APICredsActivity:am start jakhar.aseem.diva/jakhar.aseem.diva.APICredsActivity
沒有留言:
張貼留言