Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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***
Expand Down Expand Up @@ -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.
Thank you.