Hack Forums
How can a website execute tasks - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Webmasters (https://hackforums.net/forumdisplay.php?fid=141)
+---- Forum: Website Construction (https://hackforums.net/forumdisplay.php?fid=50)
+---- Thread: How can a website execute tasks (/showthread.php?tid=4492490)



How can a website execute tasks - Martz - Oct 15, 2014

Hello hf,

I know that HTML is used for the structure of the site, CSS for the design and Javascript for the animation, but what language is used to make a website execute some tasks?
-Example: A botnet connects to the slaves and allows the user to control the slaves from the website.

Thanks in advance if you'll help me with this.


Can anyone please help me with this problem?


* - Squito - Oct 15, 2014

It's PHP, although if you are in control of the server you can execute operating system commands too.


* - WOLGA - Oct 15, 2014

Uh, for your example, the botnets connect to the server every so often, maybe a txt file?

Php to "activate" the txt file.


* - Dennis - Oct 16, 2014

(Oct 15, 2014 10:24 PM)Martz Wrote:  Hello hf,

I know that HTML is used for the structure of the site, CSS for the design and Javascript for the animation, but what language is used to make a website execute some tasks?
-Example: A botnet connects to the slaves and allows the user to control the slaves from the website.

Thanks in advance if you'll help me with this.


Can anyone please help me with this problem?
Any serverside language. ASP, PHP etc.
Javascript is not only for animations. You can write complete web applications in javascript.


* - SlightlyNuclear - Oct 16, 2014

(Oct 15, 2014 11:44 PM)SquitoHUN Wrote:  It's PHP, although if you are in control of the server you can execute operating system commands too.

NO. NO NO NO NO NO NO.

NEVER say PHP is the only back-end web language. There are soooo many and you shouldn't encourage anyone only to consider one language (especially since it's so horrible).