Amazon Interview Question

Code to exploit IDOR vulnerability