萌新web9

萌新web9

 

Obviously, it's something about shell execution and we just only use 'system'. 'exec', 'highlight' those three functions to execute linux shell command.

萌新web9

 

We find a config.php file under this directory. 

Then try to get the informaion in it. 

萌新web9

 

Nothing returns, so maybe 'cat' is filtered, we use 'tac' to instead. 

萌新web9

 

It works and hints us the flag is in config.php. 

萌新web9

 

上一篇:Instead of 触发器


下一篇:leetcode283. 移动零