Every so often I try a crackme. I just enjoy the problem solving. I’m terrible, but somehow I get a kick out of it.
crackmes.de is down, so I stumbled across the next best, maybe a better thing. buy levitrabuy generic levitrahttp://www.woodmann.com/RCE-CD-SITES/Quantico/mib/train.htm
An amazing collection of generic cialisgeneric viagrascene crackmes; if you ever thought you were good enough to represent – this is where to start.
Being an infant, I stuck with the tutorials. Even then I struggled. For hours.
My *working* solution to CrackMe1 is below. To make it a little more difficult for myself, I thought I would give C++ a spin.
I was bitterly disappointed that my keygen was larger than the original crackme.
#include <cstdlib> #include <iostream> using namespace std; int main(int argc, char *argv[]) { //declare local variables string _name; int i = 0; int char_sum = 0; int _first, _second; char c, d; //ask user to input name, store it in local variable cout << "name: "; cin >> _name; //put the name variable to uppercase while(_name[i]) { c = _name[i]; //create char from current index on string d = toupper(c); //put char to upper char_sum = (int(d)) + char_sum; //increment the count i++; } //http://www.woodmann.com/RCE-CD-SITES/Quantico/mib/crack10.htm _first = char_sum ^ 22136; _second = _first ^ 4660; //output the serial! cout << "serial: " << _second << endl; system("PAUSE"); return EXIT_SUCCESS; }