GithubHelp home page GithubHelp logo

mdeous / exploitdb Goto Github PK

View Code? Open in Web Editor NEW
59.0 59.0 14.0 488 KB

Shell-style script to search exploit-db.com exploits.

Home Page: http://mdeous.github.io/exploitdb/

License: Other

Python 100.00%

exploitdb's People

Contributors

llazzaro avatar mdeous avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

exploitdb's Issues

Archive file format changed from BZIP2 to ZIP

The format of the exploits archive provided by exploit-db has changed and is now a ZIP.
As the script assumes it is a BZIP file, extraction fails with an error:

tarfile.ReadError: not a bzip2 file

add a "show" command

It would be useful to be able to see the content of a sploit by referencing them either by id or by path. Searching for a sploit and then having to escape exploitdb.py to view it is counterproductive.

UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3

  • exploitdb version: the version from github
  • Python version: 3.5.2
  • Operating System: blackarch Linux

Description

Run ./exploitdb.py
I try to run the application and I have an error

What I Did

./exploitdb.py   
Traceback (most recent call last):
  File "./exploitdb.py", line 272, in <module>
    main()
  File "./exploitdb.py", line 262, in main
    es = ExploitSearch()
  File "./exploitdb.py", line 61, in __init__
    self.load_csv()
  File "./exploitdb.py", line 121, in load_csv
    for index, entry in enumerate(reader):
  File "/usr/lib/python3.5/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 2712: ordinal not in range(128)

searching multiple patterns for a single field name doesn't have expected behavior

When passing multiple patterns for a single field name to the search command (for example: search description:zabbix description:"2."), behavior is not the expected one. This kind of search should "accumulate" patterns and act like an "AND" search, instead of this, it currently acts as a "OR" search, which is far less convenient.

automatically check if an update is available

It would be nice if the application could check at startup if an updated exploits archive exists, and notify the user if so. This would also be useful when using the updatedb command as it would prevent the script to download the whole archive even if it was not updated.

allow regular expressions when searching in the description field

Currently, the search command uses substring matching to find given patterns, it could be useful if it could also match using regular expressions. There could be a different syntax to differenciate between regex and substring matching, for example, regex patterns could be quoted and prefixed by "r" (search description:r"zabbix 1\.[0-2]").

allow user to also store personnal exploits

It would be nice if users could also store their own exploits and have it searchable by the application.
This is currently impossible because exploits folder is overwritten each time exploits are updated.

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.