Skip to content

Commit

Permalink
Land #9931, minor fixes for #9876 (Drupalgeddon 2)
Browse files Browse the repository at this point in the history
  • Loading branch information
wvu authored and msjenkins-r7 committed Apr 26, 2018
1 parent d340ef2 commit 492b600
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions modules/exploits/unix/webapp/drupal_drupalgeddon2.rb
Expand Up @@ -19,8 +19,6 @@ def initialize(info = {})
This module exploits a Drupal property injection in the Forms API.
Drupal 6.x, < 7.58, 8.2.x, < 8.3.9, < 8.4.6, and < 8.5.1 are vulnerable.
Tested on 7.57 and 8.4.5.
},
'Author' => [
'Jasper Mattsson', # Vulnerability discovery
Expand Down Expand Up @@ -201,16 +199,6 @@ def exploit
end
end

# XXX: Ivars are being preserved
def cleanup
begin
remove_instance_variable(:@version)
rescue NameError
end

super
end

def dropper_assert
php_file = Pathname.new(
"#{datastore['WritableDir']}/#{random_crap}.php"
Expand Down

0 comments on commit 492b600

Please sign in to comment.