Summery

“Directory traversal” and “path traversal” attacks refer to the same thing.

Web

Systems

On Linux you usually test for directory traversal attacks with /etc/passwd. You would then look for sensitive data like SSH keys, but because Windows has stricter permissions, you’re most likely limited to webserver’s files or some really low hanging fruits.

On Windows, use C:\Windows\System32\drivers\etc\hosts. When working with an IIS Windows server, check both C:\inetpub\wwwroot\web.config and C:\inetpub\logs\LogFiles\W3SVC1 for crucial data.

Be mindful of using forward slashes in Windows \ and not back slashes / as like on Linux. Windows sometimes also uses backslashes so it’s best to try both.