Lesson:
Command Execution
Public previewWant everyone on your software team to learn this? Get completion tracking and compliance reporting with Hacksplaining for Teams. Free 14-day trial.
Train my teamAn Insecure Command-Line Call<?php
if (isset($_GET['domain'])) {
echo '<pre>';
$domain = $_GET['domain'];
$lookup = system("nslookup {$domain}");
echo($lookup);
echo '</pre>';
}
?>