File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
modules/post/windows/manage Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -22,9 +22,9 @@ def initialize(info={})
22
22
'License' => MSF_LICENSE ,
23
23
'Author' => [ 'Borja Merino <bmerinofe[at]gmail.com>' ] ,
24
24
'References' =>
25
- [
26
- [ 'URL' , 'http://www.youtube.com/watch?v=vdppEZjMPCM&hd=1' ]
27
- ] ,
25
+ [
26
+ [ 'URL' , 'http://www.youtube.com/watch?v=vdppEZjMPCM&hd=1' ]
27
+ ] ,
28
28
'Platform' => [ 'windows' ] ,
29
29
'SessionTypes' => [ 'meterpreter' ]
30
30
) )
@@ -60,7 +60,7 @@ def run
60
60
61
61
def disable_network_wizard
62
62
if not is_admin?
63
- print_error ( "You don't have enough privileges to change the registry. Network Wizard will no be disable" )
63
+ print_error ( "You don't have enough privileges to change the registry. Network Wizard will not be disable" )
64
64
return
65
65
end
66
66
@@ -85,7 +85,7 @@ def create_pbk(mim,pbk_name)
85
85
conf_conn += "MEDIA=rastapi\r \n "
86
86
conf_conn += "Port=VPN4-0\r \n "
87
87
conf_conn += "DEVICE=vpn\r \n "
88
- conf_conn += "IpPrioritizeRemote=0\r \n " if mim == false
88
+ conf_conn += "IpPrioritizeRemote=0\r \n " unless mim
89
89
90
90
if write_file ( pbk_file , conf_conn )
91
91
print_good ( "PhoneBook configuration written to #{ pbk_file } " )
You can’t perform that action at this time.
0 commit comments