Forrest logo
back to the dirsearch tool

dirsearch:tldr:bcaa7

dirsearch: Scan a web server using a cookie.
$ dirsearch --url ${url} --extensions ${php} --cookie ${cookie}
try on your machine

The command you provided is using a tool called "dirsearch" to perform a directory/file enumeration on a specified URL. Here is the breakdown of each parameter in the command:

  • dirsearch: This is the name of the tool being executed.
  • --url ${url}: This parameter is used to specify the target URL for the enumeration. You need to replace ${url} with the actual URL you want to scan.
  • --extensions ${php}: This parameter is used to specify the file extensions to look for during the enumeration. In this case, it specifies that the tool should search for files with a .php extension. You can replace ${php} with any other desired file extension.
  • --cookie ${cookie}: This parameter is used to include a cookie value with the request. It is important for certain applications that require authentication or session management. Replace ${cookie} with the actual cookie value you want to include in the request.

Make sure to replace the placeholders (${url}, ${php}, ${cookie}) with the appropriate values specific to your target.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the dirsearch tool