Minor typo fixups.
parent
1dae206fde
commit
9eb9d612ca
|
@ -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')
|
||||||
|
|
Loading…
Reference in New Issue