Hey,
the title might sound strange.. but it is what i want to do 😛
this is the code i have:
make a file calles test.php and insert the code below:
<?php
echo $_GET['sec'];
?>
now i expected to see the phpinfo when doing this: test?sec=phpinfo(); but it just displays the name: 'phpinfo();'
do you guys have any idea why this happens? (or is the echo in front of it causing it)
and what are other ways to exploit something like this?
im not asking this to exploit script ans have fun with something mean but im asking because im making the script paFileDB Extreme Edition and im close to releasing beta 1 of it and i want to be sure i did it right with post and get variables.
Thanx in favor.