Click here to Skip to main content
16,006,341 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Dynamic bitmasks Pin
Nick Parker28-Mar-02 5:49
protectorNick Parker28-Mar-02 5:49 
GeneralRe: Dynamic bitmasks Pin
alex.barylski28-Mar-02 6:06
alex.barylski28-Mar-02 6:06 
GeneralPreventing Brute Force Pin
Mauricio Ritter28-Mar-02 0:53
Mauricio Ritter28-Mar-02 0:53 
GeneralRe: Preventing Brute Force Pin
alex.barylski28-Mar-02 1:03
alex.barylski28-Mar-02 1:03 
GeneralRe: Preventing Brute Force Pin
Jeremy Falcon28-Mar-02 7:29
professionalJeremy Falcon28-Mar-02 7:29 
GeneralRe: Preventing Brute Force Pin
Nish Nishant28-Mar-02 1:36
sitebuilderNish Nishant28-Mar-02 1:36 
GeneralRe: Preventing Brute Force Pin
Tomasz Sowinski28-Mar-02 1:42
Tomasz Sowinski28-Mar-02 1:42 
GeneralRe: Preventing Brute Force Pin
alex.barylski28-Mar-02 2:16
alex.barylski28-Mar-02 2:16 
Don't most serious software packages use some form of encryption...?

This makes it absolutely nessecary to brute force attack. Unless i'm missing something here???

If you try and protect your code by hardcoding the protection scheme into your exe, like your code snippet above, it's (can be) easy to dissassemble change whats stopping you from using the full package and re-assemble.

The above can be accomplished with a binary search and replace utility, i've done it. Smile | :)

I always thought(or starting too) that programs now incorporate some form of encryption, because then disassembly doesn't do anything and a brute force attack is required, thus the 128 bit thing...takes forever...

IMO there is NOTHING anyone can currently do to prevent the determined from hacking(you call it cracking and I know thats the proper term)any software. So ultimately...

if(DaysLeft == 7)


would suffice under most circumstances. Even if you have the know how to search for a BYTE,WORD, LONG and replace the value with something else...it's pretty tricky finding it and only the determined know-how individuals will try it.

Cheers! Smile | :)

"An expert is someone who has made all the mistakes in his or her field" - Niels Bohr
GeneralRe: Preventing Brute Force Pin
Tomasz Sowinski28-Mar-02 5:31
Tomasz Sowinski28-Mar-02 5:31 
GeneralRe: Preventing Brute Force Pin
Jon Newman31-Mar-02 11:08
Jon Newman31-Mar-02 11:08 
GeneralRe: Preventing Brute Force Pin
Jon Hulatt28-Mar-02 2:57
Jon Hulatt28-Mar-02 2:57 
GeneralRe: Preventing Brute Force Pin
Jon Newman31-Mar-02 11:07
Jon Newman31-Mar-02 11:07 
GeneralRe: Preventing Brute Force Pin
Chris Losinger28-Mar-02 5:53
professionalChris Losinger28-Mar-02 5:53 
GeneralRe: Preventing Brute Force Pin
Jeremy Falcon28-Mar-02 7:35
professionalJeremy Falcon28-Mar-02 7:35 
GeneralRe: Preventing Brute Force Pin
Chris Losinger28-Mar-02 7:43
professionalChris Losinger28-Mar-02 7:43 
GeneralRe: Preventing Brute Force Pin
Paul M Watt28-Mar-02 9:07
mentorPaul M Watt28-Mar-02 9:07 
GeneralRe: Preventing Brute Force Pin
Neville Franks30-Mar-02 23:58
Neville Franks30-Mar-02 23:58 
GeneralRe: Preventing Brute Force Pin
Neville Franks31-Mar-02 0:03
Neville Franks31-Mar-02 0:03 
GeneralRe: Preventing Brute Force Pin
Russell Robinson31-Mar-02 11:00
Russell Robinson31-Mar-02 11:00 
GeneralProblem with loading a gray image file.. Pin
Neha28-Mar-02 0:07
Neha28-Mar-02 0:07 
GeneralRe: Problem with loading a gray image file.. Pin
Jack Handy28-Mar-02 0:08
Jack Handy28-Mar-02 0:08 
GeneralRe: Problem with loading a gray image file.. Pin
Tomasz Sowinski28-Mar-02 0:17
Tomasz Sowinski28-Mar-02 0:17 
GeneralRe: Problem with loading a gray image file.. Pin
Neha28-Mar-02 0:19
Neha28-Mar-02 0:19 
GeneralRe: Problem with loading a gray image file.. Pin
Tomasz Sowinski28-Mar-02 0:15
Tomasz Sowinski28-Mar-02 0:15 
GeneralRe: Problem with loading a gray image file.. Pin
Neha28-Mar-02 0:17
Neha28-Mar-02 0:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.