Hello!
Do you have any idea on how to display the cmd ipconfig /all data on a website php file.
Here is what I found but I don't know how to combine it:
User IP:
<?php
$ip = getenv("REMOTE_ADDR") ;
Echo "Your IP is " . $ip;
?>
CMD Path:
<?php
$_ = null;
passthru("C:\\WINDOWS\\system32\\cmd.exe /c custom.bat",$_);
header('Content-Type: text/plain');
echo $_;
?>
CMD command:
ipconfig /all

