mirror of
https://github.com/hohn/codeql-dataflow-sql-injection.git
synced 2025-12-16 10:13:04 +01:00
Updated readme
This commit is contained in:
committed by
=Michael Hohn
parent
c01a039d23
commit
c1b3c8d901
@@ -63,7 +63,7 @@
|
||||
To get started, build the codeql database (adjust paths to your setup):
|
||||
#+BEGIN_SRC sh
|
||||
# Build the db with source commit id.
|
||||
export PATH=$HOME/local/codeql-2.7.6/codeql:"$PATH"
|
||||
export PATH=$HOME/local/codeql-v2.9.3/codeql:"$PATH"
|
||||
SRCDIR=$HOME/local/codeql-dataflow-sql-injection
|
||||
DB=$SRCDIR/cpp-sqli-$(cd $SRCDIR && git rev-parse --short HEAD)
|
||||
|
||||
@@ -184,7 +184,7 @@
|
||||
|
||||
#+BEGIN_SRC sh
|
||||
# The setup information from before
|
||||
export PATH=$HOME/local/codeql-2.7.6/codeql:"$PATH"
|
||||
export PATH=$HOME/local/codeql-v2.9.3/codeql:"$PATH"
|
||||
SRCDIR=$HOME/local/codeql-dataflow-sql-injection
|
||||
DB=$SRCDIR/cpp-sqli-$(cd $SRCDIR && git rev-parse --short HEAD)
|
||||
|
||||
@@ -201,7 +201,7 @@
|
||||
--ram=14000 \
|
||||
-j12 \
|
||||
--rerun \
|
||||
--search-path $HOME/local/codeql-2.7.6/ql \
|
||||
--search-path $HOME/local/codeql-v2.9.3/ql \
|
||||
--format=sarif-latest \
|
||||
--output cpp-sqli.sarif \
|
||||
-- \
|
||||
|
||||
Reference in New Issue
Block a user