{"id":51027358,"url":"https://github.com/xnomas/web-ctf-help","last_synced_at":"2026-06-21T20:49:11.007Z","repository":{"id":54372550,"uuid":"326282969","full_name":"xnomas/web-ctf-help","owner":"xnomas","description":"Collection of scripts to help with web based ctfs.","archived":false,"fork":false,"pushed_at":"2021-05-30T16:51:32.000Z","size":55,"stargazers_count":22,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-27T18:41:45.353Z","etag":null,"topics":["ctf","ctf-tools","ctfs","hackthebox","python","scraping","security","tryhackme","web-ctf"],"latest_commit_sha":null,"homepage":"","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/xnomas.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":"2021-01-02T22:30:18.000Z","updated_at":"2025-03-04T10:20:47.000Z","dependencies_parsed_at":"2022-08-13T13:40:51.581Z","dependency_job_id":null,"html_url":"https://github.com/xnomas/web-ctf-help","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xnomas/web-ctf-help","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xnomas%2Fweb-ctf-help","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xnomas%2Fweb-ctf-help/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xnomas%2Fweb-ctf-help/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xnomas%2Fweb-ctf-help/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xnomas","download_url":"https://codeload.github.com/xnomas/web-ctf-help/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xnomas%2Fweb-ctf-help/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34625624,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-21T02:00:05.568Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["ctf","ctf-tools","ctfs","hackthebox","python","scraping","security","tryhackme","web-ctf"],"created_at":"2026-06-21T20:49:10.275Z","updated_at":"2026-06-21T20:49:11.002Z","avatar_url":"https://github.com/xnomas.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Web-CTF-Help\n\n## Description\n\nA simple set of scripts (mainly scrapers for now) intended for aid in web CTFs. Find image sources (and alts), javascript sources and comments. \n\n## Usage\n\n```bash\nusage: webctf [-h] [-v] [--comments] [--scripts] [--images] [--headers] [--cookies COOKIES] [--flags FLAGS] [-f] url\n\npositional arguments:\n  url            URL of the target website\n\noptional arguments:\n  -h, --help     show this help message and exit\n  -v, --version  show program's version number and exit\n  --comments     only display HTML comments (default: False)\n  --scripts      only display script sources (default: False)\n  --images       only display image sources (default: False)\n  --headers      only display interesting response headers (combine with -f to display all) (default: False)\n  --cookies COOKIES  add cookies to your request in the following format \"name=value;name2=value2\" (default: None)\n  --flags FLAGS      search for a flag hidden on the website in the following format \"pattern\", and will be searched as \"pattern\\{*\\}\" (default: None)\n  -f, --full     enable full output for all options (default: False)\n```\n\n```bash\nwebctf https://example.com\n```\n\nOnly display HTML comments and script sources:\n\n```bash\nwebctf --comments --scripts https://example.com\n```\n```\n=============\nCOMMENTS\n=============\n\n[+] 1 :   Internal game scripts/styles, mostly boring stuff\n[+] 2 :   This is our database of messages\n\n=============\nSCRIPTS\n=============\n\n[+] 1 : /static/game-frame.js\n[+] 2 : /static/post-store.js\n```\n\nOnly display interesting headers:\n\n```bash\nwebctf --headers https://example.com\n```\n```\n===================\nINTERESTING HEADERS\n===================\n\nServer : Google Frontend\n```\n\nDisplay all headers:\n\n```bash\nwebctf --headers -f https://example.com\n```\n```\n=============\nALL HEADERS\n=============\n\nContent-Type : text/html; charset=utf-8\nCache-Control : no-cache\nX-Cloud-Trace-Context : df6d1758c776f4fbc4b3bab158818b64;o=1\nDate : Fri, 01 Jan 2021 20:19:57 GMT\nServer : Google Frontend\nContent-Length : 2689\nAlt-Svc : h3-29=\":443\"; ma=2592000,h3-T051=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"\n```\nSend a request with a cookie and only get comments\n\n```bash\nwebctf --cookies \"name1=value1;name2=value2\" --comments https://example.com \n```\n```\n==============\nUsing cookies:\n==============\n\n[+] name1 = value1\n[+] name2 = value2\n\n=============\nCOMMENTS\n=============\n\n[+] 1 :   Internal game scripts/styles, mostly boring stuff\n```\n\n## Installation\n\n```bash\npython3 -m pip install git+https://github.com/xnomas/web-ctf-help.git\n```\n\n## Future plans\n\nI plan to implement a download function, to download the images, js files and so on. If you have any suggestions feel free to give them to me, \nbut please keep in mind that I am still a student :) \n\n## Thank you!\n\nThank you to [sinus-x](https://github.com/sinus-x) for helping!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxnomas%2Fweb-ctf-help","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxnomas%2Fweb-ctf-help","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxnomas%2Fweb-ctf-help/lists"}