Skip to content

Instantly share code, notes, and snippets.

@ryanbekabe
Created August 14, 2020 13:15
Show Gist options
  • Save ryanbekabe/bd43dff382ed508ec27cdaf2d67ff5de to your computer and use it in GitHub Desktop.
Save ryanbekabe/bd43dff382ed508ec27cdaf2d67ff5de to your computer and use it in GitHub Desktop.
<?php
echo 'example:<br/> ping.rhs.im/nslookup.php?cek=rhs.im<br/>';
#$output = shell_exec('ping -c 4 '.$_GET['cek']);
$output = shell_exec('nslookup -q=txt _acme-challenge.'.$_GET['cek']);
echo "<br/>----<br/><pre>$output</pre>";
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment