mirror of
https://github.com/hohn/codeql-dataflow-sql-injection.git
synced 2025-12-16 18:23:05 +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):
|
To get started, build the codeql database (adjust paths to your setup):
|
||||||
#+BEGIN_SRC sh
|
#+BEGIN_SRC sh
|
||||||
# Build the db with source commit id.
|
# 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
|
SRCDIR=$HOME/local/codeql-dataflow-sql-injection
|
||||||
DB=$SRCDIR/cpp-sqli-$(cd $SRCDIR && git rev-parse --short HEAD)
|
DB=$SRCDIR/cpp-sqli-$(cd $SRCDIR && git rev-parse --short HEAD)
|
||||||
|
|
||||||
@@ -184,7 +184,7 @@
|
|||||||
|
|
||||||
#+BEGIN_SRC sh
|
#+BEGIN_SRC sh
|
||||||
# The setup information from before
|
# 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
|
SRCDIR=$HOME/local/codeql-dataflow-sql-injection
|
||||||
DB=$SRCDIR/cpp-sqli-$(cd $SRCDIR && git rev-parse --short HEAD)
|
DB=$SRCDIR/cpp-sqli-$(cd $SRCDIR && git rev-parse --short HEAD)
|
||||||
|
|
||||||
@@ -201,7 +201,7 @@
|
|||||||
--ram=14000 \
|
--ram=14000 \
|
||||||
-j12 \
|
-j12 \
|
||||||
--rerun \
|
--rerun \
|
||||||
--search-path $HOME/local/codeql-2.7.6/ql \
|
--search-path $HOME/local/codeql-v2.9.3/ql \
|
||||||
--format=sarif-latest \
|
--format=sarif-latest \
|
||||||
--output cpp-sqli.sarif \
|
--output cpp-sqli.sarif \
|
||||||
-- \
|
-- \
|
||||||
|
|||||||
Reference in New Issue
Block a user