Skip to content

Commit

Permalink
Update README with usage instructions for docker. Update dockerfile t…
Browse files Browse the repository at this point in the history
…o contain snmp and nbtscan
  • Loading branch information
CrimsonK1ng committed Oct 2, 2019
1 parent c14f30d commit b477ad1
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ FROM python:3.7


RUN apt-get update && \
apt-get install -y git nmap
apt-get install -y git nmap snmp wget nbtscan

RUN git clone https://github.com/codingo/Reconnoitre.git recon

WORKDIR /recon

RUN pip install -r requirements.txt && python setup.py install

ENTRYPOINT reconnoitre
ENTRYPOINT ["reconnoitre"]
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,3 +128,25 @@ reconnoitre -t 192.168.1.1-252 -o /root/Documents/testing/ --pingsweep --service
This bare requirement for host and service scanning for this tool is to have both `nbtscan` and `nmap` installed. If you are not using host scanning and only wish to perform a ping sweep and service scan you can get away with only installing `nmap`. The outputted _findings.txt_ will often recommend additional tools which you may not have available in your distribution if not using Kali Linux. All requirements and recommendations are native to Kali Linux which is the recommended (although not required) distribution for using this tool.

In addition to these requirements outputs will often refer to Wordlists that you may need to find. If you are undertaking OSCP these can be found in the "List of Recommended Tools" thread by g0tmilk. If not then you can find the majority of these online or already within a Kali Linux installation.

# Dockerfile
First step is to install docker if you do not have it installed already. [Docker Installation](https://docs.docker.com/install/linux/docker-ce/ubuntu/)

Basic Usage:

```
cd <Reconnoitre Directory>
docker build -t reconnoitre .
docker run reconnoitre -o outputdir -t 127.0.0.1
```

If you want files to exist locally you can mount a directory to the Docker container

```
cd <Reconnoitre Directory>
docker build -t reconnoitre .
mkdir /path/to/dir
docker run -v /path/to/dir:/outputdir --services -o outputdir -t 127.0.0.1
```

0 comments on commit b477ad1

Please sign in to comment.