Feb 202012
 

If you run fix-splash on a backtrack installation and get:

$ sudo fix-splash
[*] Fixing Initrd
[*] Extracting Initrd
181100 blocks
cpio: File ./initrd grew, 46361600 new bytes not copied
181100 blocks
[*] Reboot and bask in the joys of BootSplash

The fix is really simple…..

Continue reading »

Feb 112012
 

You might also want to see my article Installing JTR On Backtrack for Multiprocessor Cores

I am too lazy to restore the old version of this file from my old website (it was hosted for years on mambo and I am just too lazy to do the db conversion).  Anyways, this website serves a couple of purposes, first is to keep some of my own notes handy and second to help others.  With that in mind, here is a collection of tips on using john the ripper:

Prepare Linux Shadow Passwords

umask 077
./unshadow /etc/passwd /etc/shadow > mypasswds

Continue reading »

Feb 112012
 

Lets face it, John the Ripper has been around a long time and the reason its been around a long time is because its damn good at cracking passwords.  Yea, hashcat and oclhashcat are great for gpu cracking, but it doesn’t support as many algorithms as JTR.  So, imagine my surprise when I fire up John The Ripper on backtrack 5 64 bit and find out it is using a single CPU.  That is letting a potential 75% of my system sit there wanting to do something.  Luckily the fix is easier than fixing a sandwich.

If you already have jtr installed, you may want to see my john tips article.

First, lets grab the jumbo sourcecode….

Continue reading »

Dec 122011
 

So, I use linux exclusively….for everything except my photography post-processing.  I don’t care about the rants and raves people give me about gimp, my workflow has included photoshop since Photoshop v3.0 (like mid-1990’s), and its just too hard to switch…..so I keep one windows machine around just to do photoshop tasks.

Now that I have my fluxbox bliss on my 16GB Quad-core machine dual booting with the factory Windows 7….I thought it would be nice to be able to run windows 7 inside of Linux.  In the past, I always did the “virtualbox from new installation”.  Its kind of a pain in the ass and a huge waste of disk space.

Doing some quick research, I found several articles on booting the physically installed windows in virtualbox and after many trials and errors, I found a simple solution that works.

Here is how I set it up…..

Continue reading »

Dec 102011
 

Why did I build a new xchat package for backtrack 5?  Because there is a bug in the one that is included.  The bug causes favorites to not be saved on exit.  I don’t know if it affects everybody but I found a bug on the xchat website that is over a year old regarding it.  So, if ubuntu or backtrack maintainers won’t fix it…..I will.

You can get the source and deb packages here:

http://www.edwiget.name/files/xchat_2.8.8-1_amd64.deb
http://www.edwiget.name/files/xchat_2.8.8.orig.tar.gz

The requires libperl-dev which apparently doesn’t exist in the repos too….so its here:
http://www.edwiget.name/files/libperl-dev_5.10.1-8ubuntu2.1_amd64.deb

Dec 102011
 

If you want to use the packages from Openvas on backtrack, these are the pinnings you will need to use to keep the backtrack versions from over-writing the openvas built versions.

Package: *
Pin: release n=revolution
Pin-Priority: -10
 
Package: *
Pin: origin download.opensuse.org
Pin-Priority: 900

Dec 012011
 
$ lspci -vvv | grep Audio
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
 
$ cat /proc/asound/card0/codec* | grep Codec
Codec: Conexant CX20561 (Hermosa)
Codec: Conexant ID 2c06
 
sudo echo "options snd-hda-intel model=generic" >> /etc/modprobe.d/alsa-base.conf
sudo alsa force-reload
sudo /etc/init.d/mpd restart

Nov 302011
 

I have set up many laptops and netbooks with linux and have always used either full-disk encryption or ~/ encrypted.  Its really easy to do and ANY laptop/netbook/tablet/pad/whatever_next mobile device should be encrypted.  I won’t get into the mechanics of why, just do it.  The last article I wrote about this is no longer online (Maysville Linux Users Group, circa 2007) and it was much harder to accomplish back then, often requiring custom kernels to be compiled, etc.  Backtrack has “nearly” everything it takes right on the live cd.

Prerequisites

  1. A laptop
  2. bootable media (backtrack on usb stick, cdrom, some other distro, etc)
  3. Internet connection (backtracks only requirement is to download two files)

Continue reading »

Nov 232011
 

I am finally going to add this to an article, even though I have had this 1rst generation ipod touch since release day and have used it with Linux since day 1……

To use your ipod with fluxbox requires three packages.

sudo apt-get install gtkpod libimobiledevice-utils libimobiledevice1

You then have to mount your ipod touch and since fluxbox doesn’t really have a way to do that….I made a script:

#!/bin/bash
#
# mount ipod touch script by ed wiget
sudo /usr/local/sbin/usbmuxd -v -u &
DETECTED="echo -e `ideviceinfo` | wc -l"
#echo -e "is it ok to continue with the mount command?"
#read answer
#if [ $answer == 'y' ]
if [ ${DETECTED} -ge 1 ];
	then
		echo "ipod detected...mounting"
		ifuse /media/ipod
	else
		echo "ipod detection failed....exiting"
		exit
fi

After it is mounted, you can then run gtkpod and it should auto detect it.  It will create a database of the song hashes.

During usage, if you receive an error with gtkpod during song export that says:

CRITICAL **: transfer_track_glist_between_itdbs: assertion `!new_tracks' failed
Segmentation fault

Restart gtkpod, select the playlist you were exporting and on the export dialog box, uncheck “Check for duplicates”.  Now exporting will work.

Nov 192011
 
fluxbox basic

I don’ t really care for the bloated kde or gnome desktops, especially on a netbook with limited memory.  I have pretty much always been a fluxbox user since about 2003 or so.  Over the years my configuration changes, partially because the way I do things changes.  This means my fluxbox environment changes….but not too often.  What bothers me is that sometimes I will lose the latest file for my fluxbox environment, as I often tweak it every couple of days.  This used to be the case, but now pretty much everything goes to external backup in real time.  But many people ask me about my fluxbox because it does look pretty damn nice, its very functional, and my entire computer runs in about 200MB of memory.  So without further wait, here it is, complete with config files.

The first image below shows my fluxbox desktop.  The middle image shows fluxbox with the slit showing that I have set to auto hide so its not viewable in the first image.  The third image shows tmux running inside of an Eterm with two splits shown.  I just started using tmux and it allows you to have multiple windows inside of a console or term window (sort of how you can split horizontally or vertically inside of terminator).  I use the default bind keys in tmux, so not really anything I can tell you about it outside of providing you this link to the tmux cheat sheet.

# Updated 20111210 – several people asked about what I used on my desktop or laptops, since I sort of stupilated I didnt like bloated wm’s on my netbook, and fact is, I still use fluxbox with the exact same config.  Below are two screenshots from my Quad core desktop with 16GB memory and 1TB raid 0 drives (Images 4 and 5 in the gallery below)

Continue reading »