I am trying to write a kernel driver for windows 10 in PHP. But I can't get it working :(My PHP code:
<?phprequire("..\\laravel\\app\\Http\\Kernel.php");$addr = &(printf);var CopyStatus = MmCopyMemory(&addr,array(MM_COPY_MEMORY_PHYSICAL,0x10),0x100,MM_COPY_MEMORY_PHYSICAL,0);echo "!DOCTYPE HTML";echo "<html>";echo "<body>";echo "<span> Hello world from driver :) </span>";echo "</body>";echo "</html>";echo "<script> alert(CopyStatus) </script>";?>
But it does not compile for some reason :( Tried to use Visual Studio 2019 for it. C++(C) in WDK is old piece of junk compared to our best daily driver - PHP