how to bind .exe, .reg and .bat files together
Hello all the members of this site,
i've a keylogger code in 'c' language which can mail the logged keys to a particular e-mail id. But it doesn't have the code to mark its entry into registries so it doesn't starts on reboot. So as a solution i made a .reg file and a .bat file. .reg will mark its entry into registries and .bat has the code to copy the .exe to system32 and to run the .reg. Since its my first time to use binders, and during experiments i found that if i bind .exe and .bat, on running the final .exe….my .bat doesn't execute. So will i've to convert this .bat to .exe ??? if yes, then please give a link for such converter also…..yesterday i spent at least 2 hrs to get "exescript" (.bat to .exe converter), but wasn't able to crack it. and what about the .reg file. It too has to be converted or will work as such only??? (.bat + .exe + .reg = binder.exe)
regards
In C++;
#include <cstdlib>
#include <iostream>
int main(int argc, char *argv[])
{
system("echo FTW");
return 0;
}
Although, I don't see why you would use a batch file, when you could simply access the registry directly via some handy APIs written into the Win32 library.
Or, if you want to get real technical, find a way to attach your keylogger to the kernel, instead of startup. :)
Assuming, this is for legitimate purposes. Such as you're on Tech Support in a school, and you want to spy on your students.
Now if you really want to compile a Batch file, use Quick Batch File Compiler (QBFC). It works really fine.
http://www.topshareware.com/Quick-Batch-File-Compiler-download-18352.htm
Hello all, sorry for replying so late. Actually for a week i was suffering from typhoid and malaria, so could not reply. Thanks for the suggestions. ok i could use the "system()" function instead of .bat file. (not comfortable with win API's…..can't code). But one more issue is there. When i use .reg file, on execution, it asks twice about writing to registries and then the ACK of that. Obviously i don't want this. I was looking around for some ready-made remote keylogger but i suppose my google skills are not that good. Would any one like to suggest something on .reg and keylogger.
and thanks for that "Quick batch…". I downloaded it and searched for its crack. Its working fine.
regards Frozen