Imagine yourself in a scenario where you’re a behind a firewall and cannot access the SSH, or you’re controlling your servers via your mobile. Here’s a quick way to manage your servers through HTTP via command line. You can fire scripts, run shell commands etc.
Be careful, it will not ask you any username/password and runs with username Apache/SYSTEM.
The script is tested over linux and windows servers!
All you need is an Apache server with PHP installed. Just create a PHP file and insert the following code.
Put in a comment if this really helped you!
//— BEGIN OF CODE—-
<html>
<head>
<title>HussuLinux SSH over HTTP…</title>
</head>
<body>
<form id=”form1″ name=”form1″ method=”post” action=”">
<label>Enter Command
<input type=”text” name=”cmd” />
</label>
<input type=”submit” name=”Submit” value=”Submit” />
</form>
Output :
<textarea cols=”100″ rows=”30″>
<?php
$cmd = $_POST['cmd'];
if ($cmd==”")
{
//Do Nothing!
}
else
{
echo htmlspecialchars((shell_exec($cmd)));
}
?>
</textarea>
</body>
</html>
//— END OF CODE—–


To all the people making silly comments about security loophole:
Here’s what I have to say
I suppose & assumed you guys were intelligent. I was a insane & I thought you’d add proper security measures to this mechanism before you set it up. The file is actually useful, but you’d have to be a pretty big douchebag not to think twice before you upload it.
“Be careful, it will not ask you any username/password and runs with username Apache/SYSTEM.”
I’d suggest people read first, then snap hysterically if necessary.
If you want to add some security measure,how long does it take to add a username & password?!
How about HTTP authentication?! Even Twitter uses it… !!
Please don’t post such silly comments, they are all gonna be thrashed. Thx!
I use Astrill it blows up the great china firewall
Hulu.com too 

I can access Facebook,Youtube Twitter and almost any site that is blocked
Also they support Iphone/Androids which is a plus point.
As low as $10.95 a month
its better and reliable than free VPNS !!