Skip to content

Instantly share code, notes, and snippets.

@vrillusions
Last active October 2, 2018 13:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vrillusions/e2487f8a91ad2993e758 to your computer and use it in GitHub Desktop.
Save vrillusions/e2487f8a91ad2993e758 to your computer and use it in GitHub Desktop.
Hob0Rules explained
# This taken from https://github.com/praetorian-inc/Hob0Rule and I wanted to
# look up what all these meant. So using the documentation[1] here's what all
# these mean. The explanation precedes each pattern and the example input
# word is superman
#
# These are the most common substitutions people do when creating passwords.
# Thus it would be in your best interest to not choose a password that would
# match any of these patterns or almost match when given a dictionary of
# common words.
#
# I release any copyright on my annotations and you can use this for whatever
# you want with or without giving credit. For the license on patterns
# themselves see the above mentioned repo.
#
# [1]: https://hashcat.net/wiki/doku.php?id=rule_based_attack
### Begin source file ###
#############################################
# *** Hob0's QUICK Rules for Conquest *** #
# *** Updated: 1/27/16 *** #
#############################################
# No change - superman
:
# Reverse it - namrepus
r
# Toggle case of 0th position - Superman
T0
# Uppercase all letters - SUPERMAN
u
# Delete last character - superma
]
# Duplicate word - supermansuperman
d
# Append ! to word - superman!
$!
# Append ! and then ! to word - superman!!
$! $!
# Append @ to word - superman@
$@
# (you get the idea here)
$#
$$
$%
$^
$&
$*
$.
$?
# Append 1 and then ! - superman1!
$1 $!
# Append ! and then 1 - superman!1
$! $1
# Remove vowels (a, e, i, o, u) from word - sprmn
@a @e @i @o @u
# Remove vowels (a, e, i, o, u) from word and append ! - sprmn!
@a @e @i @o @u $!
# Append 0 to word - superman0
$0
# (again you should understand the rest of these)
$1
$2
$3
$4
$5
$6
$7
$8
$9
# Append 2, 0, 1, 5 to word - superman2015
$2 $0 $1 $5
# Append 2, 0, 1, 6 to word - superman2016
$2 $0 $1 $6
# Append 2, 0, 1, 6, ! to word - superman2016!
$2 $0 $1 $6 $!
# (should understand all these)
$1 $5
$1 $6 $!
$1 $4
$1 $1
$1 $2
$0 $1
$0 $0
$2 $3
$6 $9
$7 $7
$9 $9
$1 $2 $3
$1 $2 $3 $4
# Prepend 6, 1, 0, 2 to word (yes it's reverse what it ends up) - 2016superman
^6 ^1 ^0 ^2
# Prepend 6, 1 to word - 16superman
^6 ^1
# Prepend 1 to word - 1superman
^1
# Prepend ! to word - !superman
^!
# Replace o with 0 - superman
so0
# Replace i with 1 - superman
si1
# Replace i with ! - superman
si!
# Replace e with 3 - sup3rman
se3
# Replace s with $ - $uperman
ss$
# Replace a with @ - superm@n
sa@
# Replace o with 0 and i with 1 - superman
so0 si1
# Replace o with 0 and a with @ - superm@n
so0 sa@
# Replace o with 0 and a with 4 - superm4n
so0 sa4
# Replace o with 0 and e with 3 - sup3rman
so0 se3
# Do common substitutions - $up3rm@n
so0 si1 se3 ss$ sa@
# Same substitutions and add ! - $up3rm@n!
so0 si1 se3 ss$ sa@ $!
# Same substitutions and add 1, 6 - $up3rm@n16
so0 si1 se3 ss$ sa@ $1 $6
@vrillusions
Copy link
Author

Since I didn't want to modify original file there's a typo in it. Actual link to hob0rules is https://github.com/praetorian-inc/Hob0Rules

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment