passwords

expect, interact and then again expect

房东的猫 提交于 2020-08-02 12:03:48
问题 There are several posts regarding the same, but i still not able to make my expect script work properly. My intention is to automate everything but leave the password enter for the user. So there are 3 parts of the script: automated login give the user interaction to enter the password give control back to Expect script to continue work So i have script which will be spawned and which have 3 read commands. First and last should be filled by Expect and second one i would like to enter my self:

Verify SHA512 Hashed Password in C#

ⅰ亾dé卋堺 提交于 2020-07-10 05:35:45
问题 I have designed a signup page in C# and all users have to enter their password then the program will hash the password before saving it on a database with a SHA512 hashing method. Now, I want to verify entered password on the login page with the saved password on database. Below code is the method that I used to hash the passwords. Now how can I verify entered password on login page??? byte[] infos = System.Text.Encoding.ASCII.GetBytes(txtPassword.Text); infos = new System.Security

Verifying password hashes generated by python passlib

﹥>﹥吖頭↗ 提交于 2020-06-23 08:25:14
问题 I have a need to verify password hashes generated using python passlib. My objective is to use passlib's pbkdf2_sha512 scheme for hashing all user passwords. However, due to the nature of our backend, I need to verify this password from php scripts, js and java. I haven't found libraries in either of them that can take a passlib hash and verify the password. I was wondering if there exist one before I set out to implement passlib's hashing algorithm in php, js and java. 回答1: I can offer this

How does GitHub know I have a weak password?

蹲街弑〆低调 提交于 2020-06-16 08:32:31
问题 I have received this message today when I tried to push my code: remote: Weak credentials. Please Update your password to continue using GitHub. remote: See https://help.github.com/articles/creating-a-strong-password/. How do they know I used a weak password since they only store the password hash? 回答1: Yes, your understanding is correct. When you type a password to sign in, create an account, or change your password, GitHub will check if the password you entered is considered weak according

NodeJS - how to securely store ip, username and password of a database?

自闭症网瘾萝莉.ら 提交于 2020-05-26 07:35:23
问题 I have a NODEJS code to connect to MySql database: var mysql = require('mysql') var express = require('express') var app = express() var connection = mysql.createPool({ connectionLimit: 50, host : 'ip', user : 'username', password : 'pass', database : 'mydb' }); app.get('/', function(req, resp) { connection.getConnection(function(error, tempCont) { if(!!error) { tempCont.release(); console.log('Error'); } else { console.log('Connected!'); tempCont.query("select * from table", function(error,

NodeJS - how to securely store ip, username and password of a database?

南楼画角 提交于 2020-05-26 07:33:19
问题 I have a NODEJS code to connect to MySql database: var mysql = require('mysql') var express = require('express') var app = express() var connection = mysql.createPool({ connectionLimit: 50, host : 'ip', user : 'username', password : 'pass', database : 'mydb' }); app.get('/', function(req, resp) { connection.getConnection(function(error, tempCont) { if(!!error) { tempCont.release(); console.log('Error'); } else { console.log('Connected!'); tempCont.query("select * from table", function(error,

NodeJS - how to securely store ip, username and password of a database?

我们两清 提交于 2020-05-26 07:32:33
问题 I have a NODEJS code to connect to MySql database: var mysql = require('mysql') var express = require('express') var app = express() var connection = mysql.createPool({ connectionLimit: 50, host : 'ip', user : 'username', password : 'pass', database : 'mydb' }); app.get('/', function(req, resp) { connection.getConnection(function(error, tempCont) { if(!!error) { tempCont.release(); console.log('Error'); } else { console.log('Connected!'); tempCont.query("select * from table", function(error,

NodeJS - how to securely store ip, username and password of a database?

流过昼夜 提交于 2020-05-26 07:32:06
问题 I have a NODEJS code to connect to MySql database: var mysql = require('mysql') var express = require('express') var app = express() var connection = mysql.createPool({ connectionLimit: 50, host : 'ip', user : 'username', password : 'pass', database : 'mydb' }); app.get('/', function(req, resp) { connection.getConnection(function(error, tempCont) { if(!!error) { tempCont.release(); console.log('Error'); } else { console.log('Connected!'); tempCont.query("select * from table", function(error,

How Decode Password

≡放荡痞女 提交于 2020-05-17 06:42:37
问题 I have an old database and when I join the table of user I see "username"=>"Mark" "password"=>"db55668c3b3ea5877670599dce51abda" "encrypted_password"=>"1fd0eb3ad6e4d1229012bc5ab872b841b25b7930557e49ed3ec7f573b28157b8aed2bdd1e5d0c368752ed6034653bf47fc11cb6e5a83d599c8a9455666827e64" "password_salt"=>"gLwk7qWpxomnujSQyrKP" and other table nickAdmin : admin passAdmin : UG0EMA0iBzJaaQJjVHcFdVJrWSNRIQ== my question is What the type of each encryption and how I can Decode? thank you 回答1: Marks's

Detecting people sharing login / account information for a website

☆樱花仙子☆ 提交于 2020-05-10 03:25:25
问题 I have a website that contains a secure area accessible by logging in with account info. Within the secure area, I have some expensive IP. I have been finding that people are sharing their passwords with other people. Are there any existing technologies / solutions / methods that I can implement to detect fraud patterns? Thanks in advance for the help. 回答1: check geographical region. If within some timeframe multiple logins from regions geographically far apart log in, then you know those