From 997e8005ce89be44e4db3b8c0fc467688716ad19 Mon Sep 17 00:00:00 2001 From: William Vu Date: Wed, 21 Oct 2015 13:22:09 -0500 Subject: [PATCH] Fix nil http_method in php_include --- modules/exploits/unix/webapp/php_include.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/exploits/unix/webapp/php_include.rb b/modules/exploits/unix/webapp/php_include.rb index 164b9b2f49..960c8387dd 100644 --- a/modules/exploits/unix/webapp/php_include.rb +++ b/modules/exploits/unix/webapp/php_include.rb @@ -121,6 +121,7 @@ class Metasploit3 < Msf::Exploit::Remote end uris.uniq! print_status("Loaded #{uris.length} URLs") + http_method = "GET" end # Very short timeout because the request may never return if we're