An order at Fogline Market
Fogline Market sells goods for the home, the desk and the outdoors. In this practice shop you use Sol’s fictional account. Prices are in US dollars (USD) and no money changes hands.
The case file is the challenge’s page, with the brief and your progress. Open it from the site with “Back to the case file”.
Skip to the task
Your task
Find a notebook and check how many are left before and after you buy one. CTF goal: obtain evidence the server can verify that a test account can see, change or trigger something it should not.
What is a CTF and how do I know I’ve solved it?
CTF stands for Capture the Flag. It is a case you investigate on your own, without hints. First you use the site like any customer to learn how it normally works. To see and repeat the site’s requests, you use Hackory’s HTTP Inspector: on a phone it is the only way, because phones have no developer tools. A security finding is proof that a test account can see, change or trigger something the application should not allow. Once the server verifies that proof in your attempt, the case file shows “Finding verified”.
Look up a product
Search by name or category. Open the notebook’s product page and make a note of how many are in stock.
Review your cart
Add one notebook. Look at the product page again, then confirm the order from your cart.
Check the result
Find your order number and return to the notebook to compare the stock. “Back to the case file” takes you back to this CTF attempt.
The attempt you had open was reset. Enter from this page to see the current attempt.
Visit the marketSign in to save your attempt. Create an account
CTFs and examsHow to investigate with the Inspector
Hackory’s HTTP Inspector shows and repeats the requests that reach your attempt. It works on a computer and on a phone, where there are no developer tools.
Open the Inspector
In the case file, select “Open the HTTP Inspector”. It opens with your attempt already chosen.
Choose a request
Use the site as a customer and pick an action you want to study. Under “Workbench”, in the case file, each operation shows its method and its path: copy those two details into the Inspector.
Save it as the control
Send it with “Run control” and keep it with “Save control” (some attempts use a single button). That ordinary response is your point of comparison.
Change one detail
In the variant, change just one thing: a number, a word or the account making the request. If you change several at once, you will not know which one caused the difference.
Compare the response
Use “Run variant” and read the comparison: the HTTP status, the data that appears or disappears, and the messages.
Record the evidence
In “My note for attempt”, write what you changed, how the site replied and why it matters. If the server verifies the finding, the case file credits it automatically.
This practice environment has no Internet access. To record that a script ran in another account’s view, call __hackoryObserve(value); the environment logs that call.
