Projects STRLCPY RTSPbrute Commits 38194acd
🤬
  • ■ ■ ■ ■ ■
    rtspbrute/__init__.py
    1 1  from pathlib import Path
    2 2   
     3 +__version__ = "1.0.0"
    3 4  DEFAULT_ROUTES = Path(__file__).parent / "routes.txt"
    4 5  DEFAULT_CREDENTIALS = Path(__file__).parent / "credentials.txt"
    5 6   
  • ■ ■ ■ ■ ■
    rtspbrute/modules/cli/input.py
    skipped 1 lines
    2 2  from pathlib import Path
    3 3  from typing import Any
    4 4   
    5  -from rtspbrute import DEFAULT_CREDENTIALS, DEFAULT_ROUTES
     5 +from rtspbrute import DEFAULT_CREDENTIALS, DEFAULT_ROUTES, __version__
    6 6   
    7 7   
    8 8  class CustomHelpFormatter(argparse.HelpFormatter):
    skipped 85 lines
    94 94   "-T", "--timeout", default=2, type=int, help="the timeout to use for sockets"
    95 95  )
    96 96  parser.add_argument("-d", "--debug", action="store_true", help="enable the debug logs")
     97 +parser.add_argument("--version", action="version", version=f"%(prog)s {__version__}")
    97 98   
Please wait...
Page is in error, reload to recover