vulsio / go-exploitdb

Tool for searching Exploits from Exploit Databases, etc.
MIT License
249 stars 56 forks source link

fix(models): fill in OffensiveSecurityTime #49

Closed MaineK00n closed 3 years ago

MaineK00n commented 3 years ago

What did you implement:

When I looked in the DB, I found that the date: OffensiveSecurityTime part was null. This has been fixed.

Type of change

How Has This Been Tested?

// upstream/master: go-exploitdb fetch exploitdb
$ sqlite3 go-exploitdb.sqlite3
SQLite version 3.31.1 2020-01-27 19:55:54
Enter ".help" for usage hints.
sqlite> select offensive_security_id, date from documents LIMIT 3;
offensive_security_id|date
1|
2|
3|

// PR: go-exploitdb fetch exploitdb
$ sqlite3 go-exploitdb.sqlite3
sqlite> select offensive_security_id, date from documents LIMIT 3;
offensive_security_id|date
1|2008-06-22 00:00:00+00:00
2|2008-06-22 00:00:00+00:00
3|2016-06-06 00:00:00+00:00

Checklist:

You don't have to satisfy all of the following.

Is this ready for review?: YES

Reference