Spoofing HS256 Cupon Code
by Echo5Echo - Friday January 24, 2025 at 09:59 PM
#1
Trying to spoof a cupon code request, would appreciate any resources thrown my way to learn how to get this done. 

https://geekydrop.com/api/coupon/claim

 Here’s the setup:
  • The system uses a POST API endpoint for coupon claims
  • The request requires a Bearer token (JWT) for authorization, which includes basic claims like email and session information.
  • Coupon codes are alphanumeric, 12 characters long.
  • The server returns a 500 Internal Server Error for invalid input

    but I’d like to test the following:
    • Whether coupon codes are predictable or vulnerable to brute-forcing.
    • If the JWT implementation has potential weaknesses (e.g., weak signing secret or algorithm tampering).
    • How to identify patterns or potential flaws in the API’s response.

What I’ve done so far:
  • Decoded the JWT to check its payload and algorithm (HS256).
  • Tested a few common coupon code patterns manually (e.g.,
    SAVE10 ,DISCOUNT20), but the system hasn’t returned valid responses yet.
  • Analyzed API responses for hints about how coupon validation is processed.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Tip for finding secret keys in JavaScript code DonaldTrump 21 3,127 09-23-2026, 12:27 AM
Last Post: HorseHead1
  The code that could change everything stucksnet 2 508 02-15-2025, 01:52 PM
Last Post: PomPomPurItInYourAss
  Using C++ code in Browser? It's possible! QUBIT_MATRIX 3 437 01-21-2025, 03:34 PM
Last Post: QUBIT_MATRIX
  Blackhat Code of Ethics CaptechPhD 6 573 09-25-2024, 11:16 AM
Last Post: Elsa
  i need code to raid discord serv with token Barx 0 438 07-24-2024, 12:29 AM
Last Post: Barx



 Users browsing this thread: 1 Guest(s)