{"id":27275311,"url":"https://github.com/the-xentropy/dump-scripts","last_synced_at":"2025-04-11T15:48:28.959Z","repository":{"id":199505773,"uuid":"424559466","full_name":"the-xentropy/dump-scripts","owner":"the-xentropy","description":"Downloads all scripts on an external page to a local directory, with support for automatic deobfuscation/prettifying.","archived":false,"fork":false,"pushed_at":"2021-11-04T16:03:27.000Z","size":6,"stargazers_count":18,"open_issues_count":0,"forks_count":8,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-10-10T17:07:56.108Z","etag":null,"topics":["cybersecurity","hacking","webpack"],"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/the-xentropy.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}},"created_at":"2021-11-04T10:47:32.000Z","updated_at":"2023-10-10T17:09:09.598Z","dependencies_parsed_at":"2023-10-10T17:09:03.736Z","dependency_job_id":null,"html_url":"https://github.com/the-xentropy/dump-scripts","commit_stats":null,"previous_names":["the-xentropy/dump-scripts"],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the-xentropy%2Fdump-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the-xentropy%2Fdump-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the-xentropy%2Fdump-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the-xentropy%2Fdump-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/the-xentropy","download_url":"https://codeload.github.com/the-xentropy/dump-scripts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248433859,"owners_count":21102681,"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":["cybersecurity","hacking","webpack"],"created_at":"2025-04-11T15:48:28.456Z","updated_at":"2025-04-11T15:48:28.949Z","avatar_url":"https://github.com/the-xentropy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dump-scripts\n\nDumps all scripts on a page to a local directory, including inline scripts.\n\n\n## Usage\n\n`usage: dump-scripts.py [-h] [--useragent USERAGENT] [--prettify] URL`\n\ne.g. \n\n`./dump-scripts.py https://reddit.com`\n\n`python3 dump-scripts.py --useragent=\"haxbot v1337\" https://wikipedia.com`\n\n`python3 dump-scripts.py --prettify https://www.example.com`\n\nAfter which you will have a folder called \"scripts\" underneath the directory the dump-scripts.py file resides in containing all scripts found on said page.\n\n\n## Prettifying\n\ndump-scripts relies on [js-beautify](https://github.com/beautify-web/js-beautify) for supporting prettifying all scripts through the `--prettify` flag (this also rudimentarily unminifies/unpacks them). If you want to use it, you have to install the `jsbeautifier` pip package, but I intentionally designed this script so that it will still work without it.\n\nTo install the package required:\n\n`$ pip install jsbeautifier`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthe-xentropy%2Fdump-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthe-xentropy%2Fdump-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthe-xentropy%2Fdump-scripts/lists"}