Eikonal Blog

2011.05.02

RPM (Red Hat Package Manager)

Filed under: unix — Tags: , , — sandokan65 @ 15:38

Misc

  • Interogating packages:
    • rpm -qa = lists installed packages
    • rpm -redhatrequires cron
    • rpm -redhatprovides cron
    • rpm -qpR cron *
  • Installing packages: -i = –install
    • rpm -i package1 package2 … = rpm –install package1 package2 …
    • rpm -i -nodeps package1 package2 … = install packages without their dependencies
    • rpm -U package1 package2 … = installs the latest versions of packages = updates the packages
  • Remove packages: -e
    • rpm -e package1 package2 …
    • rpm -e –force package1 … = forces uninstallation without regards for remaining dependency constraints
    • rpm -e –nodeps package1 …

Sites

Advertisements

2010.07.13

Enforcing password virtues in Linux

Filed under: security hardening — Tags: , , , — sandokan65 @ 11:16

2010.05.25

John the Ripper

Filed under: infosec — Tags: , , , , , — sandokan65 @ 15:16

Places

Simple dictionary-based cracking

For Linux systems, the hashed passwords are contained in the /etc/shadow file. To use John the ripper, one needs both that file and /etc/passwd.

  • Unshadowing:
    ./unshadow.exe passwd.txt shadow.txt > passwd-unshadowed.txt
  • To run John against the unshadowed password file passwdFile-unshadowed.txt using the predefined word-list mywords.lst, run
    following:
    ./john.exe –wordlist=mywords.lst passwd-unshadowed.txt
  • To see the cracked passwords run:
    ./john.exe –show passwdFile-unshadowed.txt
  • and to save that file:
    ./john.exe –show passwdFile-unshadowed.txt > passwdFile-cracked.txt

Articles


Related here: Default passwords, wordlist and Rainbow tables – https://eikonal.wordpress.com/2010/03/29/default-passwords/ | Passwords cracking – https://eikonal.wordpress.com/2010/01/06/password-crackers/

2010.02.18

Unix links

Filed under: unix — Tags: , , — sandokan65 @ 14:23

Unix humor

Blog at WordPress.com.