This code provides functions to retrieve and decrypt credentials stored in a JSON file, allowing access to them based on a hostname. It uses AES-256 encryption and retrieves a decryption password from either an environment variable or a local file.
Add encrypted to passwords.jsonThis code securely stores user credentials by encrypting them using AES-256-CTR and managing them in a JSON file, ensuring data privacy and protection.
Cell 2This code imports a module and a specific function from it, using Node.js's require
function and the import
method of the imported module. It then uses the imported function to save credentials, passing in an object with 'host', 'password', and 'username' properties, with the password masked for security.
The readPasswordsHtm
function reads an HTML file (passwords.htm
), extracts host and credential information from each table row, and saves the encrypted credentials to a JSON file.
The readPasswordsHtm
function reads an HTML file (passwords.htm
), extracts host and credential information from each table row using regular expressions. The extracted credentials are then saved to a JSON file in an encrypted format using the saveCredentials
function.
This code automates the process of downloading Google passwords from the Google Password Manager website by navigating to the site, logging in, extracting password data from each row, and saving it to a file.
Cell 5This code imports a module and function using the require
and import
functions, and then uses the imported runSeleniumCell
function to initiate an asynchronous operation to download passwords from Google. The code uses promise chaining with then
and catch
methods to handle the result and any errors that may occur during the operation.
This code automates the Google sign-in process using Selenium, handling both username and password entry, and includes logic to select an account from multiple options if necessary.
Automatically fill any type of login form using various algorithms