[FREE] HTB/Hack The Box/Challenge: Crypto Not that random
by f58c34ee9 - Saturday April 12, 2025 at 03:11 PM
#1
Challenge: Not that random is a medium difficulty cryptography challenge on Hack The Box.

Audience: This write-up is for new users with little HTB challenge experience.

Challenge author:
Hidden Content
You must register or login to view this content.

25 User solves (as of 2025/04/12).

Skills learned: sha256

Official write-up: https://app.hackthebox.com/challenges/No...lkthroughs

CHALLENGE DESCRIPTION
Uncertain of their safety from other potentially hostile communities, the survivors recognize the necessity of arming themselves with laser weapons and flamethrowers for self-defense. Rumor has it that an old casino on the city's outskirts holds advanced weaponry. However, to gain access to this private area, an uninvited visitor must play a seemingly impossible game of chance and accumulate a specific amount of winnings. Is the challenge as it appears, or can you prove them wrong?

Steps:
  • Start challenge server hosted on Hack The Box.
https://app.hackthebox.com/challenges/No...t%20random
  • Click on Download Files -- file password and sha256 fingerprint is displayed when Download Files button is clicked.
  • Extract zip file contents to a local folder.
  • Open server.py and review Python source code

The zip file contains a Python script server.py that runs the challenge guessing game.
  • Install dependencies:

'''
$ conda install pycryptodome -y
$ python server.py
Welcome to my online casino! Let's play a game!

Make a choice:

1. Buy flag (-500 coins)
2. Buy hint (-10 coins)
3. Play (+5/-10 coins)
4. Print balance (free)
5. Exit
Option: 4
You have 100 coins.
'''

Follow official walk-thru starting on page 2 to complete the challenge.

Have fun!

Smile
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [FREE] CPTS 12 FLAGS pulsebreaker 59 1,150 03-28-2026, 06:26 PM
Last Post: vilas033
  [FREE] 300+ Writeups PDF HackTheBox/HTB premium retired Tamarisk 360 88,710 03-28-2026, 09:28 AM
Last Post: catsweet
  [FREE] HackTheBox Academy - CBBH CDSA CPTS All Modules Flags Techtom 16 2,276 03-28-2026, 03:32 AM
Last Post: lulaladrow
  [FREE] HTB-ProLabs APTLABS Just Flags kewlsunny 23 2,348 03-28-2026, 03:30 AM
Last Post: lulaladrow
  [FREE] HackTheBox Dante - complete writeup written by Tamarisk Tamarisk 597 88,992 03-27-2026, 10:54 PM
Last Post: w3soul



 Users browsing this thread: 1 Guest(s)