Skip to content

Commit

Permalink
Updated Windows scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
ente0v1 committed May 6, 2024
1 parent 9fe6926 commit 1ce316c
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 8 deletions.
7 changes: 5 additions & 2 deletions windows/crack-bruteforce.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
#!/bin/bash

# Brute-force
# Example: hashcat -a 3 -m 0 example.hash ?a?a?a?a?a?a
source functions.sh


source ./functions.sh
define_default_parameters
define_colors

Expand All @@ -20,7 +23,7 @@ read restore_file_input
restore_session "$restore_file_input"

# Prompt hash attack mode
echo -e "\n${MAGENTA}Enter hash attack mode:${NC}"
echo -e "\n${MAGENTA}Enter hash attack mode (press Enter to use default '22000'):${NC}"
read hashmode_input
hashmode=${hashmode:-$default_hashmode}

Expand Down
14 changes: 12 additions & 2 deletions windows/crack-combo.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
#!/bin/bash

# Hybrid Wordlist + Mask
# Example: hashcat -a 6 -m 0 example.hash example.dict ?a?a?a?a?a?a
source functions.sh


source ./functions.sh
define_default_parameters
define_colors

Expand All @@ -20,7 +23,7 @@ read restore_file_input
restore_session "$restore_file_input"

# Prompt hash attack mode
echo -e "\n${MAGENTA}Enter hash attack mode:${NC}"
echo -e "\n${MAGENTA}Enter hash attack mode (press Enter to use default '22000'):${NC}"
read hashmode_input
hashmode=${hashmode_input:-$default_hashmode}

Expand All @@ -40,6 +43,13 @@ echo -e "${MAGENTA}Enter Wordlist (press Enter to use default '$default_wordlist
read wordlist_input
wordlist=${wordlist_input:-$default_wordlist}

echo -e "${RED}Enter Masks Path (press Enter to use default '$default_masks'):${NC}"
read mask_path_input
masks_path=${rules_path_input:-$default_rules}

echo -e "${MAGENTA}Available Rules in $masks_path:${NC}"
ls "$masks_path"

echo -e "${MAGENTA}Enter Mask (press Enter to use default '$default_mask'):${NC}"
read mask_input
mask=${mask_input:-$default_mask}
Expand Down
14 changes: 12 additions & 2 deletions windows/crack-rule.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
#!/bin/bash

# Wordlist + Rule
# Example: hashcat -a 0 -m 0 example.hash example.dict example.rule
source functions.sh


source ./functions.sh
define_default_parameters
define_colors

Expand All @@ -20,7 +23,7 @@ read restore_file_input
restore_session "$restore_file_input"

# Prompt hash attack mode
echo -e "\n${MAGENTA}Enter hash attack mode:${NC}"
echo -e "\n${MAGENTA}Enter hash attack mode (press Enter to use default '22000'):${NC}"
read hashmode_input
hashmode=${hashmode_input:-$default_hashmode}

Expand All @@ -40,6 +43,13 @@ echo -e "${MAGENTA}Enter Wordlist (press Enter to use default '$default_wordlist
read wordlist_input
wordlist=${wordlist_input:-$default_wordlist}

echo -e "${RED}Enter Rules Path (press Enter to use default '$default_rules'):${NC}"
read rule_path_input
rule_path=${rules_path_input:-$default_rules}

echo -e "${MAGENTA}Available Rules in $rules_path:${NC}"
ls "$rule_path"

echo -e "${MAGENTA}Enter Rule (press Enter to use default '$default_rule'):${NC}"
read rule_input
rule=${rule_input:-$default_rule}
Expand Down
7 changes: 5 additions & 2 deletions windows/crack-wordlist.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
#!/bin/bash

# Wordlist
# Example: hashcat -a 0 -m 0 example.hash example.dict
source functions.sh


source ./functions.sh
define_default_parameters
define_colors

Expand All @@ -20,7 +23,7 @@ read restore_file_input
restore_session "$restore_file_input"

# Prompt hash attack mode
echo -e "\n${MAGENTA}Enter hash attack mode:${NC}"
echo -e "\n${MAGENTA}Enter hash attack mode (press Enter to use default '22000'):${NC}"
read hashmode_input
hashmode=${hashmode_input:-$default_hashmode}

Expand Down

0 comments on commit 1ce316c

Please sign in to comment.