Remove all mentions of glide & add instructions to install dep
This commit is contained in:
Generated
+2
-3
@@ -1,5 +1,4 @@
|
|||||||
# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'.
|
# This fils is autogenerated, do not edit; changes may be undone by the next 'dep ensure'.
|
||||||
|
|
||||||
|
|
||||||
[[projects]]
|
[[projects]]
|
||||||
branch = "master"
|
branch = "master"
|
||||||
@@ -220,6 +219,6 @@
|
|||||||
[solve-meta]
|
[solve-meta]
|
||||||
analyzer-name = "dep"
|
analyzer-name = "dep"
|
||||||
analyzer-version = 1
|
analyzer-version = 1
|
||||||
inputs-digest = "ee033333addaa0634f6b1145cedba6ddba69f9b3f852f78726ee7d8ad45048d0"
|
inputs-digest = "b24f286ed09dfd5eb04e811c87c97622e76a8b906bac611119f4bfa2b300b537"
|
||||||
solver-name = "gps-cdcl"
|
solver-name = "gps-cdcl"
|
||||||
solver-version = 1
|
solver-version = 1
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
## Table of content
|
## Table of content
|
||||||
|
|
||||||
* [Docker Image](#docker-image)
|
* [Docker Image](#docker-image)
|
||||||
* [Configuration](#configuration)
|
* [Configuration](#configuration)`
|
||||||
* [Output](#output)
|
* [Output](#output)
|
||||||
* [Check camera access](#check-camera-access)
|
* [Check camera access](#check-camera-access)
|
||||||
* [Command line options](#command-line-options)
|
* [Command line options](#command-line-options)
|
||||||
@@ -49,18 +49,18 @@ e.g.: `docker run -t ullaakut/cameradar -t 192.168.100.0/24 -l` will scan the po
|
|||||||
* If you want to get the precise results of the nmap scan in the form of an XML file, you can add `-v /your/path:/tmp/cameradar_scan.xml` to the docker run command, before `ullaakut/cameradar`.
|
* If you want to get the precise results of the nmap scan in the form of an XML file, you can add `-v /your/path:/tmp/cameradar_scan.xml` to the docker run command, before `ullaakut/cameradar`.
|
||||||
* If you use the `-r` and `-c` options to specify your custom dictionaries, make sure to also use a volume to add them to the docker container. Example: `docker run -t -v /path/to/dictionaries/:/tmp/ ullaakut/cameradar -r /tmp/myroutes -c /tmp/mycredentials.json -t mytarget`
|
* If you use the `-r` and `-c` options to specify your custom dictionaries, make sure to also use a volume to add them to the docker container. Example: `docker run -t -v /path/to/dictionaries/:/tmp/ ullaakut/cameradar -r /tmp/myroutes -c /tmp/mycredentials.json -t mytarget`
|
||||||
|
|
||||||
## Installing the binary
|
## Installing the binary on your machine
|
||||||
|
|
||||||
|
Only use this solution if for some reason using docker is not an option for you or if you want to locally build Cameradar on your machine.
|
||||||
|
|
||||||
### Dependencies
|
### Dependencies
|
||||||
|
|
||||||
* `go`
|
* `go`
|
||||||
* `glide`
|
|
||||||
|
|
||||||
#### Installing [glide](https://github.com/Masterminds/glide)
|
#### Installing dep
|
||||||
|
|
||||||
* OSX: `brew install glide`
|
* OSX: `brew install dep` and `brew upgrade dep`
|
||||||
* Linux: `curl https://glide.sh/get | sh`
|
* Others: Download the release package for your OS [here](https://github.com/golang/dep/releases)
|
||||||
* Windows: Download the binary package [here](https://github.com/Masterminds/glide/releases)
|
|
||||||
|
|
||||||
### Steps to install
|
### Steps to install
|
||||||
|
|
||||||
@@ -68,7 +68,7 @@ Make sure you installed the dependencies mentionned above.
|
|||||||
|
|
||||||
1. `go get github.com/Ullaakut/cameradar`
|
1. `go get github.com/Ullaakut/cameradar`
|
||||||
2. `cd $GOPATH/src/github.com/Ullaakut/cameradar`
|
2. `cd $GOPATH/src/github.com/Ullaakut/cameradar`
|
||||||
3. `glide install`
|
3. `dep ensure`
|
||||||
4. `cd cameradar`
|
4. `cd cameradar`
|
||||||
5. `go install`
|
5. `go install`
|
||||||
|
|
||||||
@@ -221,11 +221,10 @@ Your image will be called `cameradar` and NOT `ullaakut/cameradar`.
|
|||||||
|
|
||||||
To build the project without docker:
|
To build the project without docker:
|
||||||
|
|
||||||
1. install [glide](https://github.com/Masterminds/glide)
|
1. Install dep
|
||||||
* OSX: `brew install glide`
|
* OSX: `brew install dep` and `brew upgrade dep`
|
||||||
* Linux: `curl https://glide.sh/get | sh`
|
* Others: Download the release package for your OS [here](https://github.com/golang/dep/releases)
|
||||||
* Windows: Download the binary package [here](https://github.com/Masterminds/glide/releases)
|
2. `dep ensure`
|
||||||
2. `glide install`
|
|
||||||
3. `go build` to build the library
|
3. `go build` to build the library
|
||||||
4. `cd cameradar && go build` to build the binary
|
4. `cd cameradar && go build` to build the binary
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user