Home > Software engineering >  How to run an exe from website without downloading
How to run an exe from website without downloading

Time:10-23

I have an exe program and i want it to run directly from my website when i visit the page. Its a calculator, when my website loads, it should just launch the app without downloading. Its and exe file but i build it using C# and i can share the source code. I just want a simple way to run the exe onLoad() but it will not download like a traditional app will. Let's say like an exploit payload.

I have tried metasploit but it doesn't work.

CodePudding user response:

The only possible way I can imagine if you turn your C# app to a Blazor app. Blazor apps can be executed in a browser with webassembly. But probably the easiest way is just to port your C# code to javascript.

CodePudding user response:

You could open up a web based terminal client that remotes into a session on your server like windows remote desktop that automatically starts your calculator application.

Check out this answer for more information:

https://superuser.com/questions/312011/can-you-launch-remote-desktop-via-url

Additional materials:

https://learn.microsoft.com/en-us/windows-server/remote/remote-desktop-services/clients/remote-desktop-web-client

  • Related