aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormicrosvuln <55649192+Microsvuln@users.noreply.github.com>2021-04-03 02:12:24 +0400
committermicrosvuln <55649192+Microsvuln@users.noreply.github.com>2021-04-03 02:12:24 +0400
commitc4f418c3b27bad3cc61eb61e7b9cf6fb7bbe6868 (patch)
treed0467e01c741488bcf9c81ce526a71f57e2cf413
parent67989e9f2acb5e39e9ef422c27f0fe9db3f7da95 (diff)
downloadafl++-c4f418c3b27bad3cc61eb61e7b9cf6fb7bbe6868.tar.gz
Add shell command
Add shell command
-rw-r--r--utils/autodict_ql/readme.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/utils/autodict_ql/readme.md b/utils/autodict_ql/readme.md
index b368002c..c9c0d2d0 100644
--- a/utils/autodict_ql/readme.md
+++ b/utils/autodict_ql/readme.md
@@ -40,7 +40,7 @@ The usage of Autodict-QL is pretty easy. But let's describe it as :
Then you should get :
-"
+```shell
Usage: codeql <command> <argument>...
Create and query CodeQL databases, or work with the QL language.
@@ -64,7 +64,7 @@ Commands:
version Show the version of the CodeQL toolchain.
generate Generate formatted QL documentation.
github Commands useful for interacting with the GitHub API through CodeQL.
-"
+```
2. Compiler your project with CodeQL: For using the Autodict-QL plugin, you need to compile the source of the target you want to fuzz with CodeQL. This is not something hard .
- First you need to create a CodeQL database of the project codebase, suppose we want to compile the libxml with codeql. go to libxml and issue the following commands:
@@ -76,7 +76,7 @@ Commands:
4. The final step is to update the CodeQL database you created in the step 2 inside the automate dir you created at step 3 :
- `codeql database upgrade ../libxml-db`
5. Everything is set! Now you should issue the following to get the tokens :
- - `python3 autodict-ql.py [CURRECT_DIR] [CODEQL_DATABASE_PATH] [TOKEN_PATH]`
- - example : `python3 autodict-ql.py /home/user/libxml/automate /home/user/libxml/libxml-db tokens`
- - This will create the final `tokens` dir for you and you are done, then pass the tokens path to afl `-x` flag.
+ - `python3 autodict-ql.py [CURRECT_DIR] [CODEQL_DATABASE_PATH] [TOKEN_PATH]`
+ - example : `python3 autodict-ql.py /home/user/libxml/automate /home/user/libxml/libxml-db tokens`
+ - This will create the final `tokens` dir for you and you are done, then pass the tokens path to afl `-x` flag.
6. Done! \ No newline at end of file