Minor bugfix

bug/bundler_fix
Peter Toth 2013-11-13 02:07:06 +01:00
parent 1fed50c96a
commit 2d9e8e09e6
1 changed files with 5 additions and 5 deletions

View File

@ -94,12 +94,12 @@ class Metasploit3 < Msf::Post
vpn_name = datastore['VPN_CONNECTION']
if up
header = "Connecting to VPN: #{vpn_name}"
connection_state = 'STR_CONNECTED'
connection_unnecessary = " #{vpn_name} already connected"
connection_state = STR_CONNECTED
connection_unnecessary = "#{vpn_name} already connected"
else
header = "Disconnecting from VPN: #{vpn_name}"
connection_state = 'STR_DISCONNECTED'
connection_unnecessary = " #{vpn_name} already disconnected"
connection_state = STR_DISCONNECTED
connection_unnecessary = "#{vpn_name} already disconnected"
end
print_status(header)
@ -119,7 +119,7 @@ class Metasploit3 < Msf::Post
end
if identifier.nil?
print_error(" #{vpn_name} not found")
print_error("#{vpn_name} not found")
return
end