SnakeCase option looks better

bug/bundler_fix
Meatballs 2014-02-14 21:05:24 +00:00
parent 983f5abc2f
commit f7858bf1a7
No known key found for this signature in database
GPG Key ID: 5380EAF01F2F8B38
1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ module VncInjectOptions
"Disables the Metasploit Courtesy shell",
true
]),
OptBool.new('VIEW_ONLY',
OptBool.new('ViewOnly',
[
false,
"Runs the viewer in view mode",
@ -85,7 +85,7 @@ module VncInjectOptions
# If the AUTOVNC flag is set, launch VNC viewer.
if (datastore['AUTOVNC'] == true)
if (session.autovnc(datastore['VIEW_ONLY']))
if (session.autovnc(datastore['ViewOnly']))
print_status("Launched vncviewer.")
else
print_error("Failed to launch vncviewer. Is it installed and in your path?")