GithubHelp home page GithubHelp logo

j5s / celestion Goto Github PK

View Code? Open in Web Editor NEW

This project forked from orleven/celestion

0.0 0.0 0.0 1.33 MB

Celestion 是一个无回显漏洞测试辅助平台,平台使用flask编写,提供DNSLOG,HTTPLOG等功能。 (界面懒得弄,后续有需要再说)。

Python 40.81% HTML 59.19%

celestion's Introduction

概述

Celestion 是一个无回显漏洞测试辅助平台,平台使用flask编写,提供DNSLOG,HTTPLOG等功能。 (界面懒得弄,后续有需要再说)。

Python 3.9

  1. 提供DNSLOG
  2. 提供HTTPLOG(完整request数据包)
  3. 自定义HTTP返回包(status_code, headers, body)
  4. 自定义DNS解析(A记录)
  5. DNS Rebinding
  6. 支持钉钉机器人
  7. 支持API查询

安装

  1. 申请A.com, B.com 2个域名,并配置NS、A记录,参考BugScanTeam/DNSLog 的域名配置部分#安装-3

  2. 修改 lib/core/config,配置内容请看注释。

  3. 运行初始化

python3.9 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python init.py
  1. 运行
source venv/bin/activate
python celestion.py

模块

展示

show

show

自定义DNS-A记录

dns

自定义HTTP返回包

dns

API接口

接口格式:

import requests
url = "http://{ADMIN_DOMAIN}/{path}"
headers = {
    "API-Key": "你的API-Key", 
    "Content-Type": "application/json",
}
data = {}
response = requests.request("POST", url, headers=headers, json=data)
print(response.json())

API-Key 在 http://{ADMIN_DOMAIN}/reset 页面可以看到。

  1. /api/weblog/list
data = {
    "page": 1,
    "per_page": 10,
    "ip": "",
    "url": "",
}
  1. /api/weblog/detail
data = {
    "id": 1,
}
  1. /api/dnslog/list
data = {
    "domain": "",
    "ip": "",
}

参考

  1. BugScanTeam/DNSLog

celestion's People

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.