Commit Graph
69 Commits
Author SHA1 Message Date
Brendan LE GLAUNECandGitHub a8c1c8c63b Remove erroneous backquote from README 2018-11-12 07:41:23 +01:00
Brendan LE GLAUNECandGitHub 1ff17c429b #169 Parse target list from text file (#177)
* Add file parsing for targets & fix multi targets in docker

* Remove deprecated info in README & update examples
2018-11-12 07:40:31 +01:00
Brendan LE GLAUNECandGitHub 145724bc95 Add dep to dependencies 2018-10-17 08:44:59 +02:00
Ullaakut 5aefc9831d Add golang CI badge & redesign readme header 2018-10-02 08:45:25 +02:00
Ullaakut cf3ca440b9 Simplify condition checks to improve code readability 2018-10-01 19:52:15 +02:00
Brendan Le Glaunec 4109a4405d Add unit tests for stream validation 2018-07-22 17:34:48 +02:00
Brendan Le Glaunec 055dc69158 Add stream validation pt2 -- need to add unit tests 2018-07-22 17:34:48 +02:00
Brendan Le Glaunec 1ea9850842 Add stream validation -- need to add unit tests 2018-07-22 17:34:48 +02:00
Brendan Le Glaunec 6e92eecdf6 Fix import typo 2018-07-03 17:10:53 +02:00
Brendan Le Glaunec 844f1e31af Fix XML model addrtype attribute name 2018-07-03 17:10:53 +02:00
Brendan Le Glaunec fd83be9d95 Add unit test with ipv4 and MAC addr 2018-07-03 17:10:53 +02:00
Brendan Le Glaunec 456f7fffc5 No longer import hosts using their MAC addresses 2018-07-03 17:10:53 +02:00
Brendan Le Glaunec 541d64168d Remove docker push from CI script after realization it's insecure 2018-05-04 17:56:18 +02:00
Brendan Le Glaunec 26c4c80fd2 Add default credentials for dahua NVR (http://www.dahuatech.com/) 2018-05-04 17:56:18 +02:00
Brendan Le Glaunec bcc8099f91 Fix crash #174 by duplicating curl handle
Wrap libcurl to bypass lack of covariance support
2018-03-13 11:45:42 +01:00
Brendan Le Glaunec 6392dcd9a0 Update contributing guidelines & update CHANGELOG 2018-03-12 15:46:08 +01:00
Brendan Le Glaunec 916e1713d8 Update dependencies 2018-03-12 15:04:06 +01:00
Brendan Le Glaunec 08fcfcdac8 Remove responsibility for Attack methods to declare no attack success as an error 2018-03-12 15:04:06 +01:00
Brendan Le Glaunec 20daf73371 Migrate cameradar server to cameradar-app repo 2018-03-12 15:04:06 +01:00
Brendan Le Glaunec b909643c21 Remove all mentions of glide & add instructions to install dep 2018-03-12 15:04:06 +01:00
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