Compare commits

..

5 Commits

Author SHA1 Message Date
supremepot 1cc3eaa0fa New password proposal (#304)
Co-authored-by: Brendan Le Glaunec <brendan.le-glaunec@epitech.eu>
2022-03-17 13:29:40 +00:00
Brendan Le Glaunec bf65c3cf45 Update install instructions (#291) 2021-11-08 17:58:25 +01:00
ArturFormella 456a1508c0 Added a new proposal password (#295) 2021-09-26 07:27:54 +02:00
Justin Buchanan 3991f1625f readme.md: fix typo in docker build command (#288) 2021-08-09 06:47:48 +02:00
Brendan Le Glaunec 4c1493506d Display nmap warnings correctly before exiting when a fatal error occurs (#285) 2021-04-13 19:10:04 +02:00
3 changed files with 20 additions and 9 deletions
+4 -5
View File
@@ -86,10 +86,9 @@ Only use this solution if for some reason using docker is not an option for you
### Steps to install
1. `go get github.com/Ullaakut/cameradar`
2. `cd $GOPATH/src/github.com/Ullaakut/cameradar`
3. `cd cmd/cameradar`
4. `go install`
1. `go get github.com/Ullaakut/cameradar/v5`
2. `cd $GOPATH/src/github.com/Ullaakut/cameradar/cmd/cameradar`
3. `go install`
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
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`.
+13
View File
@@ -17,19 +17,28 @@
],
"passwords": [
"",
"0000",
"00000",
"111111",
"1111111",
"123",
"1234",
"12345",
"123456",
"1234567",
"12345678",
"123456789",
"12345678910",
"4321",
"666666",
"6fJjMKYx",
"888888",
"9999",
"admin",
"Admin",
"admin123",
"administrator",
"Administrator",
"aiphone",
"camera",
"fliradmin",
@@ -43,15 +52,19 @@
"pass",
"password",
"password123",
"qwerty",
"qwerty123",
"reolink",
"root",
"service",
"supervisor",
"support",
"system",
"tlJwpbo6",
"toor",
"tp-link",
"ubnt",
"user",
"wbox123",
"Y5eIMz3C"
]
+3 -4
View File
@@ -37,13 +37,12 @@ func (s *Scanner) Scan() ([]Stream, error) {
func (s *Scanner) scan(nmapScanner nmap.ScanRunner) ([]Stream, error) {
results, warnings, err := nmapScanner.Run()
if err != nil {
return nil, s.term.FailStepf("error while scanning network: %v", err)
}
for _, warning := range warnings {
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.
var streams []Stream