[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
  How to Hack WiFi password Using PMKID Apvu 10 10,931 Yesterday, 03:17 AM
Last Post: Alanmdndi
  [MEGALEAK] HackTheBox ProLabs, Fortress, Endgame - Alchemy, 250 Flags, leak htb-bot htb-bot 106 42,242 10-31-2026, 07:33 PM
Last Post: aistax
  [FREE] HackTheBox Dante - complete writeup written by Tamarisk Tamarisk 608 148,765 10-31-2026, 03:08 PM
Last Post: Gripson
  [FREE] CPTS 12 FLAGS pulsebreaker 82 38,060 10-31-2026, 01:30 PM
Last Post: thaytoiyeucoay30nam
  [FREE] 300+ Writeups PDF HackTheBox/HTB premium retired Tamarisk 383 138,762 10-31-2026, 11:47 AM
Last Post: thaytoiyeucoay30nam



 Users browsing this thread: 1 Guest(s)