Advertisement
waliedassar

OllyDbg "STARTF_FORCEOFFFEEDBACK" trick

Aug 27th, 2012
329
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.41 KB | None | 0 0
  1. //http://waleedassar.blogspot.com - (@waleedassar)
  2. //This old trick works against OllyDbg v1.10 and v2.x
  3. #include "windows.h"
  4.  
  5. int main(int argc, char* argv[])
  6. {
  7.     STARTUPINFO SINFO={sizeof(STARTUPINFO)};
  8.     GetStartupInfo(&SINFO);
  9.  
  10.     if(SINFO.dwFlags&STARTF_FORCEOFFFEEDBACK)
  11.     {
  12.                   MessageBox(0,"Olly detected",0,0);
  13.     }
  14.     else
  15.     {
  16.           MessageBox(0,"Okay","waliedassar",0);
  17.     }
  18.     return 0;
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement