Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

metagoofil does not find any results #13

Open
GoogleCodeExporter opened this issue Aug 13, 2015 · 25 comments
Open

metagoofil does not find any results #13

GoogleCodeExporter opened this issue Aug 13, 2015 · 25 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. metagoofil -d microsoft.com -t doc,pdf -l 200 -n 50 -o msfiles -f 
results.html
2. metagoofil -d docs.kali.org -t doc,pdf -l 200 -n 50 -o kalifiles -f 
results.html
3. metagoofil -d apple.com -t doc,pdf -l 200 -n 50 -o applefiles -f results.html

What is the expected output? What do you see instead?

All searches return the same thing.

[-] Starting online search...

[-] Searching for doc files, with a limit of 200
    Searching 100 results...
    Searching 200 results...
Results: 0 files found
Starting to download 50 of them:
----------------------------------------


[-] Searching for pdf files, with a limit of 200
    Searching 100 results...
    Searching 200 results...
Results: 0 files found
Starting to download 50 of them:
----------------------------------------

processing
user
email

[+] List of users found:
--------------------------

[+] List of software found:
-----------------------------

[+] List of paths and servers found:
---------------------------------------

[+] List of e-mails found:
----------------------------


What version of the product are you using? On what operating system?

metagoofil 2.2 on Kali Linux. Same result with a fresh svn checkout.

Please provide any additional information below.

I suspect Google has changed things on you again.

Original issue reported on code.google.com by [email protected] on 24 Mar 2015 at 3:02

@GoogleCodeExporter
Copy link
Author

I am facing similar issue. I tried below solutions:

1) Making the change in downloader.py 

self.url=url.replace("/url?q=", "", 1).split("&")[0]

Note: Strangely this worked just one time in BackTrack5 and found some files 
but no luck in successful download/parse.

2) I even tried Arsenal version as suggested in Issue ID 9. It didn't worked 
too.

3) Some Gentlemen suggested it's happening due to Google 302 page redirects, 
and to modify discovery/googlesearch.py accordingly. It didn't worked as well.

Kindly provide the working solution.

Original comment by [email protected] on 26 May 2015 at 8:00

@cancun1
Copy link

cancun1 commented Aug 10, 2016

if i write this self.url=url.replace("/url?q=", "", 1).split("&")[0]
terminal says this bash: syntax error near unexpected token `"/url?q=",
what can ı do to fix metagoofil ı havent get any result

@lazydeveloper-X
Copy link

same issues

@Allan-Martin
Copy link

Hello there, I installed metagoofil ver 2.2 recently on Kali-linux by typing: apt-get install metagoofil. Unfortunately it doesn’t work at all, it does the search alright but always find 0 files. I even modified the 4th line in downloader.py to:
self.url=url.replace(“/url?q=”, “”,1).split(“&amp”)[0]
but it didn’t help either. Is ther any fix?

@dbeare
Copy link

dbeare commented Mar 6, 2017

I have the same problem. No files found whatever I do.

@ahmedxuae91
Copy link

same i here

@yitzhak-dash
Copy link

I have that problem, too.

@dbeare
Copy link

dbeare commented Apr 3, 2017

I found some code which fixed it for about 3 or 4 goes. Then it went back to zero finds again. I suspect that Google is recognising Metagoogfil and acts to prevent it finding stuff. Has anyone tried using another IP address?

@AlexBaranowski
Copy link

Does anybody know how to fix this issue? I have problem with current Kali Linux version. I have tried with few vps, different hosts - still no luck. I also tried with patch of url, and patch of using 302 return code... According to #14 the problem is Google itself. Does anybody has any idea how to fix it? In current state this great software is useless 😢.

@rahoolnikam
Copy link

Did anyone find any solution for this?
Everytime I run the tool, it ends up with 0 files found.

Kind help appreciated. (I m running metagoofil 2.2 in Kali 4.14)

@banihama
Copy link

The solution is to run this command in Kali Linux and will fix it . (Copy the whole command and past it)

pip install requests && rm -rf /usr/share/metagoofil/ && git clone https:/WiReD-/metagoofil.git /usr/share/metagoofil

@n3ptun0
Copy link

n3ptun0 commented Dec 18, 2018

The solution is to run this command in Kali Linux and will fix it . (Copy the whole command and past it)

pip install requests && rm -rf /usr/share/metagoofil/ && git clone https:/WiReD-/metagoofil.git /usr/share/metagoofil

Perfect! it's correct!

@fritzcat
Copy link

fritzcat commented Oct 2, 2019

it doesnt work for me
sometimes it work for 1 run, but most time there no results

@Forte577
Copy link

The solution is to run this command in Kali Linux and will fix it . (Copy the whole command and past it)
pip install requests && rm -rf /usr/share/metagoofil/ && git clone https:/WiReD-/metagoofil.git /usr/share/metagoofil

Perfect! it's correct!

same here!

@strykerstalker
Copy link

It works beautifully on PARROT SECURITY, but when i do it on kali i get (the -f results.html ) is the incorrect funtion. wtf.. ???
and no search results when i did it on my own site and made all the files available still nothing

@dbeare
Copy link

dbeare commented Dec 10, 2019

The solution is to run this command in Kali Linux and will fix it . (Copy the whole command and past it)
pip install requests && rm -rf /usr/share/metagoofil/ && git clone https:/WiReD-/metagoofil.git /usr/share/metagoofil

Perfect! it's correct!

Seems to work for me the first time around.

@gkArvindr
Copy link

https:/opsdisk/metagoofil

I used code from this link and it worked perfectly

@eliassal
Copy link

Hi, I have fresh new Kali linux 2020 machine, metagoofil had the same issue. I applied the fix mentioned above
pip install requests && rm -rf /usr/share/metagoofil/ && .........

Now when I try to run metagoofil, I get syntax issue

ile "/usr/share/metagoofil/metagoofil.py", line 13
print "\n******************************************************" ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("\n******************************************************")?

I removed this line from file, I get error on the following line

File "/usr/share/metagoofil/metagoofil.py", line 14
print "* //\ __| | __ _ __ _ ___ ___ / () | *"
^

@sameeyn
Copy link

sameeyn commented Feb 18, 2020

Hi, I have fresh new Kali linux 2020 machine, metagoofil had the same issue. I applied the fix mentioned above
pip install requests && rm -rf /usr/share/metagoofil/ && .........

Now when I try to run metagoofil, I get syntax issue

ile "/usr/share/metagoofil/metagoofil.py", line 13
print "\n******************************************************" ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("\n******************************************************")?

I removed this line from file, I get error on the following line

File "/usr/share/metagoofil/metagoofil.py", line 14
print "* //\ __| | __ _ __ _ ___ ___ / () | *"
^

Im getting the exact same error and fixing it only results in numerous other syntax problems

@strykerstalker
Copy link

strykerstalker commented Feb 20, 2020 via email

@eliassal
Copy link

How? thanks
I am not expert in linux

@stitches03wsp
Copy link

stitches03wsp commented Feb 24, 2020

so frustrating. im just trying to learn, and i have the same syntax error...

@sameeyn
Copy link

sameeyn commented Feb 25, 2020

try running with python2 it's an incompatibility issue so use:

python2 /usr/share/metagoofil/metagoofil.py -d "webpage" -t doc,pdf,xls -l "#ofresults" -o "folder name" -f "filename.html"

try running it this way all one command.

@strykerstalker
Copy link

strykerstalker commented Jul 26, 2021 via email

@erenaltuntop
Copy link

Başka bir tarayıcı dene

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests