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
5a0ee4aaa7
Move repository to Ullaakut
2018-03-12 15:04:06 +01:00
Brendan LE GLAUNEC
8289f1edda
Add coverage badge
2018-03-12 15:04:06 +01:00
Brendan LE GLAUNEC
74672f6625
Increase test coverage, mock libcurl & uniformize error messages
2018-03-12 15:04:06 +01:00
Brendan LE GLAUNEC
c1ea6b167c
Fix misspelling and format using the -s option
2018-03-12 15:04:06 +01:00
Brendan LE GLAUNEC
71679691c4
Add example usage for testing purposes
2018-03-12 15:04:06 +01:00
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