-
Notifications
You must be signed in to change notification settings - Fork 284
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
33 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,7 @@ Proxy_URL="https://cdn.ffffffff0x.com/?durl=https://codeload.github.com/rofl0r/p | |
Porxy_OK= | ||
Docker_OK= | ||
error=0 | ||
F8x_Version="1.5.2 Dev(Beta6)" | ||
F8x_Version="1.5.2 Dev(Beta7)" | ||
|
||
# ===================== 软件版本变量设置 ===================== | ||
jdk_Version="jdk1.8.0_271" | ||
|
@@ -38,8 +38,8 @@ frp_File="frp_0.36.1_linux_amd64.tar.gz" | |
frp_Dir="frp_0.36.1_linux_amd64" | ||
nps_Ver="v0.26.10" | ||
nps_Install="linux_amd64_server.tar.gz" | ||
sharry_Ver="v1.7.1" | ||
sharry_File="sharry-restserver-1.7.1.zip" | ||
sharry_Ver="v1.8.0" | ||
sharry_File="sharry-restserver-1.8.0.zip" | ||
Ruby_Ver="3.0" | ||
Ruby_Dir="ruby-3.0.0" | ||
Ruby_Install=ruby-3.0.0.tar.gz | ||
|
@@ -51,7 +51,7 @@ Go_Bin=go1.15.6.linux-amd64.tar.gz | |
xray_Ver="1.7.1" | ||
xray_File="xray_linux_amd64.zip" | ||
goby_Ver="Beta1.8.239" | ||
goby_File="goby-linux-x64-1.8.239.zip" | ||
goby_File="goby-linux-x64-1.8.275.zip" | ||
fscan_Ver="1.6.1" | ||
fscan_Install="fscan_amd64" | ||
ffuf_Ver="v1.3.1" | ||
|
@@ -68,21 +68,21 @@ node_bin="node-v14.16.0-linux-x64.tar.xz" | |
node_Dir="node-v14.16.0-linux-x64" | ||
Girsh_Ver="v0.31" | ||
Girsh_bin="Girsh-v0.31-linux-amd64.tar.gz" | ||
bettercap_Ver="v2.31.0" | ||
bettercap_bin="bettercap_linux_amd64_v2.31.0.zip" | ||
bettercap_Ver="v2.31.1" | ||
bettercap_bin="bettercap_linux_amd64_v2.31.1.zip" | ||
mitmproxy_Ver="6.0.2" | ||
mitmproxy_bin="mitmproxy-6.0.2-linux.tar.gz" | ||
naabu_bin="naabu-linux-amd64.tar.gz" | ||
proxify_Ver="v0.0.3" | ||
proxify_bin="proxify_0.0.3_linux_amd64.tar.gz" | ||
clash_Ver="v1.5.0" | ||
clash_bin="clash-linux-amd64-v1.5.0.gz" | ||
fzf_Ver="0.27.0" | ||
fzf_bin="fzf-0.27.0-linux_amd64.tar.gz" | ||
fzf_Ver="0.27.1" | ||
fzf_bin="fzf-0.27.1-linux_amd64.tar.gz" | ||
subfinder_Ver="v2.4.8" | ||
subfinder_bin="subfinder_2.4.8_linux_amd64.tar.gz" | ||
httpx_Ver="v1.0.6" | ||
httpx_bin="httpx_1.0.6_linux_amd64.tar.gz" | ||
httpx_Ver="v1.0.8" | ||
httpx_bin="httpx_1.0.8_linux_amd64.tar.gz" | ||
mapcidr_Ver="v0.0.7" | ||
mapcidr_bin="mapcidr_0.0.7_linux_amd64.tar.gz" | ||
apktool_Ver="v2.5.0" | ||
|
@@ -1550,7 +1550,6 @@ Pentest_Misc_Install(){ | |
else | ||
Rm_Lock | ||
Install_Switch "parallel" | ||
Install_Switch "gdb" | ||
Install_Switch "rlwrap" | ||
case $Linux_Version in | ||
*"Kali"*|*"Ubuntu"*|*"Debian"*) | ||
|
@@ -1562,6 +1561,11 @@ Pentest_Misc_Install(){ | |
*) ;; | ||
esac | ||
|
||
if [ $GitPorxy == ] 2>> /tmp/f8x_error.log # 在使用 kitsune 调用时忽略下列命令 | ||
then | ||
Install_Switch "gdb" | ||
fi | ||
|
||
case $Linux_Version in | ||
*"Kali"*) | ||
Install_Switch "owasp-mantra-ff" | ||
|
@@ -2264,10 +2268,14 @@ Pentest_routersploit_Install(){ | |
Echo_ALERT "正在安装依赖模块,该步骤可能运行较长时间,请耐心等待" && pip3 install -r requirements.txt 1> /dev/null 2>> /tmp/f8x_error.log && Echo_INFOR "已安装 $name 在 $dir 目录下" || Echo_ERROR3 | ||
case $Linux_Version in | ||
*"Kali"*|*"Ubuntu"*|*"Debian"*) | ||
Echo_ALERT "正在安装 Bluetooth Low Energy 支持" | ||
Rm_Lock | ||
Install_Switch "libglib2.0-dev" | ||
Install_Switch5 "bluepy" | ||
|
||
if [ $GitPorxy == ] 2>> /tmp/f8x_error.log # 在使用 kitsune 调用时忽略下列命令 | ||
then | ||
Echo_ALERT "正在安装 Bluetooth Low Energy 支持" | ||
Rm_Lock | ||
Install_Switch "libglib2.0-dev" | ||
Install_Switch5 "bluepy" | ||
fi | ||
;; | ||
*) ;; | ||
esac | ||
|
@@ -3708,14 +3716,14 @@ Goby_Install(){ | |
|
||
} | ||
|
||
# -awvs13 | ||
awvs13_Install(){ | ||
# -awvs14 | ||
awvs14_Install(){ | ||
|
||
echo -e "\033[1;33m\n>> 正在检测 Docker 可用性\n\033[0m" | ||
Docker_Install | ||
|
||
echo -e "\033[1;33m\n>> 正在部署 awvs13 环境\n\033[0m" | ||
docker pull secfa/docker-awvs && Echo_INFOR "已拉取最新版 awvs13 镜像, 请通过下列命令运行:\ndocker run -it -d -p 13443:3443 secfa/docker-awvs\n\n-awvs13 username: [email protected]\n-awvs13 password: Admin123\n-AWVS Version:13.0.200217097\n-browser access:https://127.0.0.1:13443/\n" || Echo_ERROR "部署 awvs13 环境失败,请查看日志 /tmp/f8x_error.log" | ||
echo -e "\033[1;33m\n>> 正在部署 awvs14 环境\n\033[0m" | ||
docker pull secfa/docker-awvs && Echo_INFOR "已拉取最新版 awvs14 镜像, 请通过下列命令运行:\ndocker run -it -d -p 13443:3443 secfa/docker-awvs\n\n-awvs14 username: [email protected]\n-awvs14 password: Admin123\n-AWVS Version:13.0.200217097\n-browser access:https://127.0.0.1:13443/\n" || Echo_ERROR "部署 awvs14 环境失败" | ||
|
||
Echo_INFOR "推荐使用该项目脚本增强配置 : https://github.com/test502git/awvs13_batch_py3" | ||
|
||
|
@@ -3728,7 +3736,7 @@ mobsf_Install(){ | |
Docker_Install | ||
|
||
echo -e "\033[1;33m\n>> 正在部署 MobSF 环境\n\033[0m" | ||
docker pull opensecurity/mobile-security-framework-mobsf && Echo_INFOR "已拉取最新版 MobSF 镜像, 请通过下列命令运行:\n$Porxy_OK docker run -it --rm -p 8000:8000 opensecurity/mobile-security-framework-mobsf:latest\n\n-browser access:http://127.0.0.1:8000/" || Echo_ERROR "部署 MobSF 环境失败,请查看日志 /tmp/f8x_error.log" | ||
docker pull opensecurity/mobile-security-framework-mobsf && Echo_INFOR "已拉取最新版 MobSF 镜像, 请通过下列命令运行:\n$Porxy_OK docker run -it --rm -p 8000:8000 opensecurity/mobile-security-framework-mobsf:latest\n\n-browser access:http://127.0.0.1:8000/" || Echo_ERROR "部署 MobSF 环境失败" | ||
|
||
} | ||
|
||
|
@@ -3739,7 +3747,7 @@ nodejsscan_Install(){ | |
Docker_Install | ||
|
||
echo -e "\033[1;33m\n>> 正在部署 nodejsscan 环境\n\033[0m" | ||
docker pull opensecurity/nodejsscan:latest && Echo_INFOR "已拉取最新版 nodejsscan 镜像, 请通过下列命令运行:\ndocker run -it -p 9090:9090 opensecurity/nodejsscan:latest\n\n-browser access:http://127.0.0.1:9090/" || Echo_ERROR "部署 nodejsscan 环境失败,请查看日志 /tmp/f8x_error.log" | ||
docker pull opensecurity/nodejsscan:latest && Echo_INFOR "已拉取最新版 nodejsscan 镜像, 请通过下列命令运行:\ndocker run -it -p 9090:9090 opensecurity/nodejsscan:latest\n\n-browser access:http://127.0.0.1:9090/" || Echo_ERROR "部署 nodejsscan 环境失败" | ||
|
||
} | ||
|
||
|
@@ -4807,7 +4815,7 @@ Help(){ | |
echo -e "" | ||
echo -e "\033[1;34m5. 基于 Docker 的环境部署\033[0m" | ||
echo -e "\033[0;34m|- 使用\033[0m \033[1;34m-arl\033[0m \033[0;34m选项部署 ARL 环境(872 MB)\033[0m" | ||
echo -e "\033[0;34m|- 使用\033[0m \033[1;34m-awvs13\033[0m \033[0;34m选项部署 AWVS13 环境(1.04 GB)\033[0m" | ||
echo -e "\033[0;34m|- 使用\033[0m \033[1;34m-awvs14\033[0m \033[0;34m选项部署 AWVS14 环境(1.04 GB)\033[0m" | ||
echo -e "\033[0;34m|- 使用\033[0m \033[1;34m-mobsf\033[0m \033[0;34m选项部署 MobSF 环境(1.54 GB)\033[0m" | ||
echo -e "\033[0;34m|- 使用\033[0m \033[1;34m-nodejsscan\033[0m \033[0;34m选项部署 nodejsscan 环境(873 MB)\033[0m" | ||
echo -e "\033[0;34m|- 使用\033[0m \033[1;34m-viper\033[0m \033[0;34m选项部署 Viper 环境(2.1 GB)\033[0m\033[0m" | ||
|
@@ -5079,9 +5087,9 @@ case "$1" in | |
Pentest_Base_Install | ||
arl_Install | ||
;; | ||
-awvs13) | ||
-awvs14) | ||
Porxy_Switch | ||
awvs13_Install | ||
awvs14_Install | ||
;; | ||
-mobsf) | ||
Porxy_Switch | ||
|