Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1cc3eaa0fa | |||
| bf65c3cf45 | |||
| 456a1508c0 | |||
| 3991f1625f | |||
| 4c1493506d |
@@ -86,10 +86,9 @@ Only use this solution if for some reason using docker is not an option for you
|
|||||||
|
|
||||||
### Steps to install
|
### Steps to install
|
||||||
|
|
||||||
1. `go get github.com/Ullaakut/cameradar`
|
1. `go get github.com/Ullaakut/cameradar/v5`
|
||||||
2. `cd $GOPATH/src/github.com/Ullaakut/cameradar`
|
2. `cd $GOPATH/src/github.com/Ullaakut/cameradar/cmd/cameradar`
|
||||||
3. `cd cmd/cameradar`
|
3. `go install`
|
||||||
4. `go install`
|
|
||||||
|
|
||||||
The `cameradar` binary is now in your `$GOPATH/bin` ready to be used. See command line options [here](#command-line-options).
|
The `cameradar` binary is now in your `$GOPATH/bin` ready to be used. See command line options [here](#command-line-options).
|
||||||
|
|
||||||
@@ -209,7 +208,7 @@ Default: `false`
|
|||||||
|
|
||||||
#### Docker build
|
#### Docker build
|
||||||
|
|
||||||
To build the docker image, simply run `docker build -t . cameradar` in the root of the project.
|
To build the docker image, simply run `docker build . -t cameradar` in the root of the project.
|
||||||
|
|
||||||
Your image will be called `cameradar` and NOT `ullaakut/cameradar`.
|
Your image will be called `cameradar` and NOT `ullaakut/cameradar`.
|
||||||
|
|
||||||
|
|||||||
@@ -17,19 +17,28 @@
|
|||||||
],
|
],
|
||||||
"passwords": [
|
"passwords": [
|
||||||
"",
|
"",
|
||||||
|
"0000",
|
||||||
|
"00000",
|
||||||
"111111",
|
"111111",
|
||||||
"1111111",
|
"1111111",
|
||||||
|
"123",
|
||||||
"1234",
|
"1234",
|
||||||
"12345",
|
"12345",
|
||||||
"123456",
|
"123456",
|
||||||
|
"1234567",
|
||||||
"12345678",
|
"12345678",
|
||||||
|
"123456789",
|
||||||
|
"12345678910",
|
||||||
"4321",
|
"4321",
|
||||||
"666666",
|
"666666",
|
||||||
"6fJjMKYx",
|
"6fJjMKYx",
|
||||||
"888888",
|
"888888",
|
||||||
"9999",
|
"9999",
|
||||||
"admin",
|
"admin",
|
||||||
|
"Admin",
|
||||||
|
"admin123",
|
||||||
"administrator",
|
"administrator",
|
||||||
|
"Administrator",
|
||||||
"aiphone",
|
"aiphone",
|
||||||
"camera",
|
"camera",
|
||||||
"fliradmin",
|
"fliradmin",
|
||||||
@@ -43,15 +52,19 @@
|
|||||||
"pass",
|
"pass",
|
||||||
"password",
|
"password",
|
||||||
"password123",
|
"password123",
|
||||||
|
"qwerty",
|
||||||
|
"qwerty123",
|
||||||
"reolink",
|
"reolink",
|
||||||
"root",
|
"root",
|
||||||
"service",
|
"service",
|
||||||
"supervisor",
|
"supervisor",
|
||||||
|
"support",
|
||||||
"system",
|
"system",
|
||||||
"tlJwpbo6",
|
"tlJwpbo6",
|
||||||
"toor",
|
"toor",
|
||||||
"tp-link",
|
"tp-link",
|
||||||
"ubnt",
|
"ubnt",
|
||||||
|
"user",
|
||||||
"wbox123",
|
"wbox123",
|
||||||
"Y5eIMz3C"
|
"Y5eIMz3C"
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -37,13 +37,12 @@ func (s *Scanner) Scan() ([]Stream, error) {
|
|||||||
|
|
||||||
func (s *Scanner) scan(nmapScanner nmap.ScanRunner) ([]Stream, error) {
|
func (s *Scanner) scan(nmapScanner nmap.ScanRunner) ([]Stream, error) {
|
||||||
results, warnings, err := nmapScanner.Run()
|
results, warnings, err := nmapScanner.Run()
|
||||||
if err != nil {
|
|
||||||
return nil, s.term.FailStepf("error while scanning network: %v", err)
|
|
||||||
}
|
|
||||||
|
|
||||||
for _, warning := range warnings {
|
for _, warning := range warnings {
|
||||||
s.term.Infoln("[Nmap Warning]", warning)
|
s.term.Infoln("[Nmap Warning]", warning)
|
||||||
}
|
}
|
||||||
|
if err != nil {
|
||||||
|
return nil, s.term.FailStepf("error while scanning network: %v", err)
|
||||||
|
}
|
||||||
|
|
||||||
// Get streams from nmap results.
|
// Get streams from nmap results.
|
||||||
var streams []Stream
|
var streams []Stream
|
||||||
|
|||||||
Reference in New Issue
Block a user