Understanding the /etc/passwd file on UNIX/Linux.

The /etc/passwd file on UNIX/Linux is where the user accounts for Linux are stored. This keeps your system safe as the passwords are stored as hashes in the /etc/shadow file, which is separate from the passwd file and is only accessible by the superuser. This keeps a system very safe….

Read More

Crack a Fedora 25 password with john the ripper easily. This is fun.

To crack a Fedora Core password hash easily, the john the ripper utility will come in handy. This allows cracking of Linux passwords without much fuss as long as the password is in the wordlist. Install the utility. [root@darkstar Documents]# dnf install john[root@darkstar Documents]# dnf install john Then it is…

Read More

How to get wireless network information in Windows 7 with CMD.

Getting wireless network information from Windows 7 is easy with CMD and netsh. This post will show how easy this is without admin access. Listing all visible wireless networks on the machine with netsh. C:\Users\Corporal Kerry>netsh wlan show profile   Profiles on interface Wireless Network Connection:   Group policy profiles…

Read More

How to crack the cisco telnet password on a Cisco 2960 switch.

Cracking the Cisco telnet password on a Cisco 2960 switch is very easy when you are using the hydra password cracking tool. I used this command to crack the telnet login. hydra -P password.lst 10.42.0.87 cisco This is the password cracking session that resulted in me cracking the telnet login….

Read More

How to generate a random password using the command line.

The shuf command for Linux allows a command-line user to select a given number of random words from a wordlist. [jason@localhost ~]$ shuf -n 8 /usr/share/dict/words amphivasal thoracically U. bluet Dabih thioamid taxiing convictism[jason@localhost ~]$ shuf -n 8 /usr/share/dict/words amphivasal thoracically U. bluet Dabih thioamid taxiing convictism This can be…

Read More

Set or change a passphrase for an OpenVPN server key.

This command will set a passphrase for the server pem file for OpenVPN on Linux. I setup a VPN configuration on Ubuntu and forgot to set the passphrase. This is how I managed to set one. ubuntu@ip-172-31-13-140:~$ sudo openssl rsa -des3 -in server-key.pem -out server2.pem Enter pass phrase for server-key.pem:…

Read More

How to view the Admin account in the WordPress database using MySQL and a database dump.

How to view the Admin account in the WordPress database using MySQL. mysql> select * from wp_users where user_login = "Admin"; +—-+————+————————————+—————+————————+——————————+———————+———————+————-+————–+ | ID | user_login | user_pass | user_nicename | user_email | user_url | user_registered | user_activation_key | user_status | display_name | +—-+————+————————————+—————+————————+——————————+———————+———————+————-+————–+ | 1 | Admin | $P$Bt0QTjses0mAaASZtqYbcnz8zalQK71…

Read More

Mandrake Linux 9.2. A nice look back at this old distro.

After testing out Mandrake Linux 9.2 in Virtualbox, I am amazed at how fast this Linux distribution is on modern hardware. Sure it is emulated with 512 megabytes of RAM and a 4 gigabyte hard disk in the Virtualbox machine, but 512 megabytes of memory is a lot for such…

Read More