Drupalgeddon
Examples of common attack vectors and defenses against the drupalgeddon SQL injection vulnerability
Install / Use
/learn @mkorostoff/DrupalgeddonREADME
Drupalgeddon examples
The files included in this repository are a reverse engineered version of the files which were used against my site during the Drupalgeddon attacks. Read more at http://mattkorostoff.com/article/I-survived-drupalgeddon-how-hackers-took-over-my-site
Explaination
Attack files
exploit.php: the main attack file. This injects some SQL and installs 2 backdoors.deobfuscate.php: for reference only. A deobfuscated version of the file which is uploaded on line 60 of exploit.phpexecute-php.php: must be used in conjunction with exploit.php. Once exploit.php has finished running,execute-php.phpcan be used to run any php on the exploited server.inject-sql.php: a stand alone client for SQL injection. This file may be used on its own without running any other file.uploader.php: for reference only. a local version of the file which is fetched on line 175 of exploit.php
Defense files
secure_file_permissions.sh: A shell script which will set your file permissions to safe valuesvarnish_config.vcl: an example VCL file which will drop all post traffic in Varnishhtaccess.txt: works with the above VCL file. creates a list of IP which are permitted to access apache directly without going through varnish.
Reference files
exploited_code: an exact copy of my code base, after it was attacked.exploited_db.sql.zip: an exact copy of my database, after it was attacked (passwords removed)
Related Skills
feishu-drive
339.5k|
things-mac
339.5kManage Things 3 via the `things` CLI on macOS (add/update projects+todos via URL scheme; read/search/list from the local Things database)
clawhub
339.5kUse the ClawHub CLI to search, install, update, and publish agent skills from clawhub.com
yu-ai-agent
2.0k编程导航 2025 年 AI 开发实战新项目,基于 Spring Boot 3 + Java 21 + Spring AI 构建 AI 恋爱大师应用和 ReAct 模式自主规划智能体YuManus,覆盖 AI 大模型接入、Spring AI 核心特性、Prompt 工程和优化、RAG 检索增强、向量数据库、Tool Calling 工具调用、MCP 模型上下文协议、AI Agent 开发(Manas Java 实现)、Cursor AI 工具等核心知识。用一套教程将程序员必知必会的 AI 技术一网打尽,帮你成为 AI 时代企业的香饽饽,给你的简历和求职大幅增加竞争力。

