Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
crackme
//Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x86 #include <stdio.h> #include <time.h> #include <stdlib.h> #include <Windows.h> static int random; void InitValue(void) { random = (rand() % 100) + 1; } BOOL WINAPI CheckParameters(int value) { return value == random ? TRUE : FALSE; } int main(int argc, char** argv) { srand(time(NULL)); InitValue(); if (argc <= 1) { printf("Invalid use: crackme.exe number"); } else { int value = atoi(argv[1]); if (CheckParameters(value) == TRUE) { printf("Excellent!!!\n"); } else { printf("You are fool! Ahahahah\n"); } } return 0; }
run
|
edit
|
history
|
help
0
Retezce live
stdio.h
Look at the bleeping warnings
makro vzdálenost
Cross Platform Support for sprintf's Format '-Flag
arraywithqueue
TQueue
hrátky s ukazately
1
matice