![]() |
|
Best Way to Call Win32 API from Lua - Printable Version +- Sinisterly (https://sinister.ly) +-- Forum: Coding (https://sinister.ly/Forum-Coding) +--- Forum: Coding (https://sinister.ly/Forum-Coding--71) +--- Thread: Best Way to Call Win32 API from Lua (/Thread-Best-Way-to-Call-Win32-API-from-Lua) |
Best Way to Call Win32 API from Lua - asitkumar - 04-15-2013 Hi, I am using Lua for Windows for making a "proof of concept" virus. Now since we all know it's a scripting language and needs an interpreter to run. So I am "compiling" (in the sense that the interpreter and script packed into one EXE) it to an Windows PE using a tool called "lua2exe" I found somewhere on internet.Now for a Virus it is mandatory to call OS API to do stuff like putting in registry autorun, detect other processes, etc. For that I am using a module called "alien" that can run win32 functions. It is working fine so far but I am far from satisfied. :huh: MY QUESTION: IS THERE ANY OTHER WAY (OR MODULE LOL) THAT I CAN USE TO CALL WIN32 FUNCTIONS FROM WITHIN LUA CODE IN A MORE STREAMLINED WAY?? A friend challenged me to make a full-blown virus in a scripting language. I tried Perl, Python, etc. tried to convert them to machine code (EXE) but no way to really compile them! Only packing option as I am doing in Lua is available. And they are SO SLOW that even to ashame a snail in that ![]() Guyz plz guide me in this. Thanks! Best Way to Call Win32 API from Lua - asitkumar - 04-15-2013 Hi, I am using Lua for Windows for making a "proof of concept" virus. Now since we all know it's a scripting language and needs an interpreter to run. So I am "compiling" (in the sense that the interpreter and script packed into one EXE) it to an Windows PE using a tool called "lua2exe" I found somewhere on internet.Now for a Virus it is mandatory to call OS API to do stuff like putting in registry autorun, detect other processes, etc. For that I am using a module called "alien" that can run win32 functions. It is working fine so far but I am far from satisfied. :huh: MY QUESTION: IS THERE ANY OTHER WAY (OR MODULE LOL) THAT I CAN USE TO CALL WIN32 FUNCTIONS FROM WITHIN LUA CODE IN A MORE STREAMLINED WAY?? A friend challenged me to make a full-blown virus in a scripting language. I tried Perl, Python, etc. tried to convert them to machine code (EXE) but no way to really compile them! Only packing option as I am doing in Lua is available. And they are SO SLOW that even to ashame a snail in that ![]() Guyz plz guide me in this. Thanks! |