wzp
2021-07-19 58ec6ffd2dc6a3e490e28026dd559352678a273d
1
2
3
4
5
6
7
8
<?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 '';
}