Fixed incorrect variable within get_sql_history

unstable
ohdae 2012-03-16 01:40:12 -03:00
parent f6a2e2b890
commit 13b92b97e9
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ class Metasploit3 < Msf::Post
sql_hist = cat_file("/home/#{u}/.mysql_history")
end
save("History for #{u}", hist) unless sql_hist =~ /No such file or directory/
save("History for #{u}", sql_hist) unless sql_hist =~ /No such file or directory/
end
else
vprint_status("Extracting SQL history for #{user}")