{"id":21469918,"url":"https://github.com/dobin/proxybypasser","last_synced_at":"2025-03-17T06:41:54.935Z","repository":{"id":39863110,"uuid":"495700310","full_name":"dobin/proxybypasser","owner":"dobin","description":"Bypass proxy download restrictions with JavaScript download","archived":false,"fork":false,"pushed_at":"2022-05-24T08:46:27.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-23T16:12:05.005Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dobin.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":"2022-05-24T06:40:07.000Z","updated_at":"2023-04-25T17:33:39.000Z","dependencies_parsed_at":"2022-09-16T18:02:13.426Z","dependency_job_id":null,"html_url":"https://github.com/dobin/proxybypasser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dobin%2Fproxybypasser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dobin%2Fproxybypasser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dobin%2Fproxybypasser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dobin%2Fproxybypasser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dobin","download_url":"https://codeload.github.com/dobin/proxybypasser/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243988956,"owners_count":20379649,"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":[],"created_at":"2024-11-23T09:19:29.745Z","updated_at":"2025-03-17T06:41:54.904Z","avatar_url":"https://github.com/dobin.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Proxy Bypasser\n\nProvides a HTTP server which serves a directory of files, \nwhich can be downloaded via JavaScript. They will be zipped. Indicated filetype is PDF (not really relevant). \n\nProxies are blind for this technique. \n\n\n## Usage\n\n```\n$ pip install -r requirements.txt\n$ python3 proxybypasser.py --path /mnt/data\n```\n\n\n## What?\n\nContent of file is in `{{filecontent}}` inside a javascript variable inside a \nhtml. No HTTP request to the file is being performed, its all in the browser. \n\n`download.html`:\n```javascript\n\u003cscript\u003e\n    function download() {\n        const linkSource = `data:application/pdf;base64,{{filecontent}}`;\n        const downloadLink = document.createElement('a');\n        document.body.appendChild(downloadLink);\n    \n        downloadLink.href = linkSource;\n        downloadLink.target = '_self';\n        downloadLink.download = \"{{filename}}\";\n        downloadLink.click(); \n    }\n\u003c/script\u003e\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdobin%2Fproxybypasser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdobin%2Fproxybypasser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdobin%2Fproxybypasser/lists"}