Coder Social home page Coder Social logo

f8x's Introduction


f8x

一款红/蓝队环境自动化部署工具,支持多种场景,渗透,开发,代理环境,服务可选项等.

开始支持选项FAQ实际效果TODOLicense


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

开始

下载

  • 访问 releases 下载

  • 在网络不佳的情况下通过 jsdelivr cdn 加速下载

    • wget : wget https://cdn.jsdelivr.net/gh/ffffffff0x/f8x@main/f8x
    • curl : curl -o f8x https://cdn.jsdelivr.net/gh/ffffffff0x/f8x@main/f8x

使用

bash f8x -h

系统依赖

f8x 基本上不需要任何依赖,或者说它就是为了帮助你安装各种依赖而生的😁


支持选项

目前 f8x 支持以下部署选项

1. 批量化安装

  • 使用 -b 选项安装基本环境 (gcc、make、git、vim、telnet、jq、unzip 等基本工具)
  • 使用 -p 选项安装代理环境 (警告:国外云服务器上不要用,会降速)
  • 使用 -d 选项安装开发环境 (python3、pip3、Go、Docker、Docker-Compose、Terraform)
  • 使用 -k 选项安装渗透环境 (hashcat、ffuf、OneForAll、ksubdomain、impacket 等渗透工具)
  • 使用 -s 选项安装蓝队环境 (Fail2Ban、chkrootkit、rkhunter、河马webshell查杀工具)
  • 使用 -f 选项安装其他工具 (Bash_Insulter、vlmcsd、AdguardTeam、trash-cli)
  • 使用 -h 选项查看帮助文档
  • 使用 -all 选项全自动化部署 (默认不走代理,兼容 CentOS7/8,Debain10/9,Ubuntu20/18,Fedora33)

2. 开发环境

  • 使用 -nn 选项安装 npm & NodeJs 环境
  • 使用 -oraclejdk 选项安装 oraclejdk 环境
  • 使用 -openjdk 选项安装 openjdk 环境
  • 使用 -python3 选项安装 python3 环境
  • 使用 -python2 选项安装 python2 环境
  • 使用 -pip2-f 选项强制安装 pip2 环境 (建议在 -python2 选项失败的情况下运行)
  • 使用 -perl 选项安装 perl 环境
  • 使用 -ruby 选项安装 ruby 环境
  • 使用 -rust 选项安装 rust 环境
  • 使用 -chromium 选项安装 Chromium 环境 (用于配合 -k 选项中的 rad、crawlergo)

3. 蓝队服务

  • 使用 -binwalk 选项安装 binwalk 环境
  • 使用 -binwalk-f 选项强制安装 binwalk 环境 (建议在 -binwalk 选项失败的情况下运行)
  • 使用 -hfish 选项安装 HFish 蜜罐
  • 使用 -lt 选项部署 LogonTracer 环境 (非超高配置机器不要部署,这个应用太吃配置了)
  • 使用 -suricata 选项部署 Suricata 环境
  • 使用 -vol 选项安装 volatility 取证工具
  • 使用 -vol3 选项安装 volatility3 取证工具

4. 红队服务

  • 使用 -cs 选项部署 CobaltStrike 环境
  • 使用 -frp 选项部署 frp 环境
  • 使用 -goby 选项部署 Goby 环境 (需要图形化环境)
  • 使用 -nps 选项部署 nps 环境

5. 基于 Docker 的环境部署

  • 使用 -arl 选项部署 ARL 环境(872 MB)
  • 使用 -awvs13 选项部署 AWVS13 环境(1.04 GB)
  • 使用 -mobsf 选项部署 MobSF 环境(1.54 GB)
  • 使用 -nodejsscan 选项部署 nodejsscan 环境(873 MB)
  • 使用 -viper 选项部署 Viper 环境(2.1 GB)
  • 使用 -vulhub 选项部署 vulhub 环境(210 MB)
  • 使用 -vulfocus 选项部署 vulfocus 环境(1.04 GB)

6. 杂项服务

  • 使用 -asciinema 选项安装 asciinema 截图工具
  • 使用 -bt 选项部署宝塔服务
  • 使用 -music 选项部署 UnblockNeteaseMusic 服务
  • 使用 -sharry 选项部署 sharry 文件服务
  • 使用 -ssh 选项配置 SSH 环境 (RedHat 系默认可用,无需重复安装)
  • 使用 -ssr 选项部署 ssr 工具

7. 其他

  • 使用 -clear 选项清理系统使用痕迹
  • 使用 -info 选项查看系统各项信息
  • 使用 -optimize 选项改善设备选项,优化性能
  • 使用 -remove 选项卸载国内vps云监控
  • 使用 -rmlock 选项运行除锁模块

FAQ

-p 选项会执行什么

  1. 替换你的 DNS(默认为 223.5.5.5), 如果判断是 debian 系还会帮你安装 resolvconf, 长期修改 DNS
  2. 检查基础的编译环境是否安装, 并通过默认的包管理器安装 gcc,make,unzip 这些基本软件
  3. 可选的从 https://github.com/rofl0r/proxychains-ng 或 ffffffff0x.com 下载 Proxychains-ng 的源码, 编译安装
  4. 要求你修改 /etc/proxychains.conf 文件
  5. 修改 pip 代理为 https://mirrors.aliyun.com/pypi/simple/
  6. 修改 docker 代理为 https://docker.mirrors.ustc.edu.cn , 并重启 docker 服务

为啥要从 ffffffff0x.com 或 gitee.com 下载软件压缩包

  1. 下载的都是需要科学上网的东西,所以尽量在不科学上网的情况下,速度较快的下载,所以这个是先有鸡还是先有蛋的问题
  2. oracle jdk 安装包我就不用解释了把🤣

实际效果

-h 查看帮助

-all 全自动化部署

以 vultr vps 为例,$10/mo 的配置,结果分别如下


CentOS 7(完全兼容)


Debian 10(完全兼容)


Fedora 33(完全兼容)


Ubuntu 20.10(完全兼容)


TODO

  • 将 xray 社区版集成到 -k 选项中
  • 将 masscan 集成到 -k 选项中
  • 生成错误日志
  • vulfocus 安装选项
  • 卸载国内vps云监控
  • 参考 oneforall 丰富输出信息
  • goby 安装选项
  • awvs
  • CS CrossC2 插件
  • tomcat 指定版本安装选项
  • weblogic 指定版本安装选项
  • 完善 -info 选项内容

License

Apache License 2.0

f8x's People

Contributors

no-github avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.