android-exploitme(一):產生apk

來源:互聯網
上載者:User

標籤:android   des   style   blog   http   color   

exploitme是一個國外的android安全性測試環境,http://securitycompass.github.io/AndroidLabs/index.html,通過它可以學習一些基本的測試方法和思路

今天先來產生Base的apk:

 

 

 

1.  下載exploit-me的git代碼:

git initgit clone https://github.com/SecurityCompass/AndroidLabs.git

2. 然後下載Base分支並切換過去。

git branch -agit branch fetch origin Basegit checkout Basegit branch

3. 開啟Eclipse,匯入項目,產生apk。

a. 點擊import,選擇android的“Existing Android Code Into Workspace”

b. 點擊“browse”,選擇git下載的代碼路徑,然後選中該項目,並勾選“copy projects into workspace”。

c. 匯入後有可能會報這個錯“FalseSecureMobile] Android requires compiler compliance level 5.0 or 6.0. Found ‘1.7‘ instead. Please use Android Tools > Fix Project Propertity”

這個時候你就安裝指示,右鍵項目,選中“Fix Project Propertity”

d. 然後就是匯出apk檔案了,“export”,選擇android的“Export Android  Application”。

 

選擇密鑰庫

 

選擇key

選擇apk儲存的路徑:

 

好了,apk產生好了

 

 

 

 

 

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.