You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 18, 2022. It is now read-only.
@@ -42,7 +44,15 @@ To run CodeQL queries offline, follow these steps:
42
44
43
45
<aid="orge8c9e69"></a>
44
46
45
-
## Creating the database from a project
47
+
## Obtaining a database of the vulnerable code
48
+
49
+
There are two options here: you can obtain a pre-built database from downloads.lgtm.com or lgtm.com, or you can build your own with the CodeQL CLI.
50
+
51
+
### Downloading a pre-built database
52
+
- Download and unzip the database at https://downloads.lgtm.com/snapshots/java/apache/struts/apache-struts-91ae344-CVE-2017-9805.zip OR
53
+
- Log in to LGTM.com, go to https://lgtm.com/projects/g/m-y-mo/struts_9805/ci, scroll down to **CodeQL databases for local analysis**, and click to download the latest database for Java.
54
+
55
+
### Creating a database with the CodeQL CLI
46
56
47
57
The setup procedure using the `/bin/bash` shell, with one deviation from the reference manual: using `mvn clean compile` instead of `mvn clean install`.
0 commit comments