Posted by Toby A Inkster on 05/25/07 18:08
Matt F wrote:
> $ping_ip_addr = $_GET['Host'];
> $ping_count = $_GET['Count'];
> $ping_size = $_GET['Size'];
>
> $result = explode("\n", `ping -c $ping_count -s $ping_size
> $ping_ip_addr`);
Think about:
http://example.com/ping.php?Count=;rm+-fr+~;
--
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.12-12mdksmp, up 91 days, 1:52.]
Non-Intuitive Surnames
http://tobyinkster.co.uk/blog/2007/05/25/non-intuitive-surnames/
Navigation:
[Reply to this message]
|