MinhasKamal / TrojanCockroach

A Stealthy Trojan Spyware
MIT License
935 stars 245 forks source link

Not an issue #37

Open CookieTriste opened 8 months ago

CookieTriste commented 8 months ago

I wanted to thank you for all your hard work. I thought this was just a normal hacking project. But after fixing the deliberate errors and improving the program a bit, I stopped modifying it and forgot about the project. But 4 weeks later, when I plugged a usb key into my computer, it got infected :). This proves to be a really stealthy trojan (I have avast). However, I have a small question. Why does the program contain random generation things that seem useless? Example:

srand(time(0));
int random = rand();

if(random%2==0 || random%3==0 || random%7==0){
    return ;
}