File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
- FROM vuls/go-exploitdb:v0.4.5@sha256:ba49bb2334b7747a05f8899ead84c5d09ca3f4879419aa76d63f308fa4215c9c
1
+ # v0.4.5
2
+ FROM vuls/go-exploitdb@sha256:83385d9d3dfe7bd8473b48788286bd607d8ab4898a04e5bfd66288e5ee2ad343
2
3
3
4
# Make directory to store DB if not volume mounted
4
5
RUN mkdir /vuls
Original file line number Diff line number Diff line change 3
3
set -euo pipefail
4
4
5
5
echo " Updating from awesomepoc..."
6
- go-exploitdb --dbpath /vuls/go-exploitdb.sqlite3 fetch awesomepoc
6
+ go-exploitdb --dbpath /vuls/go-exploitdb.sqlite3 fetch awesomepoc || echo " Failed to fetch awesomepoc exploits db "
7
7
8
8
echo " Updating from exploitdb..."
9
- go-exploitdb --dbpath /vuls/go-exploitdb.sqlite3 fetch exploitdb
9
+ go-exploitdb --dbpath /vuls/go-exploitdb.sqlite3 fetch exploitdb || echo " Failed to fetch exploitdb exploits db "
10
10
11
11
echo " Updating from githubrepos..."
12
- go-exploitdb --dbpath /vuls/go-exploitdb.sqlite3 fetch githubrepos
12
+ go-exploitdb --dbpath /vuls/go-exploitdb.sqlite3 fetch githubrepos || echo " Failed to fetch githubrepos exploits db "
13
13
14
- # Fetching inthewild is disabled because the following bug broke it: https://github.com/vulsio/go-exploitdb/issues/149
15
- # echo "Updating from inthewild..."
16
- # go-exploitdb --dbpath /vuls/go-exploitdb.sqlite3 fetch inthewild
14
+ echo " Updating from inthewild..."
15
+ go-exploitdb --dbpath /vuls/go-exploitdb.sqlite3 fetch inthewild || echo " Failed to fetch inthewild exploits db"
You can’t perform that action at this time.
0 commit comments