Thursday, January 28, 2016

Disable CMD/Windows Key in Kali From Opening Activities Overview

I cmd+tab between apps all the time. With the release of Kali 2, it has this very annoying "feature" of zooming out all my app windows when I hit the cmd key.

Turns out the fix is very simple:

gsettings set org.gnome.mutter overlay-key ''
Once you run that in a terminal, magically the cmd key stops bringing up the windows.

yay for simple solutions.

Friday, January 15, 2016

Generating Custom Wordlists Using John The Ripper

Recently I used John the Ripper to generate a very specific custom wordlist based on a specific mask.

./john --stdout --mask=?1?1?1?1?1 -1=[a-z0-9]
Press 'q' or Ctrl-C to abort, almost any other key for status
aaaaa
baaaa
caaaa
daaaa
eaaaa
faaaa
gaaaa
haaaa
...
Question mark sets the position, the number 1 sets the "variable", which you then specify afterwards. You can have multiple "variables":
./john --stdout --mask=?1?1?1?1?1?2 -1=[a-z0-9] -2=4
Press 'q' or Ctrl-C to abort, almost any other key for status
aaaaa4
baaaa4
caaaa4
daaaa4
eaaaa4
faaaa4
gaaaa4
haaaa4
iaaaa4
jaaaa4