Code Monkey home page Code Monkey logo

flaghunter's Introduction

在AWD攻防赛中通过给定的webshell批量获取flag

为不会现场挖洞写脚本的菜鸡准备

针对简单的单参数传递的一句话和特定的加密一句话

使用metasploit模块标准编写,易于扩展。 测试Msfconsole版本:

└──╼ $msfconsole --version
Framework Version: 5.0.46-dev

目前实现的功能:

  • 批量扫描webshell登录密码,带字典
  • 批量扫描ctf中常用 目录,文件
  • 批量利用websehll执行命令
  • 批量利用websehll上传新的webshell
  • 构造payload,批量验证测试
  • python 很简单,其他功能看懂逻辑功能自己改

1、使用说明

  1. 使用kali或者parrotos,或者安装了metasploit的任意linux机器。
  2. 测试metasploit 版本
  3. git clone https://github.com/dyzsoft/FlagHunter
  4. cd FlagHunter/ ``
  5. 使用 msfconsole -m . 加载当前模块
  6. 使用 search flaghunter 搜索可以使用的模块
 #  Name                                          Disclosure Date  Rank       Check  Description
   -  ----                                          ---------------  ----       -----  -----------
   0  auxiliary/flaghunter/caidao_bruteforce_login  2020-03-22       normal     Yes    AWDFlagHunter utils: Caidao bruteforce login
   1  auxiliary/flaghunter/http_scanner             2020-03-22       normal     Yes    AWDFlagHunter utils: http scanner
   2  exploit/flaghunter/my_caidao_php              2017-01-26       excellent  No     Caidao code execute

目录结构:

┌─[user@parrot]─[~/test/FlagHunter]
└──╼ $tree
.
├── auxiliary
│   └── flaghunter
│       ├── caidao_bruteforce_login.py  ## webshell密码 测试模块
│       ├── caidao_pass.txt             ## 密码字典 
│       ├── ctf_webpath.txt             ## ctf常用路径字典
│       └── http_scanner.py             ## ctf常用路径扫描
├── exploits
│   └── flaghunter
│       └── my_caidao_php.py            ##批量利用websehll模块 
├── LICENSE
└── README.md

4 directories, 7 files

2参考内容

https://github.com/Ares-X/AWD-Predator-Framework

https://github.com/admintony/Prepare-for-AWD

使用请遵守国家相关法律

flaghunter's People

Contributors

dyzsoft avatar

Stargazers

 avatar  avatar  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.