From 24f1cc4bfe4f1da6a597d84c509debf393f3b29a Mon Sep 17 00:00:00 2001 From: Leo Feradero Nugraha Date: Fri, 23 Jan 2026 23:41:58 +0700 Subject: [PATCH 1/2] feat: add Dockerfile to ease installation --- Dockerfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..0e807f1 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM python:3.11-slim + +WORKDIR /app + +RUN apt-get update + +COPY . . + +RUN python3 -m pip install --upgrade pip \ + && python3 -m pip install --upgrade -r requirements.txt --root-user-action=ignore + +ENTRYPOINT ["python", "-m", "ghauri.scripts.ghauri"] +CMD ["--help"] From 6dc4b441b92abdd05ceae944ec2e2c5670881bee Mon Sep 17 00:00:00 2001 From: Leo Feradero Nugraha Date: Sat, 24 Jan 2026 00:00:03 +0700 Subject: [PATCH 2/2] docs: update readme to include guideline for docker setup --- README.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b3159a1..fe26904 100644 --- a/README.md +++ b/README.md @@ -21,13 +21,19 @@ ## ***Installation*** +#### Install to your environment - cd to **ghauri** directory. - install requirements: `python3 -m pip install --upgrade -r requirements.txt` - run: `python3 setup.py install` or `python3 -m pip install -e .` - you will be able to access and run the ghauri with simple `ghauri --help` command. - ***OR*** - +#### Run with Docker + - cd to **ghauri** directory. + - install requirements: `docker` + - run: `sudo docker build -t ghauri .` + - after that, you will be able to run ghauri with `sudo docker run --rm ghauri` + +#### If you have any trouble - Follow this [installation guideline](https://github.com/r0oth3x49/ghauri/issues/119#issuecomment-1873049386) if facing an installation issue. ## ***Download Ghauri*** @@ -207,4 +213,4 @@ Ghauri operates both in a browser-like manner and with its own unique methods, a Since developing this tool, I seldom use SQLMap, except in a few cases where Ghauri is still being improved. I encourage you to try it for yourself. -Thank you. \ No newline at end of file +Thank you.