Minor typo fixups.

bug/bundler_fix
Pearce Barry 2016-11-11 16:54:16 -06:00
parent 1dae206fde
commit 9eb9d612ca
No known key found for this signature in database
GPG Key ID: 0916F4DEA5C5DE0A
1 changed files with 3 additions and 3 deletions

View File

@ -63,10 +63,10 @@ class MetasploitModule < Msf::Exploit::Local
def check_config_bpf_syscall?() def check_config_bpf_syscall?()
output = cmd_exec('grep CONFIG_BPF_SYSCALL /boot/config-`uname -r`') output = cmd_exec('grep CONFIG_BPF_SYSCALL /boot/config-`uname -r`')
if output == 'CONFIG_BPF_SYSCALL=y' if output == 'CONFIG_BPF_SYSCALL=y'
vprint_good('CONFIG_BPF_SYSCAL is set to yes') vprint_good('CONFIG_BPF_SYSCALL is set to yes')
return true return true
else else
print_error('CONFIG_BPF_SYSCAL is NOT set to yes') print_error('CONFIG_BPF_SYSCALL is NOT set to yes')
return false return false
end end
end end
@ -95,7 +95,7 @@ class MetasploitModule < Msf::Exploit::Local
def mount_point_exists?() def mount_point_exists?()
if directory?('/tmp/fuse_mount') if directory?('/tmp/fuse_mount')
print_error('/tmp/fuse_mount should be unmounted and deleted. Exploittion will fail.') print_error('/tmp/fuse_mount should be unmounted and deleted. Exploitation will fail.')
return false return false
else else
vprint_good('/tmp/fuse_mount doesn\'t exist') vprint_good('/tmp/fuse_mount doesn\'t exist')