Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
crackme
Language:
Ada
Assembly
Bash
C#
C++ (gcc)
C++ (clang)
C++ (vc++)
C (gcc)
C (clang)
C (vc)
Client Side
Clojure
Common Lisp
D
Elixir
Erlang
F#
Fortran
Go
Haskell
Java
Javascript
Kotlin
Lua
MySql
Node.js
Ocaml
Octave
Objective-C
Oracle
Pascal
Perl
Php
PostgreSQL
Prolog
Python
Python 3
R
Rust
Ruby
Scala
Scheme
Sql Server
Swift
Tcl
Visual Basic
Layout:
Vertical
Horizontal
//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; }
cl.exe
Show compiler warnings
[
+
] Compiler args
[
+
]
Show input
Compilation time: 1,5 sec, absolute running time: 0,33 sec, absolute service time: 1,84 sec
fork mode
|
history
|
discussion
Invalid use: crackme.exe number