Brendan LE GLAUNEC
cbf6f647aa
Add Coveralls integration
2018-03-12 15:04:06 +01:00
Brendan LE GLAUNEC
fb9c5afc5f
Switch from glide to dep & fix CI ( #152 ) ( #153 )
2018-03-12 15:04:06 +01:00
Brendan LE GLAUNEC
5d2626b639
Change license to MIT
2018-03-12 15:04:06 +01:00
Brendan LE GLAUNEC
2399df693d
Add examples in help message
2018-03-12 15:04:06 +01:00
Ishan Jain
df44c7d6f1
Add environment variables support
2018-03-12 15:04:06 +01:00
Brendan LE GLAUNEC
6d296b84d5
Clean implementation of JSONRPC server
2018-03-12 15:04:06 +01:00
Brendan LE GLAUNEC
1dadb93452
Cameradar service scans & attacks over WS
2018-03-12 15:04:06 +01:00
Brendan LE GLAUNEC
6ea4f6e123
WIP JSONRPC2 implementation
2018-03-12 15:04:06 +01:00
Brendan LE GLAUNEC
5a8417cf18
Basic bidirectional WS server
...
- Fake temporary protocol (will probably be JSON RPC later)
- Service can write freely to client through server
- Any new component we need (workers, etc.) can access the channels to write to the client
2018-03-12 15:04:06 +01:00
Brendan LE GLAUNEC
4e922a2a48
Start cameradar server to communicate with GUI
2018-03-12 15:04:06 +01:00
Brendan LE GLAUNEC
3ef48a97cf
Fix CI for PRs originating from forks
2018-03-12 15:04:06 +01:00
Brendan LE GLAUNEC
35d629d8ce
Nmap output is now correctly logged
2018-03-12 15:04:06 +01:00
Brendan LE GLAUNEC
dba1391a08
Fix dictionary path for binary & use glide in CI
2018-03-12 15:04:06 +01:00
Brendan LE GLAUNEC
961d34d05a
Migrate GUI to another repository
2018-03-12 15:04:05 +01:00
Gael du Plessix
5d0c21c5d9
Setup travis email notifications for Brendy only
2018-03-12 15:04:05 +01:00
Gael du Plessix
71046216ce
Add GUI dev environment ( #114 )
...
Setup dev tools to build GUI using ReasonML + Electron
Use react-scripts instead of custom build config
Add electron command
Rename command
2018-03-12 15:04:05 +01:00
Brendan LE GLAUNEC
89647ae457
Fix timeout and unresponsive cameras being detected as successful & add error message
...
Update unit tests
Fix deadlock in libcurl for tests to stop failing randomly
2018-03-12 15:04:05 +01:00
Brendan LE GLAUNEC
216d30fd45
Add issue template
2018-03-12 15:04:05 +01:00
Brendan LE GLAUNEC
82e36e1fd3
Update file architecture to make go install work
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
6daceaeb2b
Add glide package manager
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
cfa90b36d8
Fix output when logs enabled
2018-03-12 15:04:05 +01:00
Brendan LE GLAUNEC
72fb21b132
Add multi stage docker build
...
Upgrade travis docker version
2018-03-12 15:04:05 +01:00
Brendan LE GLAUNEC
948bfce5a0
Removed Output part from README
2018-03-12 15:04:05 +01:00
Brendan LE GLAUNEC
049a43ace2
Add gif to README.md
2018-03-12 15:04:05 +01:00
Brendan LE GLAUNEC
1c845d2b3c
Improve UX - Add spinner and messages
...
Improve UX - Add number of streams being attacked
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
be63c6a231
Add package overview & fix dead link
2018-03-12 15:04:05 +01:00
Brendan LE GLAUNEC
eab18925c7
Add godoc badge and remove temporary images
2018-03-12 15:04:00 +01:00
Brendan LE GLAUNEC
4c9d23acb1
Improve comments & improve cameraccess speed
2018-03-12 15:00:02 +01:00
Brendan LE GLAUNEC
ecdac00145
Move cameradar to root folder
2018-03-12 14:59:59 +01:00
Brendan LE GLAUNEC
2555a86f5f
Add known bugs to README & update examples
2018-03-12 14:59:56 +01:00
Brendan LE GLAUNEC
ebce965730
Remove debug logs from previous PR
2018-03-12 14:59:50 +01:00
Brendan LE GLAUNEC
a2af1329d7
Fix bug for some cameras running gst rtsp server
2018-03-12 14:59:47 +01:00
Brendan LE GLAUNEC
bf3a967fad
Fix entrypoint ignoring parameters & fix default dictionary values
2018-03-12 14:59:44 +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