Commit Graph
49 Commits
Author SHA1 Message Date
Brendan LE GLAUNEC 216d30fd45 Add issue template 2018-03-12 15:04:05 +01:00
Brendan LE GLAUNEC 34994e615a Fix in README.md 2018-03-12 15:04:05 +01:00
Brendan LE GLAUNEC 50da5ea82d Fix usage of custom dictionaries in docker image 2018-03-12 15:04:05 +01:00
Brendan LE GLAUNEC da7fb6cd49 Add more credentials to default dictionary 2018-03-12 15:04:05 +01:00
Brendan LE GLAUNEC cb74761675 Add unit tests and functional test in CI
* Unit tests Discover 90%

The NmapRun function needs a refacto to make it use adaptors instead of directly calling exec.Command, exec.Command.StdoutPipe, exec.Command.Start, bufio.Scanner.Scan and bufio.Scanner.Err
It makes me uncomfortable to push a test file that covers only 90%, but it's better than none, and the 10 missing %s are not very error-prone so it should be okay to delay this part a bit. For now it's more urgent to test as much of the code as possible

* Unit tests Helpers 100%

* Unit tests Loaders 100% - Attack 85%

Once again, the Attack functions are not as simple as the rest to unit test, so I will refacto all of this to use a CURL adaptor later, but for now the total is of 88.6% of coverage, which is good enough for something I spent 2 hours on

* Add testing to CI validation process

* CI now does functional testing with RTSPATT

* Change travis language to bash
2018-03-12 15:04:05 +01:00
Brendan LE GLAUNEC 3dcc80a0e8 Fixes in readme and contributing.md (#77) (#79)
Remove codacy badge
2018-03-12 14:59:38 +01:00
Brendan LE GLAUNEC 624ff8bc1b Fixes in readme and contributing.md (#77) 2018-03-12 14:59:22 +01:00
Brendan LE GLAUNEC 59f51f6149 Cameradar becomes a golang library and cameraccess replaces the old cameradar (#75)
* Better performance
* Better UX
* Lighter docker image
* More control over the features
* Suited for devs
* Better documentation

* No tests yet
2018-03-12 14:59:16 +01:00
Brendan LE GLAUNEC b4090b8301 Improve README.md 2018-03-12 14:59:13 +01:00
Brendan LE GLAUNEC 02b58ad1a9 Rename bruteforce to dictionary attack to avoid confusion (#71) 2018-03-12 14:59:09 +01:00
Brendan LE GLAUNEC 81b7e893dc Rename subnet to target to avoid confusion (#70) 2018-03-12 14:59:06 +01:00
Brendan LE GLAUNEC 8c6c94cc34 Update README.md (#69)
Add more precision to the subnetwork (-s) argument to cameradar to improve user experience
2018-03-12 14:59:03 +01:00
Brendan LE GLAUNEC fac60679bc Rename CONTRIBUTION.md to CONTRIBUTING.md (#66) 2018-03-12 14:58:59 +01:00
Brendan LE GLAUNEC 55122d523c Add new RTSP routes (#67) 2018-03-12 14:58:56 +01:00
Brendan LE GLAUNEC 5825f14ef1 Fix golang style issues (#65)
In writeResult.go, two error strings began with an uppercase letter and ended with a dot.
See https://github.com/golang/go/wiki/Errors for more information
2018-03-12 14:58:53 +01:00
Brendan LE GLAUNEC 60c2f1f18c Update Codacy badge URL 2018-03-12 14:58:50 +01:00
Brendan LE GLAUNEC 44e3911e01 Usage of the develop branch unrestricted
I decided that putting a `2.0.0` branch in place would require too much work as it would mean maintaining two versions of Cameradar at the same time. Thus, we will just keep the normal workflow as we used to.
2018-03-12 14:58:47 +01:00
Brendan LE GLAUNEC 28f642d39f Fix automatic Docker Hub deployment
The previous travis script was only tagging latest and not the
tag of the branch, which resulted in outdated tags on the DockerHub
2018-03-12 14:58:43 +01:00
Brendan LE GLAUNEC 4dfe99064b Release 1.1.4 2018-03-12 14:58:40 +01:00
Brendan LE GLAUNEC 3123e34076 Improve docker image usage 2018-03-12 14:58:33 +01:00
Brendan LE GLAUNEC 1c7c462771 Add code quality check & fixed output format 2018-03-12 14:58:23 +01:00
Brendan LE GLAUNEC 4a8f6550af Put Gitflow back in place 2018-03-12 14:58:13 +01:00
Brendan LE GLAUNEC c56cce6319 Update contribution format guidelines 2018-03-12 14:58:10 +01:00
Brendan LE GLAUNEC 832e4f9fa2 Update contribution info 2018-03-12 14:58:06 +01:00
Brendan LE GLAUNEC 63008d19af Enhanced the latest release badge
Replaced the raw version with one that will get the latest tag automatically and update the badge.
2018-03-12 14:58:03 +01:00
Brendan LE GLAUNEC f86683d9ca Add docker pulls badge to README.md 2018-03-12 14:57:52 +01:00
Brendan LE GLAUNEC b8291710d9 Docker Hub instructions update 2018-03-12 14:57:42 +01:00
Brendan LE GLAUNEC de757e848d Add Cameradar logo to README.md 2018-03-12 14:57:10 +01:00
Brendan LE GLAUNEC 1fb462bab4 Add Cameradar logo 2018-03-12 14:57:07 +01:00
Brendan LE GLAUNEC b69b4dc98c Create CHANGELOG.md 2018-03-12 14:56:51 +01:00
Brendan LE GLAUNEC 6247656a63 Improve README.md 2018-03-12 14:56:41 +01:00
Brendan LE GLAUNEC d611d00b55 Update deployment version 2018-03-12 14:56:24 +01:00
Brendan LE GLAUNEC e4a2e06def Add functionnal testing 2018-03-12 14:56:16 +01:00
Brendan LE GLAUNEC df3c21701d Improve README.md 2018-03-12 14:56:13 +01:00
Brendan LE GLAUNEC 85c816c8cb Fix issue with MySQL & deployment 2018-03-12 14:56:09 +01:00
Brendan LE GLAUNEC 4633d3f520 Improve CMakeLists.txt 2018-03-12 14:56:06 +01:00
Brendan LE GLAUNEC 60288c09e4 Improve README.md 2018-03-12 14:56:03 +01:00
Brendan LE GLAUNEC 49bc3820aa Cameradar now supports badly configured cameras 2018-03-12 14:56:00 +01:00
Brendan LE GLAUNEC eed8aa0e9d Improve README.md 2018-03-12 14:55:57 +01:00
Brendan LE GLAUNEC e13879ab77 Add quick MySQL docker deployment & code cleaning 2018-03-12 14:55:53 +01:00
Brendan LE GLAUNEC 8a8e4faa42 Add MySQL Cache Manager & code cleanup 2018-03-12 14:55:48 +01:00
Brendan LE GLAUNEC faa2570883 Deployment / CPack / Docker / Boost / Versionning 2018-03-12 14:55:45 +01:00
Brendan LE GLAUNEC 5c0ee0c5a0 Fix jsoncpp download issue 2018-03-12 14:55:42 +01:00
Brendan LE GLAUNEC 29f05e0b70 Improve README.md 2018-03-12 14:55:35 +01:00
Brendan LE GLAUNEC 0144b569ad Update cloning method to HTTPS 2018-03-12 14:55:32 +01:00
Brendan LE GLAUNEC dd2747d12a Add Deployment / CPack / Docker / Boost / Versionning 2018-03-12 14:55:28 +01:00
Brendan LE GLAUNEC 5ef63cd7e6 Update README to add future improvement 2018-03-12 14:55:25 +01:00
Brendan LE GLAUNEC ac6002028d Improve jsoncpp integration 2018-03-12 14:55:21 +01:00
Brendan LE GLAUNEC 5f80f1b76a Add dependencies & improve readme 2018-03-12 14:55:15 +01:00