Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
No-Github committed Nov 29, 2021
1 parent 8339ec9 commit 2e76318
Show file tree
Hide file tree
Showing 4 changed files with 89 additions and 5 deletions.
64 changes: 64 additions & 0 deletions .github/workflows/run-f8x-ctf.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: f8x-ctf
on:
push:
paths:
- 'f8x-ctf'

jobs:
ubuntu-2004-build:
runs-on: ubuntu-20.04
steps:
- name: Checkout codes
uses: actions/checkout@v2

- name: init
run:
touch /tmp/IS_CI

- name: Run
run:
sudo bash f8x

- name: Run -h
run:
sudo bash f8x -h

- name: Run -clear
run:
sudo bash f8x -clear

- name: Run -b
run:
sudo bash f8x -b

- name: Run -d
run:
sudo bash f8x -d

- name: Run -web
run:
sudo bash f8x-ctf -web

- name: Run -crypto
run:
sudo bash f8x-ctf -crypto

- name: Run -misc
run:
sudo bash f8x-ctf -misc

- name: Run -re
run:
sudo bash f8x-ctf -re

- name: Run -pwn
run:
sudo bash f8x-ctf -pwn

- name: Run -info
run:
sudo bash f8x -info

- name: log
run:
cat /tmp/f8x_error.log
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: dev
name: f8x
on:
push:
paths:
Expand Down
2 changes: 1 addition & 1 deletion README.zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

---

大多数场景下,在不同的云购买一些 vps 服务器用于部署红 / 蓝队设施,不能做到开箱即用,使用此工具可以快速部署所需要的各类服务。同时兼顾到本地 VM 虚拟机的需求,可以选择走 socket 代理进行安装部署,Proxychains-ng 也会自动安装,只需做好 Proxychains-ng 配置即可。
大多数场景下,在不同的云购买一些 vps 服务器用于部署红 / 蓝队设施,不能做到开箱即用,使用 f8x 可以快速部署所需要的各类服务。同时兼顾到本地 VM 虚拟机的需求,可以选择走 socket 代理进行安装部署,Proxychains-ng 也会自动安装,只需做好 Proxychains-ng 配置即可。

## 开始

Expand Down
26 changes: 23 additions & 3 deletions f8x
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Proxy_URL="https://cdn.ffffffff0x.com/?durl=https://codeload.github.com/rofl0r/p
Porxy_OK=
Docker_OK=
error=0
F8x_Version="1.5.9 Dev(Beta4)"
F8x_Version="1.5.9 Dev(Beta5)"

# ===================== Software version variable setting =====================
hashcat_Version="hashcat-6.2.5"
Expand Down Expand Up @@ -113,7 +113,7 @@ Platypus_Ver="v1.5.0"
Platypus_bin="Platypus_linux_amd64"
lua_bin="lua-5.4.3.tar.gz"
lua_dir="lua-5.4.3"
Amass_Ver="v3.15.0"
Amass_Ver="v3.15.1"
Amass_bin="amass_linux_amd64.zip"
gobuster_Ver="v3.1.0"
gobuster_bin="gobuster-linux-amd64.7z"
Expand Down Expand Up @@ -147,7 +147,7 @@ dismap_Ver="v0.2"
dismap_bin="dismap-linux-amd64"
gojwtcrack_bin="gojwtcrack-linux-amd64.gz"
gojwtcrack_Ver="0.1"
fapro_Ver="v0.45"
fapro_Ver="v0.46"
fapro_bin="fapro_linux_x86_64.tar.gz"
py37_ver="3.7.12"
py37_bin="Python-3.7.12.tar.xz"
Expand All @@ -165,6 +165,8 @@ JNDIExploit_bin="JNDIExploit.v1.2.zip"
JNDIExploit_dir="JNDIExploit.v1.2"
sttr_Ver="v0.2.6"
sttr_bin="sttr_0.2.6_linux_amd64.tar.gz"
zscan_Ver="1.1.0"
zscan_bin="zscan_linux_x64"

# ===================== Base Folder =====================
Base_Dir(){
Expand Down Expand Up @@ -2500,6 +2502,22 @@ Pentest_WebCrack_fork_Install(){

}

Pentest_zscan_Install(){

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

if [ $? == 0 ]
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
fi

}

# ===================== Install Metasploit =====================
Pentest_Metasploit_Install(){

Expand Down Expand Up @@ -5950,6 +5968,8 @@ kali_Tools_TypeA(){
echo -e "\033[1;33m\n>> Installing WebCrack\n\033[0m"
Pentest_WebCrack_Install

# Pentest_zscan_Install

}

kali_Tools_TypeB(){
Expand Down

0 comments on commit 2e76318

Please sign in to comment.