Metadata-Version: 1.1
Name: hikvision-recover
Version: 1.0
Summary: Command-line tool for generating recovery codes for Hikvision IP Cameras
Home-page: https://github.com/spyoungtech/hikvision-recover/
Author: Spencer Young
Author-email: spencer.young@spyoung.com
License: MIT
Description: Normally, to reset a hikvision camera you contact their support department to generate a recovery code. However, the method they use to do this has been cracked. This source code will generate the proper recovery code when provided the camera's serial number and current time reported by the camera.
        
        
        # hikvision-recover
        
        Command-line tool for generating recovery codes for Hikvision IP Cameras
        
        
        ## Installation
        
        You can install via pip
        
        ```bash
        pip install hikvision-recover
        ```
        
        ## Usage 
        
        After installing via pip, the command line entry point `hikvision-recover` is available. The syntax for the command is 
        
        ```bash
        hikvision-recover serial year month day
        ```
        
        e.g. 
        ```bash
        hikvision-recover DS-ABC1234567-HIJKLMNOPQRS10987654321 2017 01 25
        ```
        
        positional arguments:
        
        *  serial:      Camera Serial Number
        *  year:        4 digit year of current camera time
        *  month:       2 digit month of current camera time
        *  day:         2 digit day of current camera time
        
        optional arguments:
          -h, --help  show help message and exit
        
        ### via script
        
        You can also use this package directly in a script instead of via the command line.
        
        ```python
        from hikvision_recover.recover import get_code
        
        serial = "DS-ABC1234567-HIJKLMNOPQRS10987654321"
        year = "2017"
        month = "01"
        day = "25"
        revoery_code = get_code(serial, year, month, day)
        print(revoery_code)
        
        ```
        
        
Platform: any
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
