Jump to content
Htich

Dork Scan Bing search

Recommended Posts

#!/usr/bin/perl -w #Dork Scann #By #cPanel use LWP::UserAgent; print - Pastebin.com

Sper sa va fie de folos.

------------------------------

                   

#!/usr/bin/perl -w
#Dork Scann
#By
#cPanel

use LWP::UserAgent;

print q{
+----------------------[Dork Scan]----------------------+
| |
| By cPanel |
| v2 |
+-------------------------------------------------------+

};
print "\nColoque Sua Dork:";
print "\n(Ex: inurl:home.php?id= )\n";
print "=>";
$dork = <STDIN>;
chomp($dork);

print "Scan Start!";

for ($i = 0; $i < 1000; $i += 10) {

$b = LWP::UserAgent->new(agent => 'Mozilla/4.8 [en] (Windows NT 6.0; U)');
$b->timeout(30);
$b->env_proxy;
$c = $b->get('http://www.bing.com/search?q=' . $dork . '&first=' . $i . '&FORM=PERE')->content;
$check = index($c, 'sb_pagN');

while (1) {
$n = index($c, '<h3><a href="');

if ($n == -1) {
last;
}

print "$s\n";
$c = substr($c, $n + 13);
$s = substr($c, 0, index($c, '"'));
open (txt,">>done.txt");
print txt $s,"\n";
close(txt);

}
if ($check == -1) {
last;
}
}
print "Scan Finalizado!";
system("done.txt");
exit;


Edited by hate.me
Link to comment
Share on other sites

paikpanter @ Din cate stiu eu Google baneaza foarte repede "motoarele pentru cautare" , bing-ul nu !

OFF : Comanda manuala ->

https://www.google.com/search?q=%22php?id%22&num=100&filter=0&start=%22.$i%29;

}

sub google() {
my @list;
my $key = $_[0];
for (my $i=0; $i<=1000; $i+=100){
my $search = ("http://www.google.com/search?q=".uri_escape($key)."&num=100&filter=0&start=".$i);
my $res = &search_engine_query($search);
while ($res =~ m/<a href=\"\/url\?q=http:\/\/([^"]*)\"/g) {
my $link = $1;
if ($link !~ /google/){
my @grep = &links($link);
push(@list,@grep);
}
}
}
return @list;
}

Edited by Htich
Link to comment
Share on other sites

new:/usr/src/.src/nt/src# perl p.pl

Unquoted string "txt" may clash with future reserved word at p.pl line 42.

Unquoted string "txt" may clash with future reserved word at p.pl line 43.

Unquoted string "txt" may clash with future reserved word at p.pl line 44.

Scan Finalizado!Can't exec "done.txt": No such file or directory at p.pl line 52, <STDIN> line 1.

Link to comment
Share on other sites

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...