Created
December 3, 2013 03:23
-
-
Save xatier/7763380 to your computer and use it in GitHub Desktop.
A simple script for google hacking (rewrite it to a downloader lol)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
use 5.014; | |
use Google::Search; | |
my $search = Google::Search->Web( query => "site:example.com something interesting" ); | |
while ( my $result = $search->next ) { | |
my $url = $result->uri; | |
# url processing ? | |
say $result->rank . " " . $url; | |
# system("wget $url"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment