喜歡玩linux,但老是開電腦太不方便,搜索了一圈,發(fā)現(xiàn)一種在Android上玩Linux比較好的方法,而且可以使用msfconsole
網(wǎng)上一般推薦busybox+linux deploy需要root權限,但平板root失敗,所以選擇不用root的termux;
安裝termux推薦安裝Hacker's Keyboard(橫屏發(fā)現(xiàn)魅力)(當然,你也可以長按termux側邊的keyboard調(diào)出esc等鍵),JuiceSSH
安裝完第一件事?lián)Q源(清華的源):(掛Vp(防和諧)N其實也很快)
echo "deb [arch=all,架構(打開source看一眼)] http://mirrors.tuna.tsinghua.edu.cn/termux stable main" > ../usr/etc/apt/sources.list
apt-get update
打開sources文件一個比較快捷的操作:export EDITOR=vi;apt edit sources;
安裝metasploit:
安裝好termux是可以直接在termux終端用apt安裝軟件包的,比如metasploit
安裝curl:apt-get install curl proot
下載msf安裝腳本:curl -L https://Auxilus.github.io/metasploit.sh>metasploit.sh
賦予執(zhí)行權限并執(zhí)行:chmod +x metasploit.sh && ./metasploit.sh
接下來就是網(wǎng)速和人品了。
最后執(zhí)行msfconsole,稍等片刻,msf那牛逼的ascii界面就出來了。
安裝一個較為完整的linux:
畢竟沒root權限,用起來有限制,干脆直接裝個linux系統(tǒng)跑。
下載腳本wget http://funs.ml/file/atilo
賦予執(zhí)行權限并執(zhí)行:chmod +x atilo && ./atilo
會看到可安裝的版本
./atilo 你想安裝的linux
人品+網(wǎng)速
跟據(jù)安裝的linux輸入相應命令,例:startdebian