{"id":13542041,"url":"https://github.com/bayotop/off-by-slash","last_synced_at":"2026-03-03T17:33:12.461Z","repository":{"id":46036127,"uuid":"153941615","full_name":"bayotop/off-by-slash","owner":"bayotop","description":"Burp extension to detect alias traversal via NGINX misconfiguration at scale.","archived":false,"fork":false,"pushed_at":"2021-11-18T15:08:36.000Z","size":91,"stargazers_count":259,"open_issues_count":1,"forks_count":35,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-20T11:38:15.487Z","etag":null,"topics":["burpsuite","nginx","path-traversal"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bayotop.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-10-20T19:37:25.000Z","updated_at":"2025-04-17T00:09:40.000Z","dependencies_parsed_at":"2022-09-07T13:15:08.311Z","dependency_job_id":null,"html_url":"https://github.com/bayotop/off-by-slash","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bayotop/off-by-slash","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bayotop%2Foff-by-slash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bayotop%2Foff-by-slash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bayotop%2Foff-by-slash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bayotop%2Foff-by-slash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bayotop","download_url":"https://codeload.github.com/bayotop/off-by-slash/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bayotop%2Foff-by-slash/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30052493,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-03T15:26:47.567Z","status":"ssl_error","status_checked_at":"2026-03-03T15:26:17.132Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["burpsuite","nginx","path-traversal"],"created_at":"2024-08-01T10:01:00.614Z","updated_at":"2026-03-03T17:33:12.417Z","avatar_url":"https://github.com/bayotop.png","language":"Python","funding_links":[],"categories":["Exploitation","Vulnerability Specific Extensions","\u003ca id=\"5b761419863bc686be12c76451f49532\"\u003e\u003c/a\u003e新添加"],"sub_categories":["Directory Traversal","\u003ca id=\"285c52a4e04dd2f86646c8e1235c9332\"\u003e\u003c/a\u003e工具"],"readme":"# off-by-slash\nBurp extension to detect alias traversal via NGINX misconfiguration at scale. Requires Burp Professional.\n\n![Issue](issue.png?raw=true \"off-by-slash in Burp 2.0\")\n\n## Usage\n\n1. git clone https://github.com/bayotop/off-by-slash/\n2. Burp -\u003e Extender -\u003e Add -\u003e find and select `off-by-slash.py`\n\nThe extension implements an active scanner check. Simply run a new scan, preferably with an \"Audit checks - extensions only\" configuration, on static resources identified via Burp's crawler. Alternatively, use `scrape.py` with a list of URLs to scrape static resources from. The results can be directly passed to a new Burp scan (Burp 2.0).\n\n## Description\n\n*https://i.blackhat.com/us-18/Wed-August-8/us-18-Orange-Tsai-Breaking-Parser-Logic-Take-Your-Path-Normalization-Off-And-Pop-0days-Out-2.pdf*\n\nA server is assumed to be vulnerable if a request to an existing path like `https://example.com/static../` returns the same response as `https://example.com/`. To eliminate false positives the misconfiguration has to be confirmed by successfully requesting an existing resource via path traversal. This is done as follows:\n\nFor the URL https://example.com/folder1/folder2/static/main.css it generates the following links:\n\n```\nhttps://example.com/folder1../folder1/folder2/static/main.css\nhttps://example.com/folder1../%s/folder2/static/main.css\nhttps://example.com/folder1/folder2../folder2/static/main.css\nhttps://example.com/folder1/folder2../%s/static/main.css\nhttps://example.com/folder1/folder2/static../static/main.css\nhttps://example.com/folder1/folder2/static../%s/main.css\n```\n\nWhere `%s` are common directories used in alias paths based on around 9500 nginx configuration files from GH (thanks [@TomNomNom](https://twitter.com/TomNomNom)), see directories.txt.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbayotop%2Foff-by-slash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbayotop%2Foff-by-slash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbayotop%2Foff-by-slash/lists"}