0

I'm trying to inject cookies that are already encoded in base64 that look like this:

XSRF-TOKEN=eyJpdiI6IioiLCJ2YWx1ZSI6IioiLCJtYWMiOiIqIn0=

Decoded looks like this: XSRF-TOKEN={"iv":"*","value":"*","mac":"*"}

So what I tried to do was to inject the IV parameter in the cookie:

sqlmap.py -u https://example.com --cookie="XSRF-TOKEN={"iv":"*","value":"*","mac":"*"}" -p iv --base64=iv,value,mac

This does not work because it's not detecting the cookies. Can someone help me detect the cookie and encode it?

nobody
  • 11,251
  • 1
  • 41
  • 60
Juan2
  • 1
  • 2

0 Answers0