Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // lulzier hunter - by bottle_of_rum
- // usage: ./lulzierhunter.php <start IP> <end IP> <timeout> <needle>
- // example: ./lulzierhunter.php 124.217.224.0 124.217.255.255 1 Lulz
- for ($c = 0; $c <= ip2long($argv[2]) - ip2long($argv[1]); $c++)
- if (strpos(@file_get_contents('http://'.long2ip(ip2long($argv[1])+$c), false, stream_context_create(array('http' => array('timeout' => $argv[3])))), $argv[4]) !== false)
- die('H4xed :D - '.long2ip(ip2long($argv[1])+$c));
- ?>
Advertisement
Add Comment
Please, Sign In to add comment