Android超级终端之Termux(1)
Termux简介
Termux是安卓下的linux终端模拟器,通过apt来安装linux软件。不需要root权限来执行二进制文件,通过proot
(fake root)来构建文件系统,默认根目录为$PREFIX
,即/data/data/com.termux/files/usr
初始化
apt update
echo "export PATH=$PATH:/system/bin:/system/xbin" >> $PREFIX/etc/bash.bashrc #添加系统环境变量
安装repositories
apt install root-repo
apt install unstable-repo
apt install x11-repo
apt update
安装software
python
apt install python
jupyter或ipython
apt install python-dev -y
pip install cython
pip install jupyter
要安装python-dev
,否则会提示缺少Python.h
Android Hack
apt install nmap #端口扫描
apt install hydra #密码破解
apt install inetutils #ftp
pip install sqlmap #sqlmap
apt install git #git
git clone https://www.github.com/threat9/routersploit && cd routersploit && pip install -r requirements.txt &&python3 rsf.py #路由器漏洞利用
apt install metasploit #Metasploit Framework
实用技巧
- curl查看ip:
curl ip.gs
,需安装curl:apt install curl
- nping ddos:
nping --tcp-connect -rate=90000 -c 900000 -q testsite.com
,需安装nmap:apt install nmap
- 开启ftp服务:
tcpsvd -vE 0.0.0.0 2121 ftpd .
端口:2121,根目录:. - 添加系统环境变量:
echo "export PATH=$PATH:/system/bin:/system/xbin" >> $PREFIX/etc/bash.bashrc
- ncat(nc)开启shell:
ncat -l -p 8888 -e $PREFIX/bin/bash
- ncat连接:
ncat localhost 8888
端口:8888 ip:localhost - ngrok将端口映射到公网: https://ngrok.com/
- 突破百度云下载限速
BaiduPCS-Go
: https://github.com/iikira/BaiduPCS-Go - Termux Android黑客网站
hax4us
: https://www.hax4us.com/
致谢
欢迎大家来小龙github查看更多内容