Why Nostr? What is Njump?
2024-04-27 07:16:18
in reply to

captjack on Nostr: List all files in any linux dir headless system in html to browse remotely #techstr ...

List all files in any linux dir headless system in html to browse remotely #techstr folder browser http
nano index.php
<?php echo "Here are our files"; $path = "."; $dh = opendir($path); $i=1; while (($file = readdir($dh)) !== false) { if($file != "." && $file != ".." && $file != "index.php" && $file != ".htaccess" && $file != "error_log" && $file != "cgi-bin") { echo "<a href='$path/$file'>$file</a><br /><br />"; $i++; } } closedir($dh); ?>
Author Public Key
npub1te0uzs6vj29umjaxlqqct82j8q6ppyefrxq06dhr8d6pvwfatgkqjmjgwp