GithubHelp home page GithubHelp logo

Unicode error (ghdb-scraper) about pagodo HOT 5 CLOSED

opsdisk avatar opsdisk commented on July 20, 2024
Unicode error (ghdb-scraper)

from pagodo.

Comments (5)

opsdisk avatar opsdisk commented on July 20, 2024

Thanks for reporting this @bimarifin . What exact version of Python are you using? Looks like 3.7 from your output. I just tried with Python 3.6.7 and 3.7.5 and didn't have any issues, but I'll take a look at adding some defensive measures.

from pagodo.

bimarifin avatar bimarifin commented on July 20, 2024

image

btw i also making changes with your code, i think people like me doesnt want to get all dorks from ghdb, just spesific category, so i making changes and looks like that.

image

but i dont know how to changes / commit to your repo, sorry newbie with github :(

from pagodo.

bimarifin avatar bimarifin commented on July 20, 2024

but you can use this :

_categories = {'1': 'Footholds', '2': 'File_Containing_Usernames', '3': 'Sensitives_Directories', '4': 'Web_Server_Detection', '5': 'Vulnerable_Files', '6': 'Vulnerable_Servers', '7': 'Error_Messages', '8': 'File_Containing_Juicy_Info', '9': 'File_Containing_Passwords', '10': 'Sensitive_Online_Shopping_Info', '11': 'Network_or_Vulnerability_Data', '12': 'Pages_Containing_Login_Portals', '13': 'Various_Online_devices', '14': 'Advisories_and_Vulnerabilities'}

and just add for loop into retrieve google_dorks

for key, value in _categories.items():
        
        url = "https://www.exploit-db.com/google-hacking-database?category={}".format(key)

from pagodo.

opsdisk avatar opsdisk commented on July 20, 2024

Great idea! That capability would be awesome. Check out this branch and let me know what you think:

git clone https://github.com/opsdisk/pagodo.git
git branch -a
git checkout issue-37-ghdb_scraper-unicode-error

Pull request is here: #38

from pagodo.

opsdisk avatar opsdisk commented on July 20, 2024

Merged into master

  • Added encoding="utf-8" when writing files to disk
  • Added -i switch to separate dorks into different individual categories

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.