{"id":17677636,"url":"https://github.com/heathj/strip-request","last_synced_at":"2025-10-16T17:21:22.837Z","repository":{"id":130688269,"uuid":"135516586","full_name":"heathj/strip-request","owner":"heathj","description":"A tool for minimizing HTTP requests.","archived":false,"fork":false,"pushed_at":"2018-07-02T20:01:08.000Z","size":26,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-05T20:03:35.902Z","etag":null,"topics":["burpsuite","http","http-requests","pentesting"],"latest_commit_sha":null,"homepage":null,"language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/heathj.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-05-31T01:41:09.000Z","updated_at":"2023-07-05T08:20:06.000Z","dependencies_parsed_at":"2023-07-12T11:16:48.346Z","dependency_job_id":null,"html_url":"https://github.com/heathj/strip-request","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heathj%2Fstrip-request","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heathj%2Fstrip-request/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heathj%2Fstrip-request/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heathj%2Fstrip-request/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heathj","download_url":"https://codeload.github.com/heathj/strip-request/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246358029,"owners_count":20764363,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","http","http-requests","pentesting"],"created_at":"2024-10-24T07:29:11.609Z","updated_at":"2025-10-16T17:21:22.756Z","avatar_url":"https://github.com/heathj.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# strip-request\n\nA tool for stripping away unnecessary headers, query parameters, and post body \nparameters from an HTTP request.\n\n## Installation\n\nDownload one of the release [jars](https://github.com/heathj/strip-request/releases)\nand use it:\n\n`java -jar strip-request.jar -h`\n\n## Usage\n\n`strip-request` is simple to use with raw HTTP requests that are usually acquired\nfrom the browser or through a tool such as Burp repeater. A normal workflow, for\nexample, when using Repeater would be right-click a request in Repeater and select,\n\"Copy to File...\". Once the request is saved, strip the request using the following\ncommand:\n\n`java -jar strip-request.jar -i request.txt`\n\nThe following request to [example.com](http://example.com)\n\n~~~http\nGET / HTTP/1.1\nHost: example.com\nUser-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\nAccept-Language: en-US,en;q=0.5\nAccept-Encoding: gzip, deflate\nConnection: keep-alive\nUpgrade-Insecure-Requests: 1\nPragma: no-cache\nCache-Control: no-cache\n\n~~~\n\nwill produce the following output\n\n~~~\nOriginal request:\n-----------------\nGET / HTTP/1.1\nHost: example.com\nUser-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\nAccept-Language: en-US,en;q=0.5\nAccept-Encoding: gzip, deflate\nConnection: keep-alive\nUpgrade-Insecure-Requests: 1\nPragma: no-cache\nCache-Control: no-cache\n\n\n\nBase response:\n-----------------\n{:headers\n {\"Vary\" \"Accept-Encoding\",\n  \"X-Cache\" \"HIT\",\n  \"Last-Modified\" \"Fri, 09 Aug 2013 235435 GMT\",\n  \"Date\" \"Sat, 30 Jun 2018 193225 GMT\",\n  \"Accept-Ranges\" \"bytes\",\n  \"Cache-Control\" \"max-age=604800\",\n  \"Content-Length\" \"606\",\n  \"Server\" \"ECS (sjc/4E38)\",\n  \"Content-Type\" \"text/html\",\n  \"Content-Encoding\" \"gzip\",\n  \"Etag\" \"\\\"1541025663+gzip\\\"\",\n  \"Expires\" \"Sat, 07 Jul 2018 193225 GMT\"},\n :content-length 606,\n :status-code 200,\n :status-msg \"OK\"}\n\nStriped request:\n-----------------\nGET / HTTP/1.1\nAccept-Encoding: gzip, deflate\nHost: example.com\n\n\n\nStripped response:\n-----------------\n{:headers\n {\"Vary\" \"Accept-Encoding\",\n  \"X-Cache\" \"HIT\",\n  \"Last-Modified\" \"Fri, 09 Aug 2013 235435 GMT\",\n  \"Date\" \"Sat, 30 Jun 2018 193225 GMT\",\n  \"Accept-Ranges\" \"bytes\",\n  \"Cache-Control\" \"max-age=604800\",\n  \"Content-Length\" \"606\",\n  \"Server\" \"ECS (sjc/4E39)\",\n  \"Content-Type\" \"text/html\",\n  \"Content-Encoding\" \"gzip\",\n  \"Etag\" \"\\\"1541025663+gzip\\\"\",\n  \"Expires\" \"Sat, 07 Jul 2018 193225 GMT\"},\n :content-length 606,\n:status-code 200,\n :status-msg \"OK\"}\n~~~\n\n## Options\n\n~~~\nstrip-request: a command line tool for stripping away unnecessary headers, query parameters, and cookies from requests.\n\nUsage: strip-request [options]\n\nOptions:\n  -u, --http                  Make the request over HTTP (defaults to TLS).\n  -t, --host HOST  127.0.0.1  Host to make the request to\n  -p, --port PORT  443        Port number to connect to.\n  -r, --req FILE              File containing an HTTP request.\n  -v                          Verbose mode; more v's -\u003e more verbose.\n  -h, --help\n~~~\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheathj%2Fstrip-request","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheathj%2Fstrip-request","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheathj%2Fstrip-request/lists"}