mirror of
https://github.com/nmap/nmap.git
synced 2025-12-16 04:39:03 +00:00
New, broader portrule for SSH scripts. Closes #1825
This commit is contained in:
@@ -43,7 +43,7 @@ categories = {
|
||||
'intrusive',
|
||||
}
|
||||
|
||||
portrule = shortport.port_or_service(22, 'ssh')
|
||||
portrule = shortport.ssh
|
||||
|
||||
local username = stdnse.get_script_args 'ssh-run.username'
|
||||
local cmd = stdnse.get_script_args 'ssh-run.cmd'
|
||||
|
||||
Reference in New Issue
Block a user