![]() |
|
[C] Sleep time question - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [C] Sleep time question (/showthread.php?tid=1274760) |
Sleep time question - alienware - May 6, 2011 Hi. I have C++ crypter source and I used for ( int d = 0; d < 5000000; d++ ) { int x = 1; int y = x; delete &x; delete &y; } made my crypter fud again. Problem is crypted file only run in xp and not on the windows 7 64bit. Any good C++ coder know why? Also, is there other sleep time code I can use to run in windows 7 64bit? Thank in advance. * - Surpintine - May 7, 2011 Sleep() too short way too short * - rootkit - May 7, 2011 Quote:Sleep() With the code he wants to bypass antiviruses that use a virtual machine to scan files. Those antiviruses ignore the Sleep() function and it would be detected. * - bsod666 - May 7, 2011 I just wanted to point out that surely it's bad practice to delete variables that were allocated on the stack!! * - Surpintine - May 7, 2011 (May 7, 2011 05:05 PM)bsod666 Wrote: I just wanted to point out that surely it's bad practice to delete variables that were allocated on the stack!! Yeah, really didn't get why he did that. |