pelican Posted August 31, 2011 Report Share Posted August 31, 2011 (edited) Primul meu challenge.. cred ca e destul de usor..Aflati sirul de caractere(8 CARACTERE!) format din doua cuvinte "lipite", L & U case.Zippyshare.com - File download***Daca nu e bun fisierul d'aici, luati-l pe cel din postul urmator! Edited August 31, 2011 by pelican 1 Quote Link to comment Share on other sites More sharing options...
em Posted August 31, 2011 Report Share Posted August 31, 2011 "Msvcp100d.dll Not Found". W7. 1 Quote Link to comment Share on other sites More sharing options...
pelican Posted August 31, 2011 Author Report Share Posted August 31, 2011 Eu l-am facut pe W7 x64.. ia dll-ul dp net, ar trebui sa-ti mearga dupa. Quote Link to comment Share on other sites More sharing options...
pelican Posted August 31, 2011 Author Report Share Posted August 31, 2011 Zippyshare.com - File Downloadacum e cu MFC in static library.. ar trebui sa mearga fara sa ai .dll-urile pe care le-am folosit eu.. Quote Link to comment Share on other sites More sharing options...
em Posted August 31, 2011 Report Share Posted August 31, 2011 ?i ce te faci dac? °°°°°°° încearc? ?i el s? rezolve? Quote Link to comment Share on other sites More sharing options...
pelican Posted August 31, 2011 Author Report Share Posted August 31, 2011 (edited) sa si reuseasca.. si vb dupa..nu cred ca se supara oricum ***Chiar nu poate nimeni? Edited August 31, 2011 by pelican Quote Link to comment Share on other sites More sharing options...
em Posted August 31, 2011 Report Share Posted August 31, 2011 Parola este RsTForuM. Am zis s? nu stric distrac?ia ?i s? nu zic. Dar îmi place c? ai pus multe piste gre?ite. Quote Link to comment Share on other sites More sharing options...
pelican Posted August 31, 2011 Author Report Share Posted August 31, 2011 Felicitari!l-am facut in 10 minute.. nu prea am stat.Cum l-ai rezolvat? Quote Link to comment Share on other sites More sharing options...
em Posted August 31, 2011 Report Share Posted August 31, 2011 P?i, abia înv?? cum se folose?te Ollydbg.Am v?zut c? te mai joci ?i cu ni?te stringuri f?r? importan?? (toUpper, toLower). Am pus breakpoint inainte de afisarea mesajului "Gresit" si am v?zut ce compar?ri faci pe acolo, bingo, pe undeva pe stiv? era parola. Quote Link to comment Share on other sites More sharing options...
pelican Posted August 31, 2011 Author Report Share Posted August 31, 2011 la urmatoru' o sa compar altfel ..mai multe conditii cu > de mai < de sa fie si de logica.. adica prima litera e mai mare ca "A", dar mai mica decat "F" si d'astea .. sau vad eu.Bravo! Quote Link to comment Share on other sites More sharing options...
caveman Posted August 31, 2011 Report Share Posted August 31, 2011 bravo ma sunteti tari Quote Link to comment Share on other sites More sharing options...
pelican Posted August 31, 2011 Author Report Share Posted August 31, 2011 Codul sursa pentru cine e interesat..daca e cineva VC++ 2010 // pelican @RST.#pragma once#include "targetver.h"#include "stdafx.h"#include <string>#include <conio.h>#include <iostream>#include <stdio.h>#include <tchar.h>#include <dos.h>#include <windows.h>#include <cstdlib> using namespace std;int main(void) { char g[80]="!@#$%^&FdfgBANANAdsadsTEAPAdasdsaNUsdadsvbgfE", s[70]="lmdasnLOL,dadasdLMFAOadsasf*******SUCKSsada", a[9]="o*#s", b[9]="Fr@u", c[8], d[8], e[33]="rqweRFAscSAWQ@#!@DSASA"; int i=0, j=0, x=0, n=0, q=0;SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 666);cout<<"pelican@RST Ghiceste sirul de caractere ";SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 711);cout<<"Este un sir din 8 caractere, L & U case, format din doua cuvinte pe care le intalnim foarte des :)";cout<<endl;strupr(e);c[0]=e[0];c[1]=a[3];c[2]=g[22];c[3]=b[0];c[4]=a[0];strupr(s);c[5]=b[1];c[6]=b[3];c[7]=s[1];cout<<endl;cout<<endl;for (x=0;x<8;x++) cin>>d[x];for (q=0;q<8;q++){if (c[q]==d[q]) n=n+1;} if (n==8) { SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 964); cout<<endl<<endl; cout<<"*******************"<<endl; cout<<"*Corect!..si usor.*"<<endl; cout<<"*******************"<<endl; Sleep(10000); {return 0;} }else{ cout<<endl<<endl; SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 241); cout<<"G"; Sleep(250); cout<<"r"; Sleep(250); cout<<"e"; Sleep(250); cout<<"s"; Sleep(250); cout<<"i"; Sleep(250); cout<<"t"; Sleep(250); cout<<"!"; Sleep(250); Sleep(4000); {return 0;}}} Quote Link to comment Share on other sites More sharing options...
em Posted August 31, 2011 Report Share Posted August 31, 2011 Tu l-ai declarat pe c[8]. (Deci i s-a alocat o zon? de memorie). Când ai început s? faci atribuirile a început s? se umple o zon? compact?. Ce m-a încurcat pe mine foarte mult este acel strupr(s) în mijlocul atribuirii. A?tept?m mai multe challenges. Cine încearc? s? le rezolve sigur înva?? ceva. Quote Link to comment Share on other sites More sharing options...