r/securityCTF • • 19h ago

Can you get this chatbot to reveal a secret discount code? Free beginner CTF

2 Upvotes

We gave a shopping chatbot a private VIP discount code and told it never to share it. Your job is to get it to tell you anyway.

The challenge is ShopBot — Prompt Injection 101 on our platform, Codelivly. You chat with the bot, try different prompts, and submit the code as your flag once you get it.

It’s rated easy, with an estimated solve time of 10 minutes. You don’t need any previous AI experience to try it.

Codelivly is completely free, including the CTFs, labs and learning paths. There’s no paywall to unlock the rest.

Try ShopBot here

Let us know how you get on. Just keep the code out of the comments so others can have a go.


r/securityCTF • • 8h ago

Free resource for people new and experienced at CTF!!! (still work in progress)

7 Upvotes

Hey guys, I made a free resource called EZ Flag Labs that has simple lessons and a bunch of practice questions to help both newer and more experienced people in CTF. It's still a work in progress, so if you could check it out and leave some feedback, that would be awesome!

https://ez-ctf.pages.dev/


r/securityCTF • • 15h ago

I built a hacking simulator web application

3 Upvotes

I'm a Security Engineer, and very much into ethical hacking. I'm a massive fan of games like Grey Hack and Hackhub, and others, but these last two are simply amazing games, where I spent tons of hours playing. I already built a few web terminal applications in the past, and always had in mind to build sort of a CTF terminal game. This is how I started almost a year ago, but then I continued to a point where the game has become quite big. Obviously I don't intend to build something better than those two games I mentioned, since this is purely a terminal game that runs in the browser, but I did put a lot of effort in making it as realistic as possible without sacrificing playability. All the commands, tools, machines, networks, hacking techniques are very much realistic... The game takes place in Harrow Valley. There are different cities, towns and villages. They all contain all kind of places, with networks, hospitals, libraries, coffee shops, universities, companies, police stations, etc. In total there are 11 towns, more than 600 networks and over 2,600 machines, and every single one of them can be hacked.

You start on your own workstation, with a terminal and nothing else. The first thing is getting online: put your wireless card in monitor mode, capture a handshake and crack the WiFi key. From there it's up to you. Scan the network with nmap, look up domains with dig and whois, find hidden pages with gobuster, brute force logins with hydra, crack hashes with john, and when none of that works, check the version of the service and go for the CVE with msfconsole. You can pivot through routers into deeper networks, rewrite their firewall rules, open port forwards, and some machines even have a backdoor left listening for you to find... There are around 70 commands right now, and they behave pretty much the way you'd expect them to.

The valley also has its own internet. You browse it with lynx or curl. There's a search engine, a local news site, an email provider and a forum where players can talk to each other. If you're new to all this, there's a site called hackademy.io that teaches you the tools and the concepts step by step, so you don't need to be a hacker to start playing. Once you know what you're doing, hireme.io is where you find paid work: steal a file, plant a backdoor, change a record, take a machine down... and you get paid in crypto, straight into your wallet.

And it's multiplayer. Other players live in the same valley, join the same networks, and your workstation is just another machine for them. It runs services, those services get old, and if you don't patch them sooner or later someone will find a way in. If they get root and wipe your boot files, your machine is gone. For good. So keep an eye on your logs...

It runs entirely in the browser, nothing to install, and it's free. Everything is simulated of course: no real machines or networks are involved, all the targets live inside the game.

It's still in active development and I keep adding stuff almost every day, so I'd love to hear what you think: feedback, bugs, ideas, anything. And if you manage to break something, let me know (the game, not the server please 😅). One thing I'm still figuring out is the economy: you can already earn money, in the form of digital currency, but at the moment the only thing you can spend it on is traveling between towns. So ideas there are very welcome.

Here is the repo: https://github.com/jscriptcoder/jshack.me

Play it here: https://jshack.me/

Thanks!