<?php
$your_crazy_input = chr(0)."flag";
if(isset($your_crazy_input)) {
$position = strpos($your_crazy_input, "flag");
$length = strlen($your_crazy_input);
echo $position;
echo "\n";
echo $length;
echo "\n";
$flag = 'hi';
echo serialize(['qweq','that']);
if($position !== false && $length < 4) {
echo $flag;
}
else {
echo "Oh Sorry.. This isn't a crazy input.";
}
}
- Output for 5.4.2 - 5.4.45, 5.5.24 - 5.5.35, 5.6.7 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.20, 7.2.0 - 7.2.33, 7.3.16 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
- 1
5
a:2:{i:0;s:4:"qweq";i:1;s:4:"that";}Oh Sorry.. This isn't a crazy input.
preferences:
217.17 ms | 404 KiB | 227 Q