
Research//5 min
PHP to Shell, Part 3: File Inclusion to Code Execution
An include() on user input is a read primitive until something makes the included content attacker-controlled PHP. Logs, sessions, phar archives and a filter-chain trick that I could only confirm halfway.