Certified Ethical Hacker (CEH) Practice Question

During a web assessment you notice the shopping cart page relies on JavaScript to enforce a maximum purchase quantity of 5 items. When the form is submitted, your interception proxy shows the request body as product_id=7743&qty=5&price=49.99. You want to order 500 items without triggering the browser's client-side check so that the server processes the larger quantity. Which approach is most reliable for bypassing this client-side control?

  • Intercept the POST request with a proxy, change the qty parameter to 500, then forward it to the server.

  • Use browser developer tools to edit the DOM after clicking Submit but before the response is received.

  • Disable JavaScript in the browser and refresh the page before submitting the form.

  • Alter the user-agent header so the site thinks you are using a mobile browser that lacks the quantity limit.

Certified Ethical Hacker (CEH)
Web Application Hacking
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot