Skip to content

Commit 784be06

Browse files
committed
Update nmap
* Use cmd_exec
1 parent d98d2ff commit 784be06

File tree

1 file changed

+1
-1
lines changed
  • modules/exploits/freebsd/local

1 file changed

+1
-1
lines changed

modules/exploits/freebsd/local/mmap.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def initialize(info={})
5555
end
5656

5757
def check
58-
res = session.shell_command_token("uname -a")
58+
res = cmd_exec('uname -a')
5959
return Exploit::CheckCode::Appears if res =~ /FreeBSD 9\.[01]/
6060

6161
Exploit::CheckCode::Safe

0 commit comments

Comments
 (0)