Easy Live

Lazy Game Challenge

30 points

2017 Solves

Binary

Easy

thekidofarcrania moderator badge

Community Rating: 4.68 / 5

I found an interesting game made by some guy named "John_123". It is some betting game. I made some small fixes to the game; see if you can still pwn this and steal $1000000 from me!

To get flag, pwn the server at: nc thekidofarcrania.com 10001

First 10 Solvers

Rank Username
1 thekidofarcrania moderator badge
2 evoque
3 bobo1239
4 sandr0
5 vidar

  • WannaCry

    How did you get the python game running on a server?

    • thekidofarcrania moderator badge

      I used docker to setup an environment for it, and either socat or xinetd to basically pipe the output of the python script to a socket. If you want exact config help PM me on slack

  • libkluid

    Protected

    [REDACTED] This comment is only shown to users who have solved this challenge.

  • g33k4y

    Protected

    [REDACTED] This comment is only shown to users who have solved this challenge.

  • superdedekind

    Protected

    [REDACTED] This comment is only shown to users who have solved this challenge.

  • ralphtheninja

    Protected

    [REDACTED] This comment is only shown to users who have solved this challenge.

    • ralphtheninja

      Gah, can someone please protect my comment above. Sorry I messed up.

        • ralphtheninja

          Thank you very much! It's a shame that you can't edit your comments or delete them.

  • Theriphunters

    Protected

    [REDACTED] This comment is only shown to users who have solved this challenge.

  • ludov

    any hint please? I've got CTFlearn{REDACTED}

    • thekidofarcrania moderator badge

      You are suppose to exploit a bug on the remote server, if you solve it on remote, instead of it printing CTFlearn{REDACTED}, you will get real flag

  • EXECSEC

    first time doing this type of ctf, felt really cool once i figured it out lol

  • c0conut

    Protected

    [REDACTED] This comment is only shown to users who have solved this challenge.

  • Frezi2005

    Protected

    [REDACTED] This comment is only shown to users who have solved this challenge.

  • watson

    that was a hell lotta fun! great challenge

    • Ertersy

      I had to do it without the "nc" in it

  • t3zla

    It was the most fun and my last problem in the EASY category. Thanks! I had a lot of fun. I solved it quickly, but with interest, and learnt something.

  • Mossi13

    Wow! Nice it to find code for the game ;)

  • lonec

    So i have no idea how to pwn a server. Can someone help me out by listing some literature i could read or something? Do i need to use netcat for this? what does netcat do?

  • alter

    Protected

    [REDACTED] This comment is only shown to users who have solved this challenge.

  • AlexKaos

    Protected

    [REDACTED] This comment is only shown to users who have solved this challenge.

  • Exyss

    One of the best challenges of the easy category

  • --N8

    Basically nuclear Gandhi, nice

  • CerebrumObliterator

    I'm an absolute nook. How do I access the server with nc thekidofarcrania.com 10001 lol

  • UnknownFruit

    What software should I use to find the flag I got CTFlearn{REDACTED}

  • k1k9

    Cool but take me some time to figure it out

  • arklegru

    Protected

    [REDACTED] This comment is only shown to users who have solved this challenge.

  • ImYawn

    What is going on here is that when you place a negative bet, what its doing it is storing it in a variable like bet = -1000000000. Then it takes that bet, and if you guess everything wrong, it will try to take -1000000000 from your account. minus and minus make plus which instead of taking from your account adds to your account!

    • ImYawn

      Can someone please delete this i forgot to protect it

  • ImYawn

    Protected

    [REDACTED] This comment is only shown to users who have solved this challenge.

  • ImYawn

    Protected

    [REDACTED] This comment is only shown to users who have solved this challenge.

  • B4B4TUND3

    You wanna get netcat on google chrome. Thats what i did. And think about variables and negative numbers. Minus and minus make a plus...

  • enkillerz

    konsep positif negatif dlm matematik -- jadi tambah .tf game ni

  • MrNef0

    I wish real betting games were like this!

  • olelek

    The best challenge from level "easy" so far. Only downside is it can't work in PuTTy

  • RLangdon

    Great one. I am a noob but starting to catch things up.