Skip to content

Commit

Permalink
update arm version
Browse files Browse the repository at this point in the history
  • Loading branch information
No-Github committed Mar 3, 2022
1 parent 91176bf commit 0e16543
Showing 1 changed file with 69 additions and 27 deletions.
96 changes: 69 additions & 27 deletions f8x
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,9 @@ dalfox_Ver="v2.7.1"
dalfox_bin_amd64="dalfox_2.7.1_linux_amd64.tar.gz"
dalfox_bin_arm64="dalfox_2.7.1_linux_arm64.tar.gz"
DomainSplit_Ver="1.0"
Platypus_Ver="v1.5.0"
Platypus_bin="Platypus_linux_amd64"
Platypus_Ver="v1.5.1"
Platypus_bin_amd64="Platypus_linux_amd64"
Platypus_bin_arm64="Platypus_linux_arm64"
lua_bin="lua-5.4.3.tar.gz"
lua_dir="lua-5.4.3"
Amass_Ver="v3.17.0"
Expand Down Expand Up @@ -180,13 +181,15 @@ ttyd_Ver="1.6.3"
ttyd_bin_amd64="ttyd.x86_64"
ttyd_bin_arm64="ttyd.arm"
code_server_Ver="v4.0.2"
code_server_bin1="code-server-4.0.2-amd64.rpm"
code_server_bin2="code-server_4.0.2_amd64.deb"
code_server_bin1_amd64="code-server-4.0.2-amd64.rpm"
code_server_bin2_amd64="code-server_4.0.2_amd64.deb"
code_server_bin1_arm64="code-server-4.0.2-arm64.rpm"
code_server_bin2_arm64="code-server_4.0.2_arm64.deb"
dismap_Ver="v0.3"
dismap_bin_amd64="dismap-0.3-linux-amd64"
dismap_bin_arm64="dismap-0.3-linux-arm64"
gojwtcrack_bin="gojwtcrack-linux-amd64.gz"
gojwtcrack_Ver="0.1"
gojwtcrack_bin="gojwtcrack-linux-amd64.gz"
fapro_Ver="v0.59"
fapro_bin_amd64="fapro_linux_x86_64.tar.gz"
fapro_bin_arm64="fapro_linux_arm64.tar.gz"
Expand All @@ -206,8 +209,6 @@ JNDIExploit_bin="JNDIExploit.zip"
sttr_Ver="v0.2.12"
sttr_bin_amd64="sttr_0.2.12_linux_amd64.tar.gz"
sttr_bin_arm64="sttr_0.2.12_linux_arm64.tar.gz"
zscan_Ver="1.3.1"
zscan_bin="zscan_linux_x64"
netspy_Ver="v0.0.5"
netspy_bin_amd64="netspy_linux_amd64.zip"
netspy_bin_arm64="netspy_linux_arm64.zip"
Expand Down Expand Up @@ -2456,17 +2457,25 @@ Pentest_httpx_Install(){
# ===================== Install httpx1.0.5 =====================
Pentest_httpx_old_Install(){

name="httpx1.0.5"
case $Linux_architecture_Name in
*"linux-x86_64"*)
httpx_old_bin="httpx_1.0.5_linux_amd64.tar.gz"
;;
*"linux-arm64"*)
httpx_old_bin="httpx_1.0.5_linux_arm64.tar.gz"
;;
esac

name="httpx1.0.5"
which httpx1.0.5 > /dev/null 2>&1

if [ $? == 0 ]
then
Echo_ALERT "$name installed"
else
cd /tmp && rm -f $httpx_bin > /dev/null 2>&1 && $Porxy_OK wget ${GitPorxy}https://github.com/projectdiscovery/httpx/releases/download/v1.0.5/httpx_1.0.5_linux_amd64.tar.gz > /dev/null 2>&1 || Echo_ERROR2
tar -zxvf httpx_1.0.5_linux_amd64.tar.gz > /dev/null 2>&1
mv --force httpx /usr/local/bin/httpx1.0.5 && chmod +x /usr/local/bin/httpx1.0.5 && rm -f /tmp/httpx_1.0.5_linux_amd64.tar.gz > /dev/null 2>&1
cd /tmp && rm -f $httpx_bin > /dev/null 2>&1 && $Porxy_OK wget ${GitPorxy}https://github.com/projectdiscovery/httpx/releases/download/v1.0.5/$httpx_old_bin > /dev/null 2>&1 || Echo_ERROR2
tar -zxvf $httpx_old_bin > /dev/null 2>&1
mv --force httpx /usr/local/bin/httpx1.0.5 && chmod +x /usr/local/bin/httpx1.0.5 && rm -f /tmp/$httpx_old_bin > /dev/null 2>&1
httpx1.0.5 -version > /dev/null 2>&1 && Echo_INFOR "Successfully installed $name $httpx_Ver in the /usr/local/bin/" || Echo_ERROR3
fi

Expand Down Expand Up @@ -2786,9 +2795,10 @@ Pentest_zscan_Install(){
then
Echo_ALERT "$name installed"
else
cd /tmp && rm -f ${zscan_bin} && $Porxy_OK wget ${GitPorxy}https://github.com/zyylhn/zscan/releases/download/$zscan_Ver/$zscan_bin > /dev/null 2>&1 || Echo_ERROR2
mv --force $zscan_bin /usr/local/bin/zscan && chmod +x /usr/local/bin/zscan
which zscan > /dev/null 2>&1 && Echo_INFOR "Successfully installed $name $zscan_Ver in the /usr/local/bin/" || Echo_ERROR3
export GO111MODULE=on && export GOPROXY=https://goproxy.io && export GOPATH=$HOME/go
go install github.com/zyylhn/zscan
mv $GOPATH/bin/gojwtcrack /usr/local/bin/gojwtcrack && chmod +x /usr/local/bin/gojwtcrack
which gojwtcrack > /dev/null 2>&1 && Echo_INFOR "Successfully installed $name in the /usr/local/bin/" || Echo_ERROR3
fi

}
Expand Down Expand Up @@ -3667,6 +3677,15 @@ Pentest_ncat_Install(){
# ===================== Install Platypus =====================
Pentest_Platypus_Install(){

case $Linux_architecture_Name in
*"linux-x86_64"*)
Platypus_bin=$Platypus_bin_amd64
;;
*"linux-arm64"*)
Platypus_bin=$Platypus_bin_arm64
;;
esac

name="Platypus"
which Platypus > /dev/null 2>&1

Expand Down Expand Up @@ -3947,10 +3966,20 @@ Pentest_gojwtcrack_Install(){
then
Echo_ALERT "$name installed"
else
cd /tmp && rm -f ${gojwtcrack_bin} > /dev/null 2>&1 && $Porxy_OK wget ${GitPorxy}https://github.com/x1sec/gojwtcrack/releases/download/${gojwtcrack_Ver}/${gojwtcrack_bin} > /dev/null 2>&1 || Echo_ERROR2
gunzip ${gojwtcrack_bin} && rm -rf ${gojwtcrack_bin}
mv gojwtcrack-linux-amd64 /usr/local/bin/gojwtcrack && chmod +x /usr/local/bin/gojwtcrack
which gojwtcrack > /dev/null 2>&1 && Echo_INFOR "Successfully installed $name ${gojwtcrack_Ver} in the /usr/local/bin/" || Echo_ERROR3
case $Linux_architecture_Name in
*"linux-x86_64"*)
cd /tmp && rm -f ${gojwtcrack_bin} > /dev/null 2>&1 && $Porxy_OK wget ${GitPorxy}https://github.com/x1sec/gojwtcrack/releases/download/${gojwtcrack_Ver}/${gojwtcrack_bin} > /dev/null 2>&1 || Echo_ERROR2
gunzip ${gojwtcrack_bin} && rm -rf ${gojwtcrack_bin}
mv gojwtcrack-linux-* /usr/local/bin/gojwtcrack && chmod +x /usr/local/bin/gojwtcrack
which gojwtcrack > /dev/null 2>&1 && Echo_INFOR "Successfully installed $name ${gojwtcrack_Ver} in the /usr/local/bin/" || Echo_ERROR3
;;
*"linux-arm64"*)
export GO111MODULE=on && export GOPROXY=https://goproxy.io && export GOPATH=$HOME/go
go install github.com/x1sec/gojwtcrack
mv $GOPATH/bin/gojwtcrack /usr/local/bin/gojwtcrack && chmod +x /usr/local/bin/gojwtcrack
which gojwtcrack > /dev/null 2>&1 && Echo_INFOR "Successfully installed $name in the /usr/local/bin/" || Echo_ERROR3
;;
esac
fi

}
Expand Down Expand Up @@ -4764,7 +4793,7 @@ duf_Install(){
esac

mkdir -p /tmp/dufinstall && cd $_ && $Porxy_OK wget ${GitPorxy}https://github.com/muesli/duf/releases/download/$duf_Ver/$duf_bin1 > /dev/null 2>&1 || Echo_ERROR2
rpm -i $duf_bin1 > /dev/null 2>&1 && Echo_INFOR "Successfully installed $name $code_server_Ver" || Echo_ERROR3
rpm -i $duf_bin1 > /dev/null 2>&1 && Echo_INFOR "Successfully installed $name $duf_Ver" || Echo_ERROR3
rm -rf /tmp/dufinstall
;;
*"Kali"*|*"Ubuntu"*|*"Debian"*)
Expand All @@ -4779,7 +4808,7 @@ duf_Install(){
esac

mkdir -p /tmp/dufinstall && cd $_ && $Porxy_OK wget ${GitPorxy}https://github.com/muesli/duf/releases/download/$duf_Ver/$duf_bin2 > /dev/null 2>&1 || Echo_ERROR2
dpkg -i $duf_bin2 > /dev/null 2>&1 && Echo_INFOR "Successfully installed $name $code_server_Ver" || Echo_ERROR3
dpkg -i $duf_bin2 > /dev/null 2>&1 && Echo_INFOR "Successfully installed $name $duf_Ver" || Echo_ERROR3
rm -rf /tmp/dufinstall
;;
*) ;;
Expand Down Expand Up @@ -4919,13 +4948,31 @@ code-server_Install(){
else
case $Linux_Version in
*"CentOS"*|*"RedHat"*|*"Fedora"*|*"AlmaLinux"*|*"VzLinux"*|*"Rocky"*)
case $Linux_architecture_Name in
*"linux-x86_64"*)
code_server_bin1=$code_server_bin1_amd64
;;
*"linux-arm64"*)
code_server_bin1=$code_server_bin1_arm64
;;
esac

mkdir -p /tmp/code-serverinstall && cd $_ && $Porxy_OK wget ${GitPorxy}https://github.com/cdr/code-server/releases/download/$code_server_Ver/$code_server_bin1 > /dev/null 2>&1 || Echo_ERROR2
rpm -i $code_server_bin1 > /dev/null 2>&1 && Echo_INFOR "Successfully installed $name $code_server_Ver" || Echo_ERROR3
rm -rf /tmp/code-serverinstall
# sudo systemctl enable --now code-server@$USER
# Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml
;;
*"Kali"*|*"Ubuntu"*|*"Debian"*)
case $Linux_architecture_Name in
*"linux-x86_64"*)
code_server_bin2=$code_server_bin2_amd64
;;
*"linux-arm64"*)
code_server_bin2=$code_server_bin2_arm64
;;
esac

mkdir -p /tmp/code-serverinstall && cd $_ && $Porxy_OK wget ${GitPorxy}https://github.com/cdr/code-server/releases/download/$code_server_Ver/$code_server_bin2 > /dev/null 2>&1 || Echo_ERROR2
dpkg -i $code_server_bin2 > /dev/null 2>&1 && Echo_INFOR "Successfully installed $name $code_server_Ver" || Echo_ERROR3
rm -rf /tmp/code-serverinstall
Expand Down Expand Up @@ -6887,13 +6934,8 @@ kali_Tools_TypeD(){
Pentest_unfurl_Install
echo -e "\033[1;33m\n>> Installing qsreplace\n\033[0m"
Pentest_qsreplace_Install

case $Linux_architecture_Name in
*"linux-x86_64"*)
echo -e "\033[1;33m\n>> Installing Platypus\n\033[0m"
Pentest_Platypus_Install
;;
esac
echo -e "\033[1;33m\n>> Installing Platypus\n\033[0m"
Pentest_Platypus_Install

# Pentest_interactsh_Install
# Pentest_jwtcat_Install
Expand Down

0 comments on commit 0e16543

Please sign in to comment.