rootđź’€bl4ck4non-sec:~#

Hack. Eat. Sleep. Repeat!!!

View on GitHub

API Payments 01


image

Our task is to find a way to tell the shopping application that you paid without paying.

Navigate to the webpage

image

Lets add something to cart

image

Checking out, you’ll see this

image

Lets provide these information, we’ll capture the request on burpsuite and send it over to burp repeater

image image

You can see we got a url that redirects to the success page (which tells us that the payment was successful)

Mavigating to that url

image image

We got the key hehe

Submitting the key

image

We have successfully completed this exercise


API Payments 02


image

Our goal is to discover how to use this behaviour in the shopping application to avoid paying the full amount

We were provided with a credit card

image

Now, navigate to the webpage

image image

Lets proceed to check out

image

We’ll provide the card details and try to purchase the key

image image

oops, insufficient funds.

Lets provide our card details again, but this time we’ll capture the request using burpsuite and send it over to burp repeater

image

What happens when we change the amount to another price, say 1??

Well, lets find out

image

Nice hehe, lets navigate to the url page that tells us the payment was a success

image

Submitting the key

image

We have successfully completed this exercise


#


image

Our task is to get the key that solves this exercise for less

Navigate to the webpage

image

Trying to buy the key

image

We get the “insufficient fund” error