

Les NOUVEAUX paquets suivants seront installés*:Ġ mis à jour, 1 nouvellement installés, 0 à enlever et 0 non mis à jour. On notera par la suite quelques passages susceptibles d'être sudo apt-get install hexedit J'ai pas vraiment besoin d'RTFM mais c'était juste pour le fun. Scanf is a function that reads data with specified format from a given string stream source, originated from C programming language, and is present in many other programming languages. Like C's printf, the Standard Library's printf uses the backslash as an escape character and the percent sign as a lead-in to a format string. The two exceptions are characters prefixed by a backslash ("\") and characters prefixed by a percent sign ("%"). For most characters, printf simply prints the characters in the format string up to the terminating zero byte. The format string is comparable to the one provided in the "C" programming language.

Printf, like its "C" namesake, provides formatted output capabilities for the Standard Library package. Note that puts does not automatically output a newline after printing the string. The puts (put a string) routine prints the zero terminated string at which es:di points. Strcmp compares the first string to the second and returns the result of the comparison in the flags register. On entry to strcmp or stricmp, es:di points at the first string and dx:si points at the second string. These routines compare strings using a lexicographical ordering. This GDB was configured as "i486-linux-gnu".ĭump of assembler code for function main:Īssez facile en fin de compte claire ça me change d'ollydbg, mais bon. There is NO WARRANTY, to the extent permitted by law. This is free software: you are free to change and redistribute it. License GPLv3+: GNU GPL version 3 or later Maintenant il nous reste plus qu'à le débogué, un p'ti screen pour le gdb crackmeĬopyright (C) 2008 Free Software Foundation, Inc.

:)ĭonc voilà compilé votre application avec gcc Le code et assez simple à comprendre, ici il y a trois mots de passe possible, j'aurais pu en faire un seul mais bon. Printf("All hope is gone, are you ready to die ? \n") Printf("We keep you alive, have a nice day \n") Printf("lol faggot, That not the good place\n") # Compiling : gcc -Wall -o crackme crackme.c # # Description : Petit logiciel qui vous demande le bon mot de passe.
