Eikonal Blog

2011.04.04

Unix pages (at this blog)

Filed under: unix — Tags: — sandokan65 @ 15:45

2011.03.02

Unix system administration

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

AIX

Specific tasks:


Related here: Unix tricks – http://eikonal.wordpress.com/2011/02/15/unix-tricks/

2010.07.12

Cygwin stuff

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

Various Cygwin links

Portable Cygwin

Tricks

Setting effective HOME to your Windows “My Documents” folder.

  1. Start a Cygwin shell
  2. You should be located in your default directory which inside Cygwin looks like /home/thisuser, but from the Windows standpoint could be something like c:\cygwin\home\thisuser.
  3. Type ln -s /cygdrive/c/Documents and Settings/thisuser/My Documents/ ./docs
  4. Edit .profile and .bashrc to put at their ends following lines:
      export HOME=./docs
      cd $HOME
        
  5. that is it. Restart Cygwin. You should now be in the /home/thisuser/docs/ which is the same place as Windows’ c:\Documents and Settings\thisuser\My Documents/

Related: MS Windows Registry transversal by Cygwin – http://eikonal.wordpress.com/2011/03/01/registry-transversal-by-cygwin | Unix tricks – http://eikonal.wordpress.com/2011/02/15/unix-tricks/

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 – http://eikonal.wordpress.com/2010/03/29/default-passwords/

2010.03.23

Gathering information on a Unix system

Filed under: VA (Vulnerability Assessment) — Tags: , , , , , — sandokan65 @ 14:42
Test Linux AIX HP-UX
Hardware
ioscan -v
Kernel parameter information
kmtune -l
Network Configuration parameters
ndd -h supported
Network and routing tables.
netstat -in
netstat -rn
General machine information
uname -a
Raid Configuration
/sbin/irdiag -v
System Resources
sar -b <interval> <count>

Similar:

Tools


Sources:

2010.02.18

Unix links

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

Unix humor

Theme: Silver is the New Black. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.