mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2025-06-15 12:36:05 +00:00
Initial commit
This commit is contained in:
@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
if ( isset( $_POST['src'] ) && preg_match( '/scripts\/[a-zA-Z_\-_]+\.php/', $_POST['src'] ) !== 0 ) {
|
||||
echo htmlspecialchars( file_get_contents( '../server_side/'.$_POST['src'] ) );
|
||||
}
|
||||
else {
|
||||
echo '';
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user