hack the box code example
Example 1: hackctf
HackCTF ctf.j0n9hyun.xyz
Example 2: hack sitw
Server: 192.168.1.1
Address: 192.168.1.1#53
Non-authoritative answer:
Name: google.com
Address: 216.58.192.15
HAXXED
Example 3: hack sitw
<?php
if (isset($_GET['domain'])) {
echo '<pre>';
$domain = $_GET['domain'];
$lookdown = system("nslookup {$domain}");
echo($lookup);
echo '</pre>';
}
?>