GithubHelp home page GithubHelp logo

option with --proxy about pagodo HOT 12 CLOSED

opsdisk avatar opsdisk commented on July 20, 2024
option with --proxy

from pagodo.

Comments (12)

opsdisk avatar opsdisk commented on July 20, 2024

Hi @melmel27 appreciate the question. That might work with the current version of pagodo and proxychains. There are some new pagodo updates coming soon that I mentioned in another issue today. Biggest being native proxy support :)

#55 (comment)

from pagodo.

opsdisk avatar opsdisk commented on July 20, 2024

Just released v2! https://github.com/opsdisk/pagodo/releases/tag/v2.0.0

Going to close this one out.

from pagodo.

melmel27 avatar melmel27 commented on July 20, 2024

Hi, thanks for the very fast update.

from pagodo.

melmel27 avatar melmel27 commented on July 20, 2024

i get a certificate error, looks like adding verify=False will fix this?

python3 pagodo.py -g g.txt -o -s -p http://127.0.0.1:8080
2021-09-02 01:55:53,960 [MainThread ] [INFO] Initiation timestamp: 2021-09-02T01:55:53.960795
2021-09-02 01:55:53,961 [MainThread ] [INFO] Search ( 1 / 1 ) for Google dork [ intext:test ] using User-Agent 'Mozilla/5.0 (Windows; U; Windows NT 6.0; fr-FR) AppleWebKit/533.18.1 (KHTML, like Gecko) Version/5.0.2 Safari/533.18.5' through proxy 'http://127.0.0.1:8080'
2021-09-02 01:55:53,961 [MainThread ] [INFO] Requesting URL: https://www.google.com/
2021-09-02 01:55:53,990 [MainThread ] [ERROR] Error with dork: intext:test
2021-09-02 01:55:53,990 [MainThread ] [ERROR] EXCEPTION: HTTPSConnectionPool(host='www.google.com', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1056)')))
2021-09-02 01:55:53,991 [MainThread ] [INFO] Total URLs found for the 1 total dorks searched: 0
2021-09-02 01:55:53,992 [MainThread ] [INFO] Completion timestamp: 2021-09-02T01:55:53.992034

from pagodo.

opsdisk avatar opsdisk commented on July 20, 2024

EDIT: Just noticed it's not an HTTPS proxy. Mind sharing which proxy software you're using? Also, would appreciate you still trying out my request below.

Ahhh, didn't think of self-signed certs for proxies. So I think this will be an issue with the yagooglesearch library, and not pagodo.

To help me out, can you open yagooglesearch/__init__.py (should be something like .venv/lib/python3.7/site-packages/yagooglesearch/__init__.py if you are using Python virtual environments. Go to line 297 (https://github.com/opsdisk/yagooglesearch/blob/master/yagooglesearch/__init__.py#L297) and change it to:

response = requests.get(url, proxies=self.proxy_dict, headers=headers, cookies=self.cookies, timeout=15, verify=False)

then try re-running it and letting me know if that works.

from pagodo.

melmel27 avatar melmel27 commented on July 20, 2024

yes i edited it and it's working fine, about dork results i tried to search subdomain of *.site.com but the result shows only 100 results, can the result be more than this? Thank you in advance

from pagodo.

opsdisk avatar opsdisk commented on July 20, 2024

Thanks for confirming...I'll add the option to yagooglesearch soon.

To your question, you can specify the number of valid URLs to return using the -m switch...100 is the default. If you want to pull back something like 500, use -m 500. See https://github.com/opsdisk/pagodo#number-of-results-to-return

from pagodo.

opsdisk avatar opsdisk commented on July 20, 2024

Which HTTPS proxy software were you using @melmel27 ?

from pagodo.

melmel27 avatar melmel27 commented on July 20, 2024

hi thanks for the information. i am using IP-Rotate from aws which rotates the IP address on every request.

from pagodo.

melmel27 avatar melmel27 commented on July 20, 2024

this tool can be found in burpsuite. I have another question, some user-agents directed me to consent.google.com. is it possible that google doesn't accept too old user-agent?
IP

from pagodo.

opsdisk avatar opsdisk commented on July 20, 2024

@melmel27

I just pushed out version 2.1.0 (#62)

In your case, add the -l switch to disable SSL/TLS verification. Let me know if you run into any other issues.

Regarding the old user agent issue...maybe? pagodo should only make requests to https://www.google.com and not any subdomains like consent.google.com. Perhaps it was from a browser you were utilizing that was using burp as its proxy? Definitely let me know if you're seeing something different though.

from pagodo.

melmel27 avatar melmel27 commented on July 20, 2024

i confirm that the subdomain generated due to burp follows redirects like

HTTP/1.1 302 Found
Date: Mon, 06 Sep 2021 02:21:13 GMT
Content-Type: text/html; charset=UTF-8
Content-Length: 486
Connection: close
x-amzn-RequestId: ec8bc2eb-4442-43c3-b5d5-66000afef4a1
X-XSS-Protection: 0
x-amzn-Remapped-Content-Length: 486
X-Frame-Options: SAMEORIGIN
P3P: CP="This is not a P3P policy! See g.co/p3phelp for more info."
x-amz-apigw-id: FOArgHrarPEFcfg=
x-amzn-Remapped-Server: gws
Cache-Control: private
**Location: https://consent.google.com/ml?continue=https://www.google.com/[google-search-dork**
Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
x-amzn-Remapped-Date: Mon, 06 Sep 2021 02:21:13 GMT

from pagodo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.