Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Compiling .hta file to .exe

I have searched far and wide for a way to compile my .hta file (and resources) to a .exe file.

There are plenty of applications that claim to be able to do this - but they have not worked for this application - which is a mixture of javascript and VB.

Simply, (and naively,) I don't want people looking at / screwing with the code. Any suggestions or solutions would be greatly appreciated.

EDIT: Of course, I understand that javascript and VB are not "compilable" since they are interpreted languages. I am just looking for a way to truly hide the source.

like image 368
devinpleuler Avatar asked Oct 20 '10 15:10

devinpleuler


2 Answers

HTAEdit, which comes bundled with VBSedit, does not truly hide the hta code. At run time, it extracts the original hta file to a subdirectory in %temp% and passes it off to mshta.exe to execute. The converted exe's created by VBSedit don't seem to do this as far as I can tell.

like image 180
Dave Avatar answered Sep 30 '22 10:09

Dave


Try using VBSedit, it definitely works for converting both vbs and hta to exe

like image 45
Lyle Avatar answered Sep 30 '22 08:09

Lyle