BCACTF 5.0 | Phone Number

Published on: February 5, 2025

1 min read · Posted by Baba is Dead

Challenge Details

Description

Category

Web Exploitation

Difficulty

Easy

Topics

Competition

BCACTF 5.0

Author

Baba is Dead

I was trying to sign into this website, but now it's asking me for a phone number. The way I'm supposed to input it is strange. Can you help me sign in?

Writeup

Solve Process

We are brought to a website, where we have to key in our phone number by rolling a dice
image13
image14

Our goal is to key in the phone number in the question description, 1234567890. It should be noted that the text input cannot be edited, since it is set to read only, and some funny javascript is preventing you from changing it. Of course, you can probably just override the javascript, but i found it easier to just intercept the request.

I used burpsuite to better inspect and edit the requests being sent to the server.

This is request being sent
image15

The body of the request seems to be the phone number sent to the server.

As such, in burpsuite, we can easily edit the request being sent, to directly send our desired phone number
image16
image17

Please login to comment


Comments

No comments yet