Tag: password

Brute-force, Cracking, hydra

Crack passwords with hydra

THC-Hydra – A very fast network logon cracker which support many different services. See feature sets and services coverage page – incl. a speed comparison against ncrack and medusa. Hydra options: hydra [[[-l LOGIN|-L FILE] [-p PASS|-P FILE]] | [-C FILE]] [-e nsr] [-o FILE] [-t TASKS] [-M FILE [-T TASKS]] [-w TIME] [-W TIME] …

Cracking, Email, General, Passwords, Physical security, Vulnerabilities, WEB

1 xor 1 = 0 | How Apple and Amazon Security Flaws Led to an Epic Hacking

Password-based security mechanisms —which can be cracked, reset, and socially engineered— no longer suffice in the era of cloud computing. … The very four digits that Amazon considers unimportant enough to display in the clear on the Web are precisely the same ones that Apple considers secure enough to perform identity verification.‪ http://www.wired.com/gadgetlab/2012/08/apple-amazon-mat-honan-hacking/


Generate Random Password

Simple Password Generator function generatePass($size) { $chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%()_-*+"; $passwd = ""; for($i=0;$i<$size;$i++) { $passwd .= $chars[rand(0, 72)]; } return $passwd; }function generatePass($size) { $chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%()_-*+"; $passwd = ""; for($i=0;$i<$size;$i++) { $passwd .= $chars[rand(0, 72)]; } return $passwd; } Example echo generatePass(8).'<br>’; echo generatePass(10).'<br>’; echo generatePass(12).'<br>’;echo generatePass(8).'<br>’; echo generatePass(10).'<br>’; echo generatePass(12).'<br>’;

Cracking, John the Ripper, Passwords

How to crack passwords with John the ripper

John the Ripper – is free and Open Source. You can find some passwords lists: here, here and here. To provide a wordlist to john you can do it with –wordlist argument like this: –wordlist=password.lst Suppose that you have a file passwords.txt like this: george:827ccb0eea8a706c4c34a16891f84e7b thanos:202cb962ac59075b964b07152d234b70 If you have installed john already, issue the folowing …

Windows 7

Change user password from the command line – Win7

If you would like to quickly change user password without having to enter the control panel: 1. Open command line with administrative rights 2. Issue the following command: net user username password examples: net user akarpouzas 12345678 do not use so simple passwords, this is just an example and, net user “Thanos Karpouzas” 12345678 if …


How to secure passwords in PHP

We are going to use sha1 algorithm(build-in php function), md5 algorithm(build-in php function) and salt to secure the password.   1 2 3 4 5 function securePassword($plaintext) { $salt = substr(md5(uniqid(rand(), true)), 0, 8); return sha1($salt . sha1($salt . $plaintext)); }function securePassword($plaintext) { $salt = substr(md5(uniqid(rand(), true)), 0, 8); return sha1($salt . sha1($salt . $plaintext)); …