Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- print "
- AINZ - CON7EXT
- ________ ________ ________ ________.____ ___________ ________ ________ __________ ____ __.
- / _____/ \_____ \ \_____ \ / _____/| | \_ _____/ \______ \ \_____ \\______ \ |/ _|
- / \ ___ / | \ / | \/ \ ___| | | __)_ | | \ / | \| _/ <
- \ \_\ \/ | \/ | \ \_\ \ |___ | \ | ` \/ | \ | \ | \
- \______ /\_______ /\_______ /\______ /_______ \/_______ / /_______ /\_______ /____|_ /____|__ \
- \/ \/ \/ \/ \/ \/ \/ \/ \/ \/\n ";
- echo "DORK: ";
- $dorks = trim(fgets(STDIN));
- $list = array();
- $dork = urlencode($dorks);
- for($i=0;$i+=5;$i++){
- $ch1 = curl_init ("https://www.googleapis.com/customsearch/v1element?key=AIzaSyCVAXiUzRYsML1Pv6RwSG1gunmMikTzQqY&rsz=filtered_cse&num=10&hl=en&prettyPrint=false&source=gcsc&gss=.com&sig=4aa0772189af4c17ea7ec181af2bca15&start=$i&cx=009135609319186590935:-41p9xtl55s&q=$dork&cse_tok=AF14hliSDEmkzvWB9AH84eurvfjHYD0nYg:1531542202629&sort=&googlehost=www.google.com&callback=google.search.Search.apiary4209");
- curl_setopt ($ch1, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt ($ch1, CURLOPT_FOLLOWLOCATION, 1);
- curl_setopt ($ch1, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; rv:32.0) Gecko/20100101 Firefox/32.0");
- curl_setopt ($ch1, CURLOPT_SSL_VERIFYPEER, 0);
- curl_setopt ($ch1, CURLOPT_SSL_VERIFYHOST, 0);
- $result = curl_exec ($ch1);
- preg_match_all('/"unescapedUrl":"(.*?)"/', $result, $kontoru);
- foreach($kontoru[1] as $kontolatos){
- if(!in_array($kontolatos,$list)){
- $list[] = $kontolatos;
- echo $kontolatos."\n";
- }
- else{
- echo $kontolatos."\n";
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement