0x00 初识termux
高级终端Termux是个非常强大的终端模拟器,这样的应用应该特别适合不喜欢图形界面的命令行爱好者。并且termux组合了强大的终端模拟和拓展Linux包支持。0x01 运行termux 打开termux
![termux app logo](https://img-blog.csdn.net/20170705214813731?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvcXFfMzgxMzIyNzk=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)
打开以后会出现 --安装中--的字样 这里等一下就好了
![安装中](https://img-blog.csdn.net/20170705215256054?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvcXFfMzgxMzIyNzk=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)
变成这样表示安装成功
![安装成功](https://img-blog.csdn.net/20170705215744504?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvcXFfMzgxMzIyNzk=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)
到这里初步的配置就好了。 0x02 安装(git/python2/sqlmap) 首先需要输入apt update更新源,否则无法安装![apt update](https://img-blog.csdn.net/20170705215636995?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvcXFfMzgxMzIyNzk=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)
安装git --- apt install git 提示出来后输入y继续安装
![apt install git](https://img-blog.csdn.net/20170705215833368?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvcXFfMzgxMzIyNzk=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)
安装python2 --- apt install python2 提示出来一样输入y继续安装
![apt install python2](https://img-blog.csdn.net/20170705220200523?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvcXFfMzgxMzIyNzk=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)
安装sqlmap --- git clonehttps://github.com/sqlmapproject/sqlmap.git 这里等安装到100%就可以了 下面是安装中的提示
![安装中](https://img-blog.csdn.net/20170705220359988?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvcXFfMzgxMzIyNzk=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)
下面是安装完成
![安装完成](https://img-blog.csdn.net/20170705220434673?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvcXFfMzgxMzIyNzk=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)
既然已经安装好了,那么如何使用呢?
打开sqlmap --- python2 sqlmap/sqlmap.py
![sqlmap](https://img-blog.csdn.net/20170705220554441?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvcXFfMzgxMzIyNzk=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)
0x03 termux的路径
网上所说的termux路径为 /data/data/com.termux/ 但是我的小米max的路径是 /data/user/0/com.termux/
![路径](https://img-blog.csdn.net/20170705220930009?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvcXFfMzgxMzIyNzk=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)
如果需要放什么东西进去又找不到目录的话可以多试试其他路径 可能因为机子问题所以路径会改变,如果实在找不到或者不想找可以试试使用mt文件管理器查看
![路径](https://img-blog.csdn.net/20170705221148062?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvcXFfMzgxMzIyNzk=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)
如果在termux的使用过程中有什么问题可以添加我的QQ我:979649880。