Skip to content

Commit b5e39c2

Browse files
committed
修正 Amass 安装包格式
1 parent c39233f commit b5e39c2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

f8x

Lines changed: 5 additions & 5 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/09/25)"
35+
F8x_Version="1.7.7 Dev(2025/09/29)"
3636
wget_option="-q --show-progress"
3737

3838
# ===================== Software version variable setting (dev) =====================
@@ -231,8 +231,8 @@ Platypus_bin_amd64="Platypus_linux_amd64"
231231
Platypus_bin_arm64="Platypus_linux_arm64"
232232
# https://github.com/OWASP/Amass/releases
233233
Amass_Ver="v5.0.1"
234-
Amass_bin_amd64="amass_linux_amd64.zip"
235-
Amass_bin_arm64="amass_linux_arm64.zip"
234+
Amass_bin_amd64="amass_linux_amd64.tar.gz"
235+
Amass_bin_arm64="amass_linux_arm64.tar.gz"
236236
# https://github.com/OJ/gobuster/releases
237237
gobuster_Ver="v3.8.2"
238238
gobuster_bin_amd64="gobuster_Linux_x86_64.tar.gz"
@@ -3510,7 +3510,7 @@ Pentest_fscan_Install(){
35103510
else
35113511
mkdir -p /tmp/fscan && cd /tmp/fscan && rm -f $fscan_Install && $Proxy_OK wget ${GitProxy}https://github.com/shadow1ng/fscan/releases/download/$fscan_Ver/$fscan_Install > /dev/null 2>&1 || Echo_ERROR2
35123512
mv --force $fscan_Install /usr/local/bin/fscan && chmod +x /usr/local/bin/fscan
3513-
fscan > /dev/null 2>&1 && Echo_INFOR "Successfully installed $name $fscan_Ver in the /usr/local/bin/" || Echo_ERROR3
3513+
which fscan && Echo_INFOR "Successfully installed $name $fscan_Ver in the /usr/local/bin/" || Echo_ERROR3
35143514
rm -rf /tmp/fscan && cd /tmp
35153515
fi
35163516

@@ -4170,7 +4170,7 @@ Pentest_Amass_Install(){
41704170
Echo_ALERT "$name installed"
41714171
else
41724172
mkdir -p /tmp/Amass && cd /tmp/Amass && rm -rf ${Amass_bin} && $Proxy_OK wget ${GitProxy}https://github.com/owasp-amass/amass/releases/download/$Amass_Ver/$Amass_bin > /dev/null 2>&1 || Echo_ERROR2
4173-
unzip ${Amass_bin} > /dev/null 2>&1 && rm -rf ${Amass_bin}
4173+
tar -zxvf ${Amass_bin} > /dev/null 2>&1 && rm -rf ${Amass_bin}
41744174
mv --force amass_*/amass /usr/local/bin/amass && chmod +x /usr/local/bin/amass
41754175
rm -rf /tmp/Amass && cd /tmp
41764176
which amass > /dev/null 2>&1 && Echo_INFOR "Successfully installed $name $Amass_Ver in the /usr/local/bin/" || Echo_ERROR3

0 commit comments

Comments
 (0)