Advertisement
KingSkrupellos

CyBeRiZM Google Dorker Kolay Yoldan Site Bulma 2017

Aug 17th, 2017
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.54 KB | None | 0 0
  1. Yazar => KingSkrupellos - Cyberizm.Org Digital Security Team
  2.  
  3. Google Search Engine Dorker PHP - PERL - PYTHON
  4.  
  5. 1) XAMPP Yeni PHP Kod [ CDST Google Dorker CDST ]
  6.  
  7. Önemli => Bilgisayarınızda XAMPP yüklü olması gerekiyor. PHP kodlarını çalıştırabilmeniz için.
  8.  
  9. [/code]https://www.apachefriends.org/tr/download.html[/code]
  10.  
  11. 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.
  12.  
  13. Aşağıdaki Kodlar Sadece Windows için Geçerlidir.
  14.  
  15. 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:
  16.  
  17. [/code]https://github.com/0xhex/google-dork-scanner[/code]
  18.  
  19. Google Dorker'ın Kullanma Talimatları ve Videoları
  20.  
  21. [video=youtube]https://www.youtube.com/watch?v=A2zpIZvPgtQ[/video]
  22.  
  23. [hide][code]<?php
  24. /**
  25. KingSkrupellos - Cyberizm.Org Digital Security Team
  26. CDST Google Dorker CDST
  27. **/
  28. error_reporting(0);
  29.  
  30. function save($data){
  31. $fp = @fopen("google_dom.htm", "a") or die("cant open file");
  32. fwrite($fp, $data);
  33. fclose($fp);
  34. }
  35. $links = array();
  36. $dork = "intext:KingSkrupellos";
  37. for($i=0;$i<=1000;$i+=10){
  38. $xml = new DOMDocument('1.0', "UTF-8");
  39.  
  40. $xml->loadHTMLFile("http://www.google.com/search?q=".urlencode($dork)."&start=$i");
  41. echo "ahh";
  42.  
  43. foreach($xml->getElementsByTagName('cite') as $link) {
  44.  
  45. $su = "http://$link->nodeValue";
  46.  
  47. $ahh = parse_url($su, PHP_URL_HOST);
  48. if(in_array($ahh, $links) or preg_match("/blogspot/",$ahh)) {
  49. echo "$ahh element is in the array";
  50. }
  51. else{
  52. save("$ahh<br>");
  53. $links[] = $ahh;
  54. print_r($links);
  55. }
  56. }
  57. }
  58.  
  59.  
  60. ?>[/code][/hide]
  61.  
  62.  
  63. 2) Eski Kod [ CDST Google Dorker CDST ]
  64.  
  65. [video=youtube]https://www.youtube.com/watch?v=Ggv4kkYMEM8[/video]
  66.  
  67. [hide][code]<?php
  68. // KingSkrupellos - Cyberizm.Org Digital Security Team
  69. // CDST Google Dorker CDST
  70. error_reporting(0);
  71. function save($data){
  72. $fp = @fopen("hasil.htm", "a") or die("cant open file");
  73. fwrite($fp, $data);
  74. fclose($fp);
  75. }
  76. $list = array();
  77. $b = 5;
  78. $dorks = "intext:KingSkrupellos";
  79. $dork = urlencode($dorks);
  80. for($i=0;$i+=$b;$i++){
  81. $kuki = rand();
  82. echo $i;
  83. //http://ajax.googleapis.com/ajax/services/search/web?v=1.0&hl=iw&rsz=8&q=$dork&key=$kunAPI&start=$i
  84. $ch1 = curl_init ("https://www.google.com/search?q=$dork&btnG=Search&start=$i#q=$dork&start=$i");
  85. curl_setopt ($ch1, CURLOPT_RETURNTRANSFER, 1);
  86. curl_setopt ($ch1, CURLOPT_FOLLOWLOCATION, 1);
  87. curl_setopt ($ch1, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; rv:32.0) Gecko/20100101 Firefox/32.0");
  88. curl_setopt ($ch1, CURLOPT_SSL_VERIFYPEER, 0);
  89. curl_setopt ($ch1, CURLOPT_SSL_VERIFYHOST, 0);
  90. curl_setopt($ch1, CURLOPT_COOKIEJAR,"$kuki.txt");
  91. curl_setopt($ch1, CURLOPT_COOKIEFILE,"$kuki.txt");
  92. $result = curl_exec ($ch1);
  93.  
  94. preg_match_all("/style=\"white-space:nowrap\"><c(.*?)\//", $result, $a);
  95. foreach($a[1] as $sitesn){
  96. $sites = explode("ite class=\"_Rm\">", $sitesn);
  97. $sulton = parse_url("http://$sites[1]", PHP_URL_HOST);
  98. if(!in_array($sulton,$list)){
  99. $list[] = $sulton;
  100. echo "$sulton\n";
  101. save("$sulton<br>");
  102.  
  103.  
  104. }
  105. else{
  106. echo "$sulton ============================>\n";
  107. }
  108. }
  109.  
  110. }
  111. ?>[/code][/hide]
  112.  
  113. 3) XAMPP Google Auto Dorker PHP Code [ CDST Google Dorker CDST ]
  114.  
  115. [video=youtube]https://www.youtube.com/watch?v=E_lYjmWU7gg[/video]
  116.  
  117. [hide][code]<?php
  118. /**
  119. // KingSkrupellos - Cyberizm.Org Digital Security Team
  120. // CDST Google Dorker CDST
  121. // www.cyberizm.org
  122. **/
  123. error_reporting(0);
  124.  
  125. function save($data){
  126. $fp = @fopen("Result-dorker.html", "a") or die("cant open file");
  127. fwrite($fp, $data);
  128. fclose($fp);
  129. }
  130. $links = array();
  131. $dork = "Text input Dork!";
  132. for($i=0;$i<=1000;$i+=10){
  133. $xml = new DOMDocument('1.0', "UTF-8");
  134.  
  135. $xml->loadHTMLFile("http://www.google.com/search?q=".urlencode($dork)."&start=$i");
  136. echo "ahh";
  137.  
  138. foreach($xml->getElementsByTagName('cite') as $link) {
  139.  
  140. $su = "http://$link->nodeValue";
  141.  
  142. $ahh = parse_url($su, PHP_URL_HOST);
  143. if(in_array($ahh, $links) or preg_match("/blogspot/",$ahh)) {
  144. echo "$ahh element is in the array";
  145. }
  146. else{
  147. save("$ahh<br>");
  148. $links[] = $ahh;
  149. print_r($links);
  150. }
  151. }
  152. }
  153.  
  154.  
  155. ?>[/code][/hide]
  156.  
  157. Perl Dilinde Yazılmış Bir Başka Güzel Script Daha :D :) :cigara:
  158.  
  159. [img]https://i.hizliresim.com/Mvja71.png[/img]
  160.  
  161. [img]https://i.hizliresim.com/qWzJLd.png[/img]
  162.  
  163. [hide][code] #!/usr/bin/perl -w
  164. #####################################################################################################################
  165. #[+] Usage: GoogleDork.pl <dork> [+] #
  166. # #
  167. #Coded By Cyberizm Digital Security Team #
  168. # KingSkrupellos #
  169. #Ready Stock: #
  170. #CC Fresh | cPanel | Shell | Mailer | RDP | SSH root | SSH Tuneling | FTP | WebMail | SMTP | Email Leads | ScamPages#
  171. # İletişim Adresim : k1ngskrup3ll0s@gmail.com #
  172. #####################################################################################################################
  173. use WWW::Mechanize;
  174. use WWW::Mechanize::TreeBuilder;
  175. use URI::Escape;
  176. if(@ARGV!= 1){&usage;}
  177. else{
  178. print "\n";
  179. print "----------------------------------\n";
  180. print "- GoogleDork.pl -\n";
  181. print "- by Cyberizm.Org -\n";
  182. print "----------------------------------\n";
  183. print "\n";
  184. print "Please Wait...\n";
  185. print "\n";
  186. open(LOG,">>results.txt") || die "Can't open file\n";
  187. print LOG "-------------------------------\n";
  188. print LOG "Dork: ".$ARGV[0]."\n";
  189. print LOG "-------------------------------\n";
  190. close(LOG);
  191. my $google = "http://www.google.com/search?q=";
  192. my $dork = $ARGV[0];
  193. my $mech = WWW::Mechanize->new;
  194. WWW::Mechanize::TreeBuilder->meta->apply($mech);
  195. for (my $i=0; $i<=1000; $i+=100){
  196. $mech->get($google.$dork."&num=100&start=".$i);
  197. my @links = $mech->links();
  198. for my $link ( @links ) {
  199. my $res = $link->url;
  200. while ($res =~ m/\/url\?q=(.*?)&sa=U&ei=/g) {
  201. my $link = $1;
  202. if ($link !~ /google/){
  203. my $ss = uri_unescape($1);
  204. print $ss."\n";
  205. open(LOG,">>results.txt") || die "Can't open file\n";
  206. print LOG $ss, "\n";
  207. close(LOG);
  208. }
  209. }
  210. }
  211. }
  212. print "Done!!\n";
  213. }
  214. sub usage{
  215. print "[-] GoogleDork.pl <dork>\n";
  216. print "[-] example : GoogleDork.pl index.php?id\n";
  217. die("[!] Usage incorrect !!\n");
  218. } [/code][/hide]
  219.  
  220. Kullanımı =>
  221.  
  222. perl GoogleDork.pl <dork>
  223.  
  224. Örnek =>
  225.  
  226. perl GoogleDork.pl index.php?id
  227.  
  228. Python Dilinde Yazılmış Bir Başka Güzel Script Daha :D :)
  229.  
  230. [img]https://i.hizliresim.com/9djDyN.png[/img]
  231.  
  232. [hide][code]# This is a universal google dorker
  233. # You can use this for getting urls of every dork you know.
  234. # Just input the dork and number of pages,
  235. # the script will take care of the rest.
  236.  
  237. #-----------------------------------------------------
  238. # Name : Google Dorker.py
  239. # Version : beta
  240. # Author : KingSkrupellos
  241. # Cyberizm.Org Digital Security Team
  242. #-----------------------------------------------------
  243.  
  244. ###########################################################
  245.  
  246. global logo
  247. logo = '''
  248. ___ _ ___ _
  249. / __|___ ___ __ _| |___ | \ ___ _ _| |_____ _ _
  250. | (_ / _ \/ _ \/ _` | / -_) | |) / _ \ '_| / / -_) '_|
  251. \___\___/\___/\__, |_\___| |___/\___/_| |_\_\___|_|
  252. |___/
  253. (- Version : Beta -)
  254. (- Author : KingSkrupellos -)
  255. (- Cyberizm.Org Digital Security Team -)'''
  256. try:
  257. from pygoogle import pygoogle
  258. except ImportError:
  259. print "[!] Pygoogle file not found!"
  260. print "[!] Program can't continue"
  261. print "[!] Get pygoogle file from this link"
  262. print "\n\t\t[ http://pastebin.com/Q0xVF2nV ]"
  263.  
  264. class dorker():
  265.  
  266. def __init__(self):
  267. print logo
  268.  
  269. search_dork = raw_input("\n\nEnter Dork : ")
  270. pages = input("Enter number of pages : ")
  271. f_output = raw_input("Enter file to output urls : ")
  272.  
  273. if search_dork != '' and pages != '':
  274. self.dork(search_dork,pages,f_output)
  275.  
  276. def dork(self,search_term,p,output):
  277. print "[+] Searching for %s " % search_term
  278. gs = pygoogle(search_term)
  279. gs.pages = p
  280. print "[+] Results Found : %s " % (gs.get_result_count())
  281. if gs.get_result_count() == 0: print "[-] No Results Found"; exit
  282.  
  283. print "[+] Fetching [%s] Results " % (gs.get_result_count())
  284. url_list = gs.get_urls()
  285. print "[+] Got [%s] URLs" % (len(url_list))
  286. print "[+] Writing URLs to [%s] " % (output)
  287. with open(output,'w') as w_file:
  288. for i in url_list: w_file.write(i+'\n')
  289. print "[+] URLs saved to [%s] " % (output)
  290.  
  291. def main():
  292. google = dorker()
  293.  
  294.  
  295. if __name__ == '__main__':
  296. main()[/code][/hide]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement