The argument -p80 --script http-userdir-enum launches the NSE script httpuserdir- enum if a web server is found on port 80 (-p80). Apache web servers with mod_userdir allow access to user directories by using URIs such as http://domain. com/~root/, and this script helps us to perform dictionary attacks to enumerate valid users.