Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions exploit.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
require 'erb'
require "./demo-5.2.1/config/environment"
require "base64"
require 'net/http'

$proxy_addr = '127.0.0.1'
Expand Down Expand Up @@ -93,7 +92,6 @@
abort
end

command_b64 = Base64.encode64(command)

print "[+] Generating payload CVE-2019-5420 => "
secret_key_base = credentials.secret_key_base
Expand Down