#wrongpassword
Explore tagged Tumblr posts
eric-sadahire · 4 years ago
Photo
Tumblr media
Sorry, but your password must contain an uppercase letter, a number, a punctuation mark, a gang sign, an extinct mammal and a hieroglyph.
0 notes
g2deal · 6 years ago
Text
Happens all the time! 😅
Tumblr media
0 notes
isell3dlashes · 8 years ago
Photo
Tumblr media
#soaggravating #whichone #wrongpassword #wrongusername #minions
0 notes
stargate365 · 7 years ago
Text
Stargate Origins: 1.04
Tumblr media
james is a goddamn drama queen
“did you guys see that. i think they were stars.”
#CalmDownJames #WasifIsTheOnlySmartOneHere #WrongPassword
“Cat, stay put.” “you wish” 
you tell them girl!
wtf is this place?
#RINGPLATFORM
Awkward Hands in Awkward Places
“no woman back home fights like that”
“no man either”
Pfft. Oh. Hai stranger.
shim...sui? sounds familiar. jfc, i should have paid more attention.
come? this way?
Poor Wasif.
oh! “na ne(y?)” I remember that one! still dont know what it means, but i remember it!
ohmygod did they just kidnap that kid?
19 notes · View notes
computingpostcom · 3 years ago
Text
How to Install Redis on RHEL 7 Server / Desktop system?. Redis is an Open Source in-memory data store which can be used as a database server, as a message broker, or to cache data in memory for faster retrieval. In this article, we will cover the steps used to Install Redis on RHEL 7 Server. The version of Redis installed will be the latest stable available. A pre-requisite for this installation is existing RHEL 7 server/Desktop. Step 1: Register your RHEL 7 server Start by registering your RHEL 7 server with Red Hat Subscription Management or Satellite server. sudo subscription-manager register --auto-attach Input your username and password when prompted. Step 2: Enable required repositories After registering the system, enable RHEL 7 repositories. sudo subscription-manager repos --enable=rhel-7-server-rpms \ --enable=rhel-7-server-extras-rpms \ --enable=rhel-7-server-optional-rpms Also add EPEL and Remi repositories. sudo yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm sudo yum -y install https://rpms.remirepo.net/enterprise/remi-release-7.rpm Step 3: Install Redis on RHEL 7 Now install Redis on RHEL 7 using the following commands. sudo yum install -y redis --enablerepo=remi Enable and start the service after installation. sudo systemctl enable --now redis If you have an active firewalld service, allow port 6379 sudo firewall-cmd --add-port=6379/tcp --permanenent sudo firewall-cmd --reload Step 4: Configure Redis Authentication (optional) Configure Redis Authentication for clients to require AUTH  before processing any other commands. requirepass Example: requirepass StrongP@ssWord Restart redis service after making the changes sudo systemctl restart redis Step 5: Test Redis Installation on RHEL 7 Confirm that you can connect to redis locally: $ redis-cli 127.0.0.1:6379> Test authenticate: 127.0.0.1:6379> AUTH OK You should receive OK in the output. If you input a wrong password, Authentication should fail: 127.0.0.1:6379> AUTH WrongPassword (error) ERR invalid password Check redis information. 127.0.0.1:6379>  INFO In this article, you have learned how to Install and Configure Redis Server on RHEL 7. Stay connected for more articles.
0 notes
harpreetsb · 7 years ago
Photo
Tumblr media
Securing Logins
This all started when I came to know that my linkedin password was hacked, being a developer i knew few ways to secure/encrypt my password. Most of the noob developers use md5 or hash. I kept thinking but never got time to google it up.
But one of my developer friend from Egypt shared a link with me on twitter. I read and asked several dumb question to the author, you can see few comments by name "bluepiccaso" that is me.
here is bit shorter and exact working for securing your passwords. Please note that this will not a 100% solution for securing your passwords but its good.
Lets take an example
$actualPassword = 123456 $securePassword = md5($actualPassword); // which is e10adc3949ba59abbe56e057f20f883e
The trick is to hash a password not just time but multiple times. just to make you understand here is a quick example
$pwd = 123456; for($x=1;$x The solution i found was using <a title="crypt" href="http://php.ss23.geek.nz/2011/01/12/Using-crypt.html" data-blogger-escaped-target="_blank">CRYPT()</a>. The php `crypt()` function simply encrypts your password. here is simple example(as from the article linked above) ```php // You would of course, get this from $_POST['Password'] or similar when registering an account, or changing a password. $Password = 'MySuperSecretPassword123'; $HashedPassword = crypt($Password); echo "We've generated a new hashed password of: {$HashedPassword}, from {$Password}."; // that would echo /* We've generated a new hashed password of: $6$tuGPKBZX$eRY4lydz6jUzVPVDZYz3M/JIiEyqqgfDd7MgpkByvtyPuDdZDYE9AVYF1u9ND6zdrJvCOwLEmsIQ4g64/GMQi0, from MySuperSecretPassword123.*/
But now, where is the security?, how do i know how much times has it hashed the password.
the crypt function takes one more optional parameter: a salt string to base its hashing on.
here's how
$Password = 'SuperSecurePassword123'; // These only work for CRYPT_SHA512, but it should give you an idea of how crypt() works. $Salt = uniqid(); // Could use the second parameter to give it more entropy. $Algo = '6'; // This is CRYPT_SHA512 as shown on http://php.net/crypt $Rounds = '5000'; // The more, the more secure it is! // This is the "salt" string we give to crypt(). $CryptSalt = '$' . $Algo . '$rounds=' . $Rounds . '$' . $Salt; $HashedPassword = crypt($Password, $CryptSalt); echo "Generated a hashed password: " .$HashedPassword . "\n"; /* As seen above the $rounds is the value of number of times the password should be hashed. $Algo is 6 i.e. "$6$" for sah512, u can use 1 for md5 */
Authenticating users
So how do you really us the code above.
here is the explaination
when user registers with a password
$Password = ‘SuperSecurePassword123′;
what you can do is
$Salt = uniqid(); $Algo = ’6′; $Rounds = ’5000′; $CryptSalt = ‘$’ . $Algo . ‘$rounds=’ . $Rounds . ‘$’ . $Salt; $HashedPassword = crypt($Password, $CryptSalt);
and save the $Hashed Password to database field.
while doing the login you would simply check its as
if (crypt($Password, $HashedPassword) == $HashedPassword) /* where $Password is the password that user used in the Login password field and $HashedPassword is fetched from database to its corresponding username or email(what ever you use for the login credentials)*/
In the code above
if (crypt($Password, $HashedPassword) == $HashedPassword)
do not get confused, the crypt would return the same hash code for which i was created.
here is another sample code to test this
$Password1 = 'WrongPassword'; $Password2 = 'SuperSecurePassword123'; $HashedPassword = '$6$rounds=5000$4d2c68c2ef979$PZTAkwfvCZN0nT4La/0eNNKLt43w1B7DUkFNc9t1bnOG0OJRESnDa1E1H812TZ3CiBqd2qrcFrz2pk/kqpAy3/'; // the hash created for $password2 // Now, what about checking if a password is the right password? if (crypt($Password1, $HashedPassword) == $HashedPassword) { echo "Hashed Password matched Password1"; } else { echo "Hashed Password didn't match Password1"; } if (crypt($Password2, $HashedPassword) == $HashedPassword) { echo "Hashed Password matched Password2"; } else { echo "Hashed Password didn't match Password2"; }
copy paste this simple code and enjoy.
I hope this helps loads of new developer who seek knowledge.
below are some links to related articles
Php Crypt
##php Clone of Ptacek’s Article on Hashing
PHP Security Consortium Article
sha512 algo
comments and feedbacks are welcomed
thank you
0 notes
iamcheeeeeky · 11 years ago
Text
i just realized that the password for my other blog's first letter is capitalized.. A**(number)Q**(number) i was so scared when i couldnt get in, ohmygod. ._.
0 notes
computingpostcom · 3 years ago
Text
In this article we will discuss how to Install Redis onDebian 11 / Debian 10. Redis is an Open Source in-memory data structure store. It can be used as a message broker, a database server, or for caching data in memory for faster retrieval. Redis has support for the following data structures: Hashes sets with range queries Strings sorted lists Hyperloglogs Bitmaps Geospatial indexes e.t.c Use below simple and easy steps to install Redis onDebian 11 / Debian 10 Linux server or Desktop. Step 1: Update Debian system Login to your server where you’ll install Redis and run the commands below. sudo apt -y update sudo apt -y upgrade Step 2: Install Redis on Debian 11 / Debian 10 The default Debian apt repositories have redis server packages. The following commands should be sufficient for the installation. sudo apt -y install redis-server Once the package is installed, start it and set start at boot for the service. sudo systemctl enable --now redis-server.service Step 3: Configure Redis on Debian 11 / Debian 10 The main Redis configuration file is located in /etc/redis/redis.conf. The default configuration parameters should work fine for simple installations. If you want to tune your Redis setup on Debian 10, you’ll have to make some changes. sudo vim /etc/redis/redis.conf Enable network Listen for Redis Service (Optional) For network clients to connect to your Redis server, it needs the service to listen on a network IP Address. Open the file /etc/redis/redis.conf with your favorite text editor sudo vim /etc/redis/redis.conf Then change line  bind 127.0.0.1 to your server IP address, e.g. bind 172.12.10.11 To allow listen on all interfaces, use: bind 0.0.0.0 Restart redis service after making the change: sudo systemctl restart redis-server Configure Redis Authentication – (Optional but recommended) Configure Redis Authentication for clients to require AUTH  before processing any other commands. requirepass Example: requirepass oOlaiY90BA Set Redis Persistent Store for Recovery (Optional) Set persistence mode by changing the appendonlyvalue to yes appendonly yes appendfilename "appendonly.aof" Restart redis service after making the changes sudo systemctl restart redis-server Confirm service is running: Step 4: Test connection to Redis Server Confirm that you can connect to redis locally: $ redis-cli 127.0.0.1:6379> Test authenticate: 127.0.0.1:6379> AUTH OK You should receive OK in the output. If you input a wrong password, Authentication should fail: 127.0.0.1:6379> AUTH WrongPassword (error) ERR invalid password Check redis information. 127.0.0.1:6379>  INFO This will output a long list of data. You can limit the output by passing Section as an argument. 127.0.0.1:6379> INFO Server # Server redis_version:5.0.3 redis_git_sha1:00000000 redis_git_dirty:0 redis_build_id:355ed63f25401f51 redis_mode:standalone os:Linux 4.19.0-4-amd64 x86_64 arch_bits:64 multiplexing_api:epoll atomicvar_api:atomic-builtin gcc_version:8.2.0 process_id:1629 run_id:efd3072970e2d29cc842eca0399b64e9044aa1e6 tcp_port:6379 uptime_in_seconds:56 uptime_in_days:0 hz:10 configured_hz:10 lru_clock:2422257 executable:/usr/bin/redis-server config_file:/etc/redis/redis.conf Enjoy using Redis on Debian 11 / Debian 10 and check our monitoring guide:
0 notes