Cameradar v4.0.0 Release Notes

Release Date: 2019-05-26 // over 3 years ago
  • ๐Ÿ‘Œ Improvements and features

    • Cameradar can now access cameras with both basic and digest authentication methods
      • Previously, only basic auth was supported due to 90% of cameras using it over digest
    • โšก๏ธ A tool to automatically update the route dictionary has been added to the repository
    • The Cameradar API is now much simpler to use (#209)
    • UX has been improved
      • Spinner removed (#211)
      • Better logs using disgo
      • Two new verbosity levels: debug being the default and verbose showing extra logs for each curl request
    • โœ… Unit tests are now consistent (#210)
    • ๐Ÿ‘ท End to end tests in CI are now more reliable
      • Added custom routes
      • Added a second camera
      • Added two authentication methods in tests

    โœ‚ Removed unmaintained documentation

    • Contributing guide has been removed. It was very outdated and considering the low amount of contributions at the moment (๐Ÿ™) I don't think it's worth the maintenance cost
    • ๐Ÿ“š Documentation of the library in the readme was removed in favor of godoc. AFAIK no one uses cameradar as a library at the moment so I don't think it was necessary for it to be such a focus of the readme file.

    Cameradar API

    In the 3.0.0 version, the API of the cameradar API forces you to:

    • ๐ŸŽ‰ Initialize, manipulate and clean a curl handle
    • Call 5 or 6 functions from the library, with 4 to 6 arguments each, to perform a complete scan and attack process
    • ๐Ÿ–จ Print your own summary of the attack

    ๐Ÿšš In the 4.0.0 version, instead, you create a cameradar.Scanner, pass it the options you want, and then simply call Scan, Attack and PrintStreams on it. It is much more intuitive, clean and simple. The logic of the order in which to attack and many other things were moved from the client side to the API side.

    ๐Ÿ‘‰ User Experience

    Screenshot 2019-05-25 at 4 11 07 PM

    ๐Ÿ‘ The new interface is cleaner, provides a better picture of what is going on during the attack process and keeps the same attack summary as the previous interface has.

    ๐ŸŒฒ Its debug and verbose mode are significantly more readable than the previous --log mode.


    Thanks to @rikosintie for his issue about digest authentication (#199)