Webbrowserpassview.cfg Guide
: This file allows the tool to maintain your preferred setup between sessions without needing to re-enter command-line parameters every time.
: Values like LoadPasswordsChrome=1 enable or disable the extraction of passwords from specific browsers. WebBrowserPassView.cfg
def generate_nirsoft_cfg(app_name, parameters): cfg_lines = [] for key, value in parameters.items(): cfg_lines.append(f"key=value") return "\n".join(cfg_lines) # Common NirSoft configuration keys based on command line options and typical .cfg patterns # Reference: https://www.nirsoft.net/utils/web_browser_password.html params = "ShowGridLines": "1", "ShowToolTip": "1", "SaveFilterIndex": "0", "ShowQuickFilter": "0", "WindowPos": "24,24,917,542", "Columns": "URL,Web Browser,User Name,Password,Password Strength,User Name Field,Password Field,File Name,Modified Time,Created Time", "ColumnWidths": "300,100,150,150,120,100,100,200,150,150", "SortColumn": "0", "SortDescending": "0", "LoadPasswordsIE": "1", "LoadPasswordsFirefox": "1", "LoadPasswordsChrome": "1", "LoadPasswordsOpera": "1", "LoadPasswordsSafari": "1", "UseFirefoxProfileFolder": "0", "FirefoxProfileFolder": "", "UseFirefoxInstallFolder": "0", "FirefoxInstallFolder": "", "UseChromeProfileFolder": "0", "ChromeProfileFolder": "", "UseOperaPasswordFile": "0", "OperaPasswordFile": "", "FirefoxMasterPassword": "", "ExportFormat": "1", # 1: Text, 2: Tab, 3: CSV, 4: HTML, etc. print(generate_nirsoft_cfg("WebBrowserPassView", params)) Use code with caution. Copied to clipboard : This file allows the tool to maintain
[General] ; UI Settings ShowGridLines=1 ShowToolTip=1 SaveFilterIndex=0 ShowQuickFilter=0 WindowPos=24,24,917,542 ; Column Display Settings Columns=URL,Web Browser,User Name,Password,Password Strength,User Name Field,Password Field,File Name,Modified Time,Created Time ColumnWidths=300,100,150,150,120,100,100,200,150,150 SortColumn=URL SortDescending=0 ; Browser Loading Toggles (1 = Yes, 0 = No) LoadPasswordsIE=1 LoadPasswordsFirefox=1 LoadPasswordsChrome=1 LoadPasswordsOpera=1 LoadPasswordsSafari=1 ; Advanced Firefox Settings UseFirefoxProfileFolder=0 FirefoxProfileFolder= UseFirefoxInstallFolder=0 FirefoxInstallFolder= FirefoxMasterPassword= ; Advanced Chrome Settings UseChromeProfileFolder=0 ChromeProfileFolder= ; Advanced Opera Settings UseOperaPasswordFile=0 OperaPasswordFile= Use code with caution. Copied to clipboard Key Features Explained Column Display Settings Columns=URL
: Settings such as FirefoxProfileFolder allow you to point the tool toward a specific profile if it is not in the default location.