Username details for whoisserver WhoisService - json

I am trying to find Domain validation using WHOIS service.
I am testing out in Postman for now.
http://www.whoisxmlapi.com/whoisserver/WhoisService?domainName=www.gmail.com&username=username&password=password
I like to know how to get username, password for this? I tried sign up here https://www.whois.com/, but that doesn't provide username, password details.

Related

Connect MySql database from spring in a runntime

First of all I must say that I'm Spring Newbie and trying to figure out how stuff works. As a training project I'm trying to build web app (Mysql,spring,thymeleaf,bootstrap,jquery). For now goes very well except the part with db connection...
Database: Someone with "Administrator" role can add/register other users (for example user with "Teacher" role or "Cook" role) trough stored procedure. Each user have username, password and role (and some other not important private data). After registration deppending on a role, each user gets permissions to do something on a database.
I want to configure my app so that when user logs in, app will establish database connection with his own data (username and pass).
So far I can make db connection with single user (application.properties)...
Can anyone pleas help me solve this problem?
Thanks in advance!

Edit password_query in Dovecot for 2 factor auth

I want to add two-factor authentication to dovecot and thought of appending a OTP to the normal password a user has then sending that "new" password to Dovecot so i wondered whether it is possible to edit the password_query in dovecot-sql.conf.ext in such a way that it includes a section where the OTP part of the password is verified.
The authentication in dovecat can work via PAM. Most two factor authentication systems (to be specific OTP systems) add the second factor by just appending the OTP value after the password like:
mySecretPassword788293
This is sent to the authentication backend which knows, how to haƄdle this.
This means that the PAM stack would only request one password (which consists of the static part/knowledge and the OTPpart/possession) and have the OTP backend verify this.
E.g. you could use privacyIDEA to manage your 2nd factors in conjunction with PAM. http://privacyidea.readthedocs.io/en/latest/application_plugins/index.html
Disclaimer: I am core developer of privacyIDEA

CakePHP 3: Encrypt/decrypt password

How can I show the decrypted user password in an edit form?
I am using DefaultPasswordHasher for Hashing passwords while registration of users using this:
protected function _setPassword($password) {
return (new DefaultPasswordHasher)->hash($password);
}
It works well and the password is encrypted...
But when I used user table in view page and edit page it shows the encrypted password. So how can I decrypt the password in the controller and when edit page it also decrypt and store in database in CakePHP 3.x?
Simple answer is: You can't
The whole point of hashing is that you cannot reverse engineer the password. So that when your database is hacked or leaked no harm can be done with the passwords.
Any website showing you your own password has a severe security problem and I would not use it.
There is also no point in showing the encrypted password. Editing a password is not needed, you just overwrite the old one (when they can still provide their old one ofc), and if one of your user forget their own password you should provide them with a recovery system using their email for example.

nodejs,Express and mysql

I am new with Node js.I create a application with express framework and mysql database.i did add user and login.That's working fine but now am trying to reset my password with one time url.please help me.
This question doesn't contains any code snippets, any specific logical flow. If you are able to post some code, the you will be getting more accurate answer. Anyway I will try to provide a broad logic.
From your question, I understood that you know how to use expressjs routing, connecting to mysql from expressjs etc.
So for resetting password, you need to send a link with a unique token to the user when user clicks on a forgot password/reset password link. Store this tocken in a separate mysql table with a created time stamp. When user clicks this url which send to his emailid, check with the token entry in db table and make sure it is not expired, and show the user a reset password interface. After resetting, remove the token stored in the db table.

Get browsers to store login details on a three field login

I'm working on a project that has a three field login form (account, user, password)
is there any way to tell a browser to remember all three fields when trying to save the password for a user? All the browsers I've tested seem to only save the password and username fields.
Try use the:
Autocomplete property: http://help.dottoro.com/ljdwgiwh.php
Or HTML5 localStorage: http://www.thomashardy.me.uk/using-html5-localstorage-on-a-form