Understanding preg_replace Filtering & Exploitation
Here is the proof of concept of the code:
<?php
$input=$_GET[‘input’];
print preg_replace(‘/[A-DH-M0-9._%+-]+@(.+)\.[A-Z]{2,4}/mADsex’, ‘strtoupper(“\\1”)’, $input);
?>
I don’t quite understand what the filter does, … Continue reading Understanding preg_replace Filtering & Exploitation