Code Monkey home page Code Monkey logo

w01fh4cker / serein Goto Github PK

View Code? Open in Web Editor NEW
1.1K 19.0 190.0 83.44 MB

【懒人神器】一款图形化、批量采集url、批量对采集的url进行各种nday检测的工具。可用于src挖掘、cnvd挖掘、0day利用、打造自己的武器库等场景。可以批量利用Actively Exploited Atlassian Confluence 0Day CVE-2022-26134和DedeCMS v5.7.87 SQL注入 CVE-2022-23337。

Python 100.00%
gui batch 0day cve-2022-26134 cve-2022-22980 cve-2022-29464 cve-2022-22954 cve-2022-25078 cve-2022-8515 cve-2018-13379

serein's Introduction

Serein | 身处落雨的黄昏 | 该项目暂停更新

Linux English version is online! | Linux英文版版本上线!

http://github.com/W01fh4cker/Serein_Linux

Declaration | 声明

  • 该项目仅供授权下使用,禁止使用该项目进行违法操作,否则自行承担后果,请各位遵守《中华人民共和国网络安全法》!!!

  • 由于是短时间熬夜所写,头脑昏昏,料想会有不少错误,欢迎指出,我的联系方式在下方已经贴出,不胜感激!

  • 计划七月份每天增加一个漏洞利用模块,所以欢迎star/fork,您的每一个starfork都是我前进的动力!

  • 🐹欢迎进入我的交流群一起探讨学习,群二维码在最后。🐹

Version | 版本

Latest-Interface-Display | 最新版页面展示

Exploit-Example | 利用示例

  1. 我们想批量利用向日葵RCE漏洞,于是我们base64加密语句body="Verification failure",得到:Ym9keT0iVmVyaWZpY2F0aW9uIGZhaWx1cmUi

  2. 我们选取获取前2000条(具体条数需要根据自己的会员情况来填写):

    0

    1

    2

  3. 直接点击向日葵RCE一把梭

    4

  4. 可以看到软件开始批量检测了(可能会出现短时间的空白,请耐心等待程序运行):

    5

    软件的线程数是100,可以自己对exp文件下的xrk_rce.py的第58行进行调整。(速度还是很快的)

  5. 删除文件夹下urls.txt修正后的url.txthost.txt这三个文件,准备使用其他一键梭哈模块:

How-To-Use | 如何使用

我已经录制了使用视频,并且上传到了B站:https://www.bilibili.com/video/bv1Dv4y137Lu

  1. 需要python3.7~3.9

    git clone https://github.com/W01fh4cker/Serein.git
    cd Serein
    pip3 install -r requirements.txt
    python3 Serein.py
  2. 点击左上角的软件配置配置fofaemailkey(注意不是密码,而是https://fofa.info/personalData下方的API KEY),然后就可以愉快地使用fofa搜索啦。 注意:必须是fofa普通/高级/企业账号,因为fofa注册会员调用api需要消耗f币,如果您是注册会员请确保您有f币,否则无法查询!

  3. 搜集完成之后,软件的同级目录下会生成urls.txt修正后的url.txthost.txt,分别保存采集的原始url、添加了http/https头的url仅网站IP

  4. 完成一次扫描任务后,若要开启下一次扫描,请删除文件夹下urls.txt修正后的url.txthost.txt这三个文件。

  5. 如果您在使用中遇到任何问题、有活泼的想法,您有三种途径与我反馈交流:

mailto:sharecat2022@gmail.com

https://github.com/W01fh4cker/Serein/issues

添加微信W01fh4cker

To-Do List | 要做的事儿

  1. 完善权重查询模块。当我们一键梭哈完之后,想提交补天等漏洞平台的时候,由于平台有权重要求,所以要对含有漏洞的网站需要进行ip-->domain,然后反查域名,利用多个查询接口进行权重查询,筛选出符合权重要求的网站,导出出来。
  2. (优先)添加其他的搜索引擎,如:CensysZoomeyeQuake等。
  3. 增加代理模式。
  4. 其他的暂时还没想到,如果小伙伴们有什么想法可以直接在issues里面提出。

My Community | W01fh4cker的兴趣交流社区

  • https://discord.gg/n2c5Eaw4Jx

加我微信W01fh4cker拉交流群

微信交流群二维码

Star Growth Curve | Star增长曲线

Star History Chart

serein's People

Contributors

axsction avatar w01fh4cker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

serein's Issues

模块更新

师傅,自己有poc,或者你每天更新poc,怎么在gui上面更新会方便些,不会是每次都要重新下载py文件和新增的poc吧。

mac下dll报错

具体报错信息:
Traceback (most recent call last):
File "/Users/coke/Desktop/Serein-main/Serein.py", line 75, in
ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID(myappid)
AttributeError: module 'ctypes' has no attribute 'windll'
是在windows下运行好一些么

_tkinter.TclError: no display name and no $DISPLAY environment variable

[root@iris-ft-lv-ws01 Serein]# python3 Serein.py
Traceback (most recent call last):
File "/root/Serein/Serein.py", line 60, in
window = tk.Tk()
File "/usr/local/python3/lib/python3.9/site-packages/ttkbootstrap/style.py", line 5142, in __init__wrapper
func(self, *args, **kwargs)
File "/usr/local/python3/lib/python3.9/tkinter/init.py", line 2263, in init
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: no display name and no $DISPLAY environment variable

No module named

windows: py3.6.5
报错信息:
$ python3 Serein.py
Traceback (most recent call last):
File "Serein.py", line 5, in
from exp.Thinkphp_5_0_x_gethell import *
File "E:\exploit\Serein\exp\Thinkphp_5_0_x_gethell.py", line 6, in
from ttkbootstrap.constants import *
ModuleNotFoundError: No module named 'ttkbootstrap.constants'

Linux:Python 3.7.3
报错信息:
python3 Serein_Linux.py
Traceback (most recent call last):
File "Serein_Linux.py", line 3, in
from tkinter import *
ModuleNotFoundError: No module named 'tkinter'

建议在nday利用集合里添加个搜索框

每时期都会有新漏洞出现,你后期也会不断的更新更多poc,这时漏洞过多就会比较难快速寻找。所以建议添加个搜索框,用关键字就能定位到当前可以使用的漏洞。

txt

扫描完成以后没有找到url.txt

使用出现问题

FOFA账号升级成G版之后一直提示出错,在代码里把FOFA的地址改成了g.fofa.info,总算可以正常采集了。这里有个小问题,错误提示是语句可能存在错误,所以我反复检查了N遍语句。。突然在某个点上想到可能是接口变了。
还有就是有几个模块可能存在问题,一把梭哈的时候会突然卡在住不动,且每次卡的地方可能都不一样。具体发现是sonicwall、F5bigip、Dede。
最后,感谢大佬分享。用友NC RCE真的很好用!感谢

问题求教

漏洞利用模块支持自行导入URL吗?

upadte

师傅项目不更新了吗,搁置了?

功能建议

首先感谢大佬的无私奉献,但是,小弟有一个建议,可否加一个任务进程,可以直观看到已经完成的数量和剩余的数量

更新问题

大师傅,下了最新的,但是里面没有那个apache spark rce的利用,咋添加啊
图片

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.