Vulnerability reproduce articles - Advanced File Inclusion Vulnerabilities - contained truncated

This method is only suitable for older versions magic_quotes_gpc=offof time

lab environment:

  • PHPstudy2013
    Note that this option is not to hook
    Here Insert Picture Description

Write a php file, the code is as follows:

<?php
if(isset($_GET['page'])) {
	include$_GET['page'] .".php";
}else {
		include'home.php';
	}
?>

With this file you can watch local files, simply add the final %00cut

Here Insert Picture Description

Published 64 original articles · won praise 500 · views 80000 +

Guess you like

Origin blog.csdn.net/weixin_45728976/article/details/104402877