直接正题。
1.优化键位:
1 mkdir $HOME/.termux 2 echo "extra-keys = [['ESC','/','-','HOME','UP','END','PGUP'],['TAB','CTRL','ALT','LEFT','DOWN','RIGHT','PGDN']]" >> $HOME/.termux/termux.properties
2.修改开头语:
1 vim $PREFIX/etc/motd
3.安装基本工具
1 pkg install vim curl wget git unzip unrar
4.安装ssh 启动ssh是sshd
1 pkg install openssh
5.设置ssh自启动
1 echo "sshd" >> ~/.bashrc
6.好看又好用的oh-my-zsh
1 termux-setup-storage 2 pkg install zsh 3 sh -c "$(curl -fsSL https://html.sqlsec.com/termux-install.sh)" 4 5 ##不行就试试sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)",可能需要梯子
7.修改oh-my-zsh主题
1 vim .zshrc 2 ZSH_THEME="pygmalion" 3 ##pygmalion是我的主题,你可以自定义
7.5/模拟root环境
1 pkg install proot 2 termux-chroot
--------------------------------------------------------------------分界线--------------------------------------------------------------------
提示:以下内容涉及网络安全,请谨慎使用!
8.metasploit
懂得都懂,不再需要下载多余的脚本,直接安装:
pkg install unstable-repo pkg install metasploit
9.nmap
1 pkg install nmap
10.sqlmap
1 #需要python 2 pkg install python 3 git clone --depth 1 https://github.com/sqlmapproject/sqlmap.git sqlmap-dev
11.whatportis
1 pip install whatportis
11.hydra
1 pkg install hydra
12.kalihunter(kali全套渗透环境,没试过)
1 wget https://raw.githubusercontent.com/Hax4us/Nethunter-In-Termux/master/kalinethunter
2 chmod +x kalinethunter 3 bash kalinethunter 4 #可能需要梯子
进入后要输入这个:
1 apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 7D8D0BF6 2 wget https://http.kali.org/kali/pool/main/k/kali-archive-keyring/kali-archive-keyring_2018.1_all.deb 3 apt --fix-broken install 4 dpkg -i ./kali-archive-keyring_2018.1_all.deb
13.安装linux的另一种解决方案(atlio)
1 git clone https://github.com/YadominJinta/atilo 2 cd atilo 3 cd CN 4 chmod +X atilo_cn 5 ./atilo_cn 6 #可能需要一些库,pip安装就好了
满满干货,您的点赞评论就是我最大的动力。