Skip to content

Commit b882639

Browse files
rootroot
authored andcommitted
Cosmetic changes
1 parent ba5d6fc commit b882639

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

modules/post/windows/manage/pptp_tunnel.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ def initialize(info={})
2222
'License' => MSF_LICENSE,
2323
'Author' => [ 'Borja Merino <bmerinofe[at]gmail.com>'],
2424
'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+
],
2828
'Platform' => [ 'windows' ],
2929
'SessionTypes' => [ 'meterpreter' ]
3030
))
@@ -60,7 +60,7 @@ def run
6060

6161
def disable_network_wizard
6262
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")
6464
return
6565
end
6666

@@ -85,7 +85,7 @@ def create_pbk(mim,pbk_name)
8585
conf_conn += "MEDIA=rastapi\r\n"
8686
conf_conn += "Port=VPN4-0\r\n"
8787
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
8989

9090
if write_file(pbk_file,conf_conn)
9191
print_good ("PhoneBook configuration written to #{pbk_file}")

0 commit comments

Comments
 (0)