Skip to content

Commit c39233f

Browse files
committed
添加 spray 和 zombie 的安装支持
1 parent a41f504 commit c39233f

File tree

2 files changed

+74
-2
lines changed

2 files changed

+74
-2
lines changed

f8x

Lines changed: 70 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Proxy_OK=
3232
Docker_OK=
3333
error=0
3434
Linux_architecture_Name=
35-
F8x_Version="1.7.6 Dev(2025/08/27)"
35+
F8x_Version="1.7.6 Dev(2025/09/25)"
3636
wget_option="-q --show-progress"
3737

3838
# ===================== Software version variable setting (dev) =====================
@@ -332,6 +332,14 @@ tlsx_bin_arm64="tlsx_1.2.1_linux_arm64.zip"
332332
gogo_Ver="v2.14.0"
333333
gogo_File_amd64="gogo_linux_amd64"
334334
gogo_File_arm64="gogo_linux_arm64"
335+
# https://github.com/chainreactors/spray
336+
spray_Ver="v1.2.2"
337+
spray_File_amd64="spray_linux_amd64"
338+
spray_File_arm64="spray_linux_arm64"
339+
# https://github.com/chainreactors/zombie
340+
zombie_Ver="v1.2.2"
341+
zombie_File_amd64="zombie_linux_amd64"
342+
zombie_File_arm64="zombie_linux_arm64"
335343
# https://github.com/projectdiscovery/simplehttpserver
336344
simplehttpserver_Ver="v0.0.6"
337345
simplehttpserver_bin_amd64="simplehttpserver_0.0.6_linux_amd64.zip"
@@ -3649,6 +3657,62 @@ Pentest_gogo_Install(){
36493657

36503658
}
36513659

3660+
# ===================== Install spray =====================
3661+
Pentest_spray_Install(){
3662+
3663+
case $Linux_architecture_Name in
3664+
*"linux-x86_64"*)
3665+
spray_File=$spray_File_amd64
3666+
;;
3667+
*"linux-arm64"*)
3668+
spray_File=$spray_File_arm64
3669+
;;
3670+
esac
3671+
3672+
name="spray"
3673+
3674+
which spray > /dev/null 2>&1
3675+
3676+
if [ $? == 0 ]
3677+
then
3678+
Echo_ALERT "$name installed"
3679+
else
3680+
mkdir -p /tmp/spray && cd /tmp/spray && rm -f $spray_File > /dev/null 2>&1 && $Proxy_OK wget ${GitProxy}https://github.com/chainreactors/spray/releases/download/$spray_Ver/$spray_File > /dev/null 2>&1 || Echo_ERROR2
3681+
mv --force $spray_File /usr/local/bin/spray && chmod +x /usr/local/bin/spray
3682+
which spray > /dev/null 2>&1 && Echo_INFOR "Successfully installed $name $spray_Ver in the /usr/local/bin/" || Echo_ERROR3
3683+
rm -rf /tmp/spray && cd /tmp
3684+
fi
3685+
3686+
}
3687+
3688+
# ===================== Install zombie =====================
3689+
Pentest_zombie_Install(){
3690+
3691+
case $Linux_architecture_Name in
3692+
*"linux-x86_64"*)
3693+
zombie_File=$zombie_File_amd64
3694+
;;
3695+
*"linux-arm64"*)
3696+
zombie_File=$zombie_File_arm64
3697+
;;
3698+
esac
3699+
3700+
name="zombie"
3701+
3702+
which zombie > /dev/null 2>&1
3703+
3704+
if [ $? == 0 ]
3705+
then
3706+
Echo_ALERT "$name installed"
3707+
else
3708+
mkdir -p /tmp/zombie && cd /tmp/zombie && rm -f $zombie_File > /dev/null 2>&1 && $Proxy_OK wget ${GitProxy}https://github.com/chainreactors/zombie/releases/download/$zombie_Ver/$zombie_File > /dev/null 2>&1 || Echo_ERROR2
3709+
mv --force $zombie_File /usr/local/bin/zombie && chmod +x /usr/local/bin/zombie
3710+
which zombie > /dev/null 2>&1 && Echo_INFOR "Successfully installed $name $zombie_Ver in the /usr/local/bin/" || Echo_ERROR3
3711+
rm -rf /tmp/zombie && cd /tmp
3712+
fi
3713+
3714+
}
3715+
36523716
# ===================== Install csprecon =====================
36533717
Pentest_csprecon_Install(){
36543718

@@ -3883,7 +3947,7 @@ Pentest_httpx_Install(){
38833947
rm -rf /tmp/httpx && cd /tmp
38843948
httpx -version > /dev/null 2>&1 && Echo_INFOR "Successfully installed $name $httpx_Ver in the /usr/local/bin/" || Echo_ERROR3
38853949
fi
3886-
3950+
``
38873951
}
38883952

38893953
# ===================== Install subfinder =====================
@@ -9926,6 +9990,10 @@ kali_Tools_TypeA(){
99269990
Pentest_tlsx_Install
99279991
echo -e "\033[1;33m\n>> Installing gogo\n\033[0m"
99289992
Pentest_gogo_Install
9993+
echo -e "\033[1;33m\n>> Installing spray\n\033[0m"
9994+
Pentest_spray_Install
9995+
echo -e "\033[1;33m\n>> Installing zombie\n\033[0m"
9996+
Pentest_zombie_Install
99299997

99309998
# Pentest_gospider_Install
99319999
# Pentest_dismap_Install

f8x_version.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,10 @@ tlsx_bin_arm64="tlsx_1.2.1_linux_arm64.zip"
304304
gogo_Ver="v2.14.0"
305305
gogo_File_amd64="gogo_linux_amd64"
306306
gogo_File_arm64="gogo_linux_arm64"
307+
# https://github.com/chainreactors/spray
308+
spray_Ver="v1.2.2"
309+
spray_File_amd64="spray_linux_amd64"
310+
spray_File_arm64="spray_linux_arm64"
307311
# https://github.com/projectdiscovery/simplehttpserver
308312
simplehttpserver_Ver="v0.0.6"
309313
simplehttpserver_bin_amd64="simplehttpserver_0.0.6_linux_amd64.zip"

0 commit comments

Comments
 (0)