Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Yazar => KingSkrupellos - Cyberizm.Org Digital Security Team
- Google Search Engine Dorker PHP - PERL - PYTHON
- 1) XAMPP Yeni PHP Kod [ CDST Google Dorker CDST ]
- Önemli => Bilgisayarınızda XAMPP yüklü olması gerekiyor. PHP kodlarını çalıştırabilmeniz için.
- [/code]https://www.apachefriends.org/tr/download.html[/code]
- Ne işe Yarar => Google Arama Motorunda İstediğiniz Herhangi Bir Dork [ Özel Aratma Kelimesinden veya Linkten ] Açıklı Tüm Siteleri Tarar ve Size Sunar.
- Aşağıdaki Kodlar Sadece Windows için Geçerlidir.
- Ayrıca aşağıdaki ActivePerl Dilinde Yazılmış Kodlar Harici MacOSX ve Linux işletim sistemi kullanıyorsanız Google Dork Scanner Tam Size Göre :) :cigara:
- [/code]https://github.com/0xhex/google-dork-scanner[/code]
- Google Dorker'ın Kullanma Talimatları ve Videoları
- [video=youtube]https://www.youtube.com/watch?v=A2zpIZvPgtQ[/video]
- [hide][code]<?php
- /**
- KingSkrupellos - Cyberizm.Org Digital Security Team
- CDST Google Dorker CDST
- **/
- error_reporting(0);
- function save($data){
- $fp = @fopen("google_dom.htm", "a") or die("cant open file");
- fwrite($fp, $data);
- fclose($fp);
- }
- $links = array();
- $dork = "intext:KingSkrupellos";
- for($i=0;$i<=1000;$i+=10){
- $xml = new DOMDocument('1.0', "UTF-8");
- $xml->loadHTMLFile("http://www.google.com/search?q=".urlencode($dork)."&start=$i");
- echo "ahh";
- foreach($xml->getElementsByTagName('cite') as $link) {
- $su = "http://$link->nodeValue";
- $ahh = parse_url($su, PHP_URL_HOST);
- if(in_array($ahh, $links) or preg_match("/blogspot/",$ahh)) {
- echo "$ahh element is in the array";
- }
- else{
- save("$ahh<br>");
- $links[] = $ahh;
- print_r($links);
- }
- }
- }
- ?>[/code][/hide]
- 2) Eski Kod [ CDST Google Dorker CDST ]
- [video=youtube]https://www.youtube.com/watch?v=Ggv4kkYMEM8[/video]
- [hide][code]<?php
- // KingSkrupellos - Cyberizm.Org Digital Security Team
- // CDST Google Dorker CDST
- error_reporting(0);
- function save($data){
- $fp = @fopen("hasil.htm", "a") or die("cant open file");
- fwrite($fp, $data);
- fclose($fp);
- }
- $list = array();
- $b = 5;
- $dorks = "intext:KingSkrupellos";
- $dork = urlencode($dorks);
- for($i=0;$i+=$b;$i++){
- $kuki = rand();
- echo $i;
- //http://ajax.googleapis.com/ajax/services/search/web?v=1.0&hl=iw&rsz=8&q=$dork&key=$kunAPI&start=$i
- $ch1 = curl_init ("https://www.google.com/search?q=$dork&btnG=Search&start=$i#q=$dork&start=$i");
- 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);
- curl_setopt($ch1, CURLOPT_COOKIEJAR,"$kuki.txt");
- curl_setopt($ch1, CURLOPT_COOKIEFILE,"$kuki.txt");
- $result = curl_exec ($ch1);
- preg_match_all("/style=\"white-space:nowrap\"><c(.*?)\//", $result, $a);
- foreach($a[1] as $sitesn){
- $sites = explode("ite class=\"_Rm\">", $sitesn);
- $sulton = parse_url("http://$sites[1]", PHP_URL_HOST);
- if(!in_array($sulton,$list)){
- $list[] = $sulton;
- echo "$sulton\n";
- save("$sulton<br>");
- }
- else{
- echo "$sulton ============================>\n";
- }
- }
- }
- ?>[/code][/hide]
- 3) XAMPP Google Auto Dorker PHP Code [ CDST Google Dorker CDST ]
- [video=youtube]https://www.youtube.com/watch?v=E_lYjmWU7gg[/video]
- [hide][code]<?php
- /**
- // KingSkrupellos - Cyberizm.Org Digital Security Team
- // CDST Google Dorker CDST
- // www.cyberizm.org
- **/
- error_reporting(0);
- function save($data){
- $fp = @fopen("Result-dorker.html", "a") or die("cant open file");
- fwrite($fp, $data);
- fclose($fp);
- }
- $links = array();
- $dork = "Text input Dork!";
- for($i=0;$i<=1000;$i+=10){
- $xml = new DOMDocument('1.0', "UTF-8");
- $xml->loadHTMLFile("http://www.google.com/search?q=".urlencode($dork)."&start=$i");
- echo "ahh";
- foreach($xml->getElementsByTagName('cite') as $link) {
- $su = "http://$link->nodeValue";
- $ahh = parse_url($su, PHP_URL_HOST);
- if(in_array($ahh, $links) or preg_match("/blogspot/",$ahh)) {
- echo "$ahh element is in the array";
- }
- else{
- save("$ahh<br>");
- $links[] = $ahh;
- print_r($links);
- }
- }
- }
- ?>[/code][/hide]
- Perl Dilinde Yazılmış Bir Başka Güzel Script Daha :D :) :cigara:
- [img]https://i.hizliresim.com/Mvja71.png[/img]
- [img]https://i.hizliresim.com/qWzJLd.png[/img]
- [hide][code] #!/usr/bin/perl -w
- #####################################################################################################################
- #[+] Usage: GoogleDork.pl <dork> [+] #
- # #
- #Coded By Cyberizm Digital Security Team #
- # KingSkrupellos #
- #Ready Stock: #
- #CC Fresh | cPanel | Shell | Mailer | RDP | SSH root | SSH Tuneling | FTP | WebMail | SMTP | Email Leads | ScamPages#
- # İletişim Adresim : k1ngskrup3ll0s@gmail.com #
- #####################################################################################################################
- use WWW::Mechanize;
- use WWW::Mechanize::TreeBuilder;
- use URI::Escape;
- if(@ARGV!= 1){&usage;}
- else{
- print "\n";
- print "----------------------------------\n";
- print "- GoogleDork.pl -\n";
- print "- by Cyberizm.Org -\n";
- print "----------------------------------\n";
- print "\n";
- print "Please Wait...\n";
- print "\n";
- open(LOG,">>results.txt") || die "Can't open file\n";
- print LOG "-------------------------------\n";
- print LOG "Dork: ".$ARGV[0]."\n";
- print LOG "-------------------------------\n";
- close(LOG);
- my $google = "http://www.google.com/search?q=";
- my $dork = $ARGV[0];
- my $mech = WWW::Mechanize->new;
- WWW::Mechanize::TreeBuilder->meta->apply($mech);
- for (my $i=0; $i<=1000; $i+=100){
- $mech->get($google.$dork."&num=100&start=".$i);
- my @links = $mech->links();
- for my $link ( @links ) {
- my $res = $link->url;
- while ($res =~ m/\/url\?q=(.*?)&sa=U&ei=/g) {
- my $link = $1;
- if ($link !~ /google/){
- my $ss = uri_unescape($1);
- print $ss."\n";
- open(LOG,">>results.txt") || die "Can't open file\n";
- print LOG $ss, "\n";
- close(LOG);
- }
- }
- }
- }
- print "Done!!\n";
- }
- sub usage{
- print "[-] GoogleDork.pl <dork>\n";
- print "[-] example : GoogleDork.pl index.php?id\n";
- die("[!] Usage incorrect !!\n");
- } [/code][/hide]
- Kullanımı =>
- perl GoogleDork.pl <dork>
- Örnek =>
- perl GoogleDork.pl index.php?id
- Python Dilinde Yazılmış Bir Başka Güzel Script Daha :D :)
- [img]https://i.hizliresim.com/9djDyN.png[/img]
- [hide][code]# This is a universal google dorker
- # You can use this for getting urls of every dork you know.
- # Just input the dork and number of pages,
- # the script will take care of the rest.
- #-----------------------------------------------------
- # Name : Google Dorker.py
- # Version : beta
- # Author : KingSkrupellos
- # Cyberizm.Org Digital Security Team
- #-----------------------------------------------------
- ###########################################################
- global logo
- logo = '''
- ___ _ ___ _
- / __|___ ___ __ _| |___ | \ ___ _ _| |_____ _ _
- | (_ / _ \/ _ \/ _` | / -_) | |) / _ \ '_| / / -_) '_|
- \___\___/\___/\__, |_\___| |___/\___/_| |_\_\___|_|
- |___/
- (- Version : Beta -)
- (- Author : KingSkrupellos -)
- (- Cyberizm.Org Digital Security Team -)'''
- try:
- from pygoogle import pygoogle
- except ImportError:
- print "[!] Pygoogle file not found!"
- print "[!] Program can't continue"
- print "[!] Get pygoogle file from this link"
- print "\n\t\t[ http://pastebin.com/Q0xVF2nV ]"
- class dorker():
- def __init__(self):
- print logo
- search_dork = raw_input("\n\nEnter Dork : ")
- pages = input("Enter number of pages : ")
- f_output = raw_input("Enter file to output urls : ")
- if search_dork != '' and pages != '':
- self.dork(search_dork,pages,f_output)
- def dork(self,search_term,p,output):
- print "[+] Searching for %s " % search_term
- gs = pygoogle(search_term)
- gs.pages = p
- print "[+] Results Found : %s " % (gs.get_result_count())
- if gs.get_result_count() == 0: print "[-] No Results Found"; exit
- print "[+] Fetching [%s] Results " % (gs.get_result_count())
- url_list = gs.get_urls()
- print "[+] Got [%s] URLs" % (len(url_list))
- print "[+] Writing URLs to [%s] " % (output)
- with open(output,'w') as w_file:
- for i in url_list: w_file.write(i+'\n')
- print "[+] URLs saved to [%s] " % (output)
- def main():
- google = dorker()
- if __name__ == '__main__':
- main()[/code][/hide]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement