Projects STRLCPY kitsec-core Commits 8ee25be5
🤬
  • Dockerization using Kitsec Pip (#11)

    * update dockerfile
    
    * update dockerfile
    
    * add go dependencies
    
    * final dockerization
  • Loading...
  • idrisschebak committed with GitHub 1 year ago
    8ee25be5
    1 parent 76045d35
  • ■ ■ ■ ■ ■
    README.md
    skipped 64 lines
    65 65  To run kitsec within the docker container:
    66 66   
    67 67  ````
    68  -docker run -it kitsec python core/kitsec/cli/main.py <command> <options>
     68 +docker run -it kitsec kitsec <command> <options>
     69 +````
     70 + 
     71 +For example:
     72 + 
     73 +````
     74 +docker run -it kitsec kitsec cve python -l 2
    69 75  ````
    70 76   
    71 77  </details>
    skipped 430 lines
  • ■ ■ ■ ■ ■
    core/README.md
    skipped 55 lines
    56 56   <summary>Run using Docker </summary>
    57 57   
    58 58   
    59  -To build the docker image run:
     59 +o build the docker image run:
    60 60   
    61 61  ````
    62 62  docker build -t kitsec .
    skipped 2 lines
    65 65  To run kitsec within the docker container:
    66 66   
    67 67  ````
    68  -docker run -it kitsec python core/kitsec/cli/main.py <command> <options>
     68 +docker run -it kitsec kitsec <command> <options>
     69 +````
     70 + 
     71 +For example:
     72 + 
     73 +````
     74 +docker run -it kitsec kitsec cve python -l 2
    69 75  ````
    70 76   
    71 77  </details>
    skipped 421 lines
  • ■ ■ ■ ■ ■
    docker/Dockerfile
    skipped 25 lines
    26 26   
    27 27  # Upgrade pip and install the kitsec package from TestPyPI
    28 28  RUN pip install --upgrade pip
    29  -RUN pip install kitsec==0.1.6rc3
     29 +RUN pip install kitsec
     30 + 
     31 +# Install subfinder
     32 +RUN go install github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest
     33 + 
     34 +# Install amass
     35 +RUN go install -v github.com/OWASP/Amass/v3/...@master
    30 36   
    31 37  # Set the working directory to the parent directory of core
    32 38  WORKDIR /app
    skipped 4 lines
Please wait...
Page is in error, reload to recover