EvilZone

Programming and Scripting => Projects and Discussion => : dsme February 05, 2014, 03:28:33 PM

: Project
: dsme February 05, 2014, 03:28:33 PM
Hi,

We have a group project to do and came up with an idea.

Is there a way that a website can control a c++ application? Say you pushed a button on a website, it would do a specific command on c++?
: Re: Project
: flowjob February 05, 2014, 04:44:34 PM
Use sockets. Javascript and the C++ Application could connect using TCP and communicate that way...
Or use PHP instead of javascript, if the page gets reloaded after pressing the button.

BTW, What do you even want to archive with that?
: Re: Project
: Kulverstukas February 05, 2014, 06:52:30 PM
What he said ^

Make the program connect to your web scripts, giving appropriate commands to receive commands to execute. For ex. You press a button on the website, a value gets written to a file. The program sends a POST/GET to another/same script and that script returns an appropriate command.
It's very simple and C++ sockets are not that hard.

You can take a look at a piece of "malware" I write with that functionality, just that mine uploads the data instead.
http://evilzone.org/c-c/%28c%29-outlooker/