-
-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add wordlist symlinks, fzf-rules aliase and hashcat rules #394
base: dev
Are you sure you want to change the base?
Changes from 15 commits
87f6260
9be8d24
0e93aa1
f2e9a45
df35e03
1895902
e603e28
20563cd
7ef6a5b
01339bf
ecf19aa
6f0efb5
fe1e380
fe61d8c
0dcc4c0
0492f5f
0a8b276
426f54f
a7df234
d15bd54
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,8 +49,7 @@ function install_seclists() { | |
mkdir -p /usr/share/wordlists | ||
ln -v -s /opt/seclists /usr/share/seclists | ||
ln -v -s /opt/seclists /usr/share/wordlists/seclists | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. these can be removed, I don't even know why they were created in the first place to be honest There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, here i modify the following lines : And |
||
tar -xvf /opt/seclists/Passwords/Leaked-Databases/rockyou.txt.tar.gz -C /opt/ | ||
ln -v -s /opt/rockyou.txt /usr/share/wordlists/rockyou.txt | ||
tar -xvf /opt/seclists/Passwords/Leaked-Databases/rockyou.txt.tar.gz -C /opt/lists/ | ||
add-test-command "[[ -f '/usr/share/wordlists/rockyou.txt' ]]" | ||
add-test-command "[[ -d '/opt/seclists/Discovery/' ]]" | ||
add-to-list "seclists,https://github.com/danielmiessler/SecLists,A collection of multiple types of lists used during security assessments" | ||
|
@@ -106,6 +105,70 @@ function install_genusernames() { | |
add-to-list "genusernames,https://gitlab.com/-/snippets/2480505/raw/main/bash,GenUsername is a Python tool for generating a list of usernames based on a name or email address." | ||
} | ||
|
||
|
||
|
||
function install_onelistforall() { | ||
# CODE-CHECK-WHITELIST=add-aliases,add-history | ||
colorecho "Installing onelistforall" | ||
wget https://raw.githubusercontent.com/six2dez/OneListForAll/main/onelistforallmicro.txt -P /opt/lists/ | ||
wget https://raw.githubusercontent.com/six2dez/OneListForAll/main/onelistforallshort.txt -P /opt/lists/ | ||
add-test-command "[[ -f '/opt/lists/onelistforallshort.txt' ]]" | ||
add-to-list "onelistforall,https://github.com/six2dez/OneListForAll,Rockyou for web fuzzing" | ||
} | ||
|
||
function install_rules(){ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We probably don't want to unzip the files here for two reasons
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Okay, i remove all gunzip, but with |
||
# CODE-CHECK-WHITELIST=add-aliases,add-history,add-to-list | ||
colorecho "Add rules" | ||
qu35t-code marked this conversation as resolved.
Show resolved
Hide resolved
|
||
wget https://github.com/NSAKEY/nsa-rules/raw/refs/heads/master/_NSAKEY.v1.dive.rule -P /opt/rules/ | ||
add-test-command "[[ -f '/opt/lists/_NSAKEY.v1.dive.rule' ]]" | ||
wget https://github.com/NSAKEY/nsa-rules/raw/refs/heads/master/_NSAKEY.v2.dive.rule -P /opt/rules/ | ||
add-test-command "[[ -f '/opt/lists/_NSAKEY.v2.dive.rule' ]]" | ||
wget https://raw.githubusercontent.com/praetorian-inc/Hob0Rules/refs/heads/master/d3adhob0.rule -P /opt/rules/ | ||
add-test-command "[[ -f '/opt/lists/d3adhob0.rule' ]]" | ||
wget https://raw.githubusercontent.com/praetorian-inc/Hob0Rules/refs/heads/master/hob064.rule -P /opt/rules/ | ||
add-test-command "[[ -f '/opt/lists/hob064.rule' ]]" | ||
wget https://github.com/rarecoil/pantagrule/raw/refs/heads/master/rules/hashesorg.v6/pantagrule.hashorg.v6.hybrid.rule.gz -P /opt/rules/ | ||
gunzip /opt/rules/pantagrule.hashorg.v6.hybrid.rule.gz | ||
add-add-test-command "[[ -f 'pantagrule.hashorg.v6.hybrid.rule' ]]" | ||
wget https://github.com/rarecoil/pantagrule/raw/refs/heads/master/rules/hashesorg.v6/pantagrule.hashorg.v6.one.rule.gz -P /opt/rules/ | ||
gunzip /opt/rules/pantagrule.hashorg.v6.one.rule.gz | ||
add-add-test-command "[[ -f 'pantagrule.hashorg.v6.one.rule' ]]" | ||
wget https://github.com/rarecoil/pantagrule/raw/refs/heads/master/rules/hashesorg.v6/pantagrule.hashorg.v6.popular.rule.gz -P /opt/rules/ | ||
gunzip /opt/rules/pantagrule.hashorg.v6.popular.rule.gz | ||
add-add-test-command "[[ -f 'pantagrule.hashorg.v6.popular.rule' ]]" | ||
wget https://github.com/rarecoil/pantagrule/raw/refs/heads/master/rules/hashesorg.v6/pantagrule.hashorg.v6.random.rule.gz -P /opt/rules/ | ||
gunzip /opt/rules/pantagrule.hashorg.v6.random.rule.gz | ||
add-add-test-command "[[ -f 'pantagrule.hashorg.v6.random.rule' ]]" | ||
wget https://github.com/rarecoil/pantagrule/raw/refs/heads/master/rules/hashesorg.v6/pantagrule.hashorg.v6.raw1m.rule.gz -P /opt/rules/ | ||
gunzip /opt/rules/pantagrule.hashorg.v6.raw1m.rule.gz | ||
add-add-test-command "[[ -f 'pantagrule.hashorg.v6.raw1m.rule' ]]" | ||
wget https://github.com/rarecoil/pantagrule/raw/refs/heads/master/rules/private.hashorg.royce/pantagrule.popular.royce.rule.gz -P /opt/rules/ | ||
gunzip /opt/rules/pantagrule.popular.royce.rule.gz | ||
add-add-test-command "[[ -f 'pantagrule.popular.royce.rule' ]]" | ||
wget https://github.com/rarecoil/pantagrule/raw/refs/heads/master/rules/private.hashorg.royce/pantagrule.hybrid.royce.rule.gz -P /opt/rules/ | ||
gunzip /opt/rules/pantagrule.hybrid.royce.rule.gz | ||
add-add-test-command "[[ -f 'pantagrule.hybrid.royce.rule' ]]" | ||
wget https://github.com/rarecoil/pantagrule/raw/refs/heads/master/rules/private.hashorg.royce/pantagrule.one.royce.rule.gz -P /opt/rules/ | ||
gunzip /opt/rules/pantagrule.one.royce.rule.gz | ||
add-add-test-command "[[ -f 'pantagrule.one.royce.rule' ]]" | ||
wget https://github.com/rarecoil/pantagrule/raw/refs/heads/master/rules/private.hashorg.royce/pantagrule.random.royce.rule.gz -P /opt/rules/ | ||
gunzip /opt/rules/pantagrule.random.royce.rule.gz | ||
add-add-test-command "[[ -f 'pantagrule.random.royce.rule' ]]" | ||
wget https://github.com/rarecoil/pantagrule/raw/refs/heads/master/rules/private.v5/pantagrule.private.v5.hybrid.rule.gz -P /opt/rules/ | ||
gunzip /opt/rules/pantagrule.private.v5.hybrid.rule.gz | ||
add-add-test-command "[[ -f 'pantagrule.private.v5.hybrid.rule' ]]" | ||
wget https://github.com/rarecoil/pantagrule/raw/refs/heads/master/rules/private.v5/pantagrule.private.v5.one.gz -P /opt/rules/ | ||
gunzip /opt/rules/pantagrule.private.v5.one.gz | ||
add-add-test-command "[[ -f 'pantagrule.private.v5.one' ]]" | ||
wget https://github.com/rarecoil/pantagrule/raw/refs/heads/master/rules/private.v5/pantagrule.private.v5.popular.rule.gz -P /opt/rules/ | ||
gunzip /opt/rules/pantagrule.private.v5.popular.rule.gz | ||
add-add-test-command "[[ -f 'pantagrule.private.v5.popular.rule' ]]" | ||
wget https://github.com/rarecoil/pantagrule/raw/refs/heads/master/rules/private.v5/pantagrule.private.v5.random.rule.gz -P /opt/rules/ | ||
gunzip /opt/rules/pantagrule.private.v5.random.rule.gz | ||
add-test-command "[[ -f '/opt/lists/pantagrule.private.v5.random.rule' ]]" | ||
} | ||
qu35t-code marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
|
||
# Package dedicated to the installation of wordlists and tools like wl generators | ||
function package_wordlists() { | ||
set_env | ||
|
@@ -119,6 +182,8 @@ function package_wordlists() { | |
install_pass_station # Default credentials database | ||
install_username-anarchy # Generate possible usernames based on heuristics | ||
install_genusernames | ||
install_onelistforall | ||
install_rules | ||
end_time=$(date +%s) | ||
local elapsed_time=$((end_time - start_time)) | ||
colorecho "Package wordlists completed in $elapsed_time seconds." | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/opt/seclists
can be removed here since seclists will be in/opt/lists
(@qu35t-code was right, it's a good idea)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here i remove
/opt/rockyou.txt
because nowrockyou.txt
is in/opt/lists/rockyou.txt
and since i already added/opt/lists
/opt/rockyou.txt
is no longer relevant