Lazy Game Challenge
6 minutos de lectura
Se nos proporciona un servicio que consiste en un sistema de apuestas. Tenemos que apostar una cierta cantidad de dinero y luego adivinar un número entre 1 y 10 en menos de 10 intentos. Por ejemplo:
$ nc thekidofarcrania.com 10001
Welcome to the Game of Luck !.
Rules of the Game :
(1) You will be Given 500$
(2) Place a Bet
(3) Guess the number what computer thinks of !
(4) computer's number changes every new time !.
(5) You have to guess a number between 1-10
(6) You have only 10 tries !.
(7) If you guess a number > 10, it still counts as a Try !
(8) Put your mind, Win the game !..
(9) If you guess within the number of tries, you win money !
(10) Good Luck !..
theKidOfArcrania:
I bet you cannot get past $1000000!
Are you ready? Y/N : y
Money you have : 500$
Place a Bet : 500
Loading : ⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛ 100%
The Game is On, Good Luck !..
Make a Guess : 3
Computer's number : 7
Your Guess : 3
Sorry Wrong Guess, Try Again !. -_-
Make a Guess : 3
Computer's number : 3
Your Guess : 3
Sorry Wrong Guess, Try Again !. -_-
You made it !.
You won JACKPOT !..
You thought of what computer thought !.
Your balance has been updated !
Current balance : 1500$
Want to play again? Y/N : n
Thank you for playing !
Made by John_123
Small mods by theKidOfArcrania
Give it a (+1) if you like !..
En cambio, si perdemos la apuesta, nuestro balance de dinero disminuirá:
$ python3 -c 'print("y\n500\n" + "0\n" * 10 + "n")' | nc thekidofarcrania.com 10001
Welcome to the Game of Luck !.
Rules of the Game :
(1) You will be Given 500$
(2) Place a Bet
(3) Guess the number what computer thinks of !
(4) computer's number changes every new time !.
(5) You have to guess a number between 1-10
(6) You have only 10 tries !.
(7) If you guess a number > 10, it still counts as a Try !
(8) Put your mind, Win the game !..
(9) If you guess within the number of tries, you win money !
(10) Good Luck !..
theKidOfArcrania:
I bet you cannot get past $1000000!
Are you ready? Y/N :
Money you have : 500$
Place a Bet :
Loading : ⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛ 100%
The Game is On, Good Luck !..
Make a Guess :
Computer's number : 7
Your Guess : 0
Sorry Wrong Guess, Try Again !. -_-
Make a Guess :
Computer's number : 3
Your Guess : 0
Sorry Wrong Guess, Try Again !. -_-
Make a Guess :
Computer's number : 4
Your Guess : 0
Sorry Wrong Guess, Try Again !. -_-
Make a Guess :
Computer's number : 3
Your Guess : 0
Sorry Wrong Guess, Try Again !. -_-
Make a Guess :
Computer's number : 9
Your Guess : 0
Sorry Wrong Guess, Try Again !. -_-
Make a Guess :
Computer's number : 5
Your Guess : 0
Sorry Wrong Guess, Try Again !. -_-
Make a Guess :
Computer's number : 3
Your Guess : 0
Sorry Wrong Guess, Try Again !. -_-
Make a Guess :
Computer's number : 2
Your Guess : 0
Sorry Wrong Guess, Try Again !. -_-
Make a Guess :
Computer's number : 2
Your Guess : 0
Sorry Wrong Guess, Try Again !. -_-
Make a Guess :
Computer's number : 3
Your Guess : 0
Sorry Wrong Guess, Try Again !. -_-
Sorry you didn't made it !
Play Again !...
Better Luck next Time !.
Sorry you lost some money !..
Your balance has been updated !.
Current balance : :
0$
Want to play again? Y/N : Thank you for playing !
Made by John_123
Small mods by theKidOfArcrania
Give it a (+1) if you like !..
El objetivo es tener más de 1000000. La clave aquí es que podemos apostar números negativos, y si perdemos, nuestro balance será nuestro dinero actual menos la apuesta, por lo que podemos apostar un número negativo como - 1000000 y perder el juego, de manera que terminemos teniendo 1000500:
$ python3 -c 'print("y\n-1000000\n" + "0\n" * 10 + "n")' | nc thekidofarcrania.com 10001
Welcome to the Game of Luck !.
Rules of the Game :
(1) You will be Given 500$
(2) Place a Bet
(3) Guess the number what computer thinks of !
(4) computer's number changes every new time !.
(5) You have to guess a number between 1-10
(6) You have only 10 tries !.
(7) If you guess a number > 10, it still counts as a Try !
(8) Put your mind, Win the game !..
(9) If you guess within the number of tries, you win money !
(10) Good Luck !..
theKidOfArcrania:
I bet you cannot get past $1000000!
Are you ready? Y/N :
Money you have : 500$
Place a Bet :
Loading : ⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛ 100%
The Game is On, Good Luck !..
Make a Guess :
Computer's number : 3
Your Guess : 0
Sorry Wrong Guess, Try Again !. -_-
Make a Guess :
Computer's number : 1
Your Guess : 0
Sorry Wrong Guess, Try Again !. -_-
Make a Guess :
Computer's number : 4
Your Guess : 0
Sorry Wrong Guess, Try Again !. -_-
Make a Guess :
Computer's number : 3
Your Guess : 0
Sorry Wrong Guess, Try Again !. -_-
Make a Guess :
Computer's number : 8
Your Guess : 0
Sorry Wrong Guess, Try Again !. -_-
Make a Guess :
Computer's number : 1
Your Guess : 0
Sorry Wrong Guess, Try Again !. -_-
Make a Guess :
Computer's number : 3
Your Guess : 0
Sorry Wrong Guess, Try Again !. -_-
Make a Guess :
Computer's number : 2
Your Guess : 0
Sorry Wrong Guess, Try Again !. -_-
Make a Guess :
Computer's number : 6
Your Guess : 0
Sorry Wrong Guess, Try Again !. -_-
Make a Guess :
Computer's number : 7
Your Guess : 0
Sorry Wrong Guess, Try Again !. -_-
Sorry you didn't made it !
Play Again !...
Better Luck next Time !.
Sorry you lost some money !..
Your balance has been updated !.
Current balance : :
1000500$
What the... how did you get that money (even when I tried to stop you)!? I guess you beat me!
The flag is CTFlearn{d9029a08c55b936cbc9a30_i_wish_real_betting_games_were_like_this!}
Thank you for playing !
Made by John_123
Small mods by theKidOfArcrania
Give it a (+1) if you like !..