Skip to content

Commit

Permalink
Move prompt session name
Browse files Browse the repository at this point in the history
  • Loading branch information
ente0v1 committed May 10, 2024
1 parent 8f5d0bf commit a12e6a7
Show file tree
Hide file tree
Showing 8 changed files with 40 additions and 20 deletions.
10 changes: 5 additions & 5 deletions crack-bruteforce.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ echo -e "\n${RED}Restore? (Enter restore file name or leave empty):${NC}"
read restore_file_input
restore_session "$restore_file_input"

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

# Prompt user inputs
echo -e "${MAGENTA}Enter session name (press Enter to use default '$default_session'):${NC}"
read session_input
Expand Down Expand Up @@ -53,6 +48,11 @@ echo -e "${MAGENTA}Use status timer? (press Enter to use default '$default_statu
read status_timer_input
status_timer=${status_timer_input:-default_status_timer}

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

# Prompt for workload
echo -e "${MAGENTA}Enter workload (press Enter to use default '$default_workload') [1-4]:${NC}"
read workload_input
Expand Down
10 changes: 5 additions & 5 deletions crack-combo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ echo -e "\n${RED}Restore? (Enter restore file name or leave empty):${NC}"
read restore_file_input
restore_session "$restore_file_input"

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

# Prompt user inputs
echo -e "${MAGENTA}Enter session name (press Enter to use default '$default_session'):${NC}"
read session_input
Expand Down Expand Up @@ -64,6 +59,11 @@ echo -e "${MAGENTA}Use status timer? (press Enter to use default '$default_statu
read status_timer_input
status_timer=${status_timer_input:-default_status_timer}

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

# Prompt for workload
echo -e "${MAGENTA}Enter workload (press Enter to use default '$default_workload') [1-4]:${NC}"
read workload_input
Expand Down
10 changes: 5 additions & 5 deletions crack-rule.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ echo -e "\n${RED}Restore? (Enter restore file name or leave empty):${NC}"
read restore_file_input
restore_session "$restore_file_input"

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

# Prompt user inputs
echo -e "${MAGENTA}Enter session name (press Enter to use default '$default_session'):${NC}"
read session_input
Expand Down Expand Up @@ -51,6 +46,11 @@ echo -e "${MAGENTA}Use status timer? (press Enter to use default '$default_statu
read status_timer_input
status_timer=${status_timer_input:-default_status_timer}

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

# Prompt for workload
echo -e "${MAGENTA}Enter workload (press Enter to use default '$default_workload') [1-4]:${NC}"
read workload_input
Expand Down
10 changes: 5 additions & 5 deletions crack-wordlist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ echo -e "\n${RED}Restore? (Enter restore file name or leave empty):${NC}"
read restore_file_input
restore_session "$restore_file_input"

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

# Prompt user inputs
echo -e "${MAGENTA}Enter session name (press Enter to use default '$default_session'):${NC}"
read session_input
Expand All @@ -45,6 +40,11 @@ echo -e "${MAGENTA}Enter workload (press Enter to use default '$default_workload
read workload_input
workload=${workload_input:-$default_workload}

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

# Print the hashcat command
echo -e "${GREEN}Restore >>${NC} $default_restorepath/$session"
echo -e "${GREEN}Command >>${NC} hashcat --session="$session" -m "$hashmode" hash.hc22000 -a 0 -w $wordload --outfile-format=2 -o plaintext.txt "$wordlist_path/$wordlist""
Expand Down
5 changes: 5 additions & 0 deletions windows/crack-bruteforce.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ echo -e "${MAGENTA}Use status timer? (press Enter to use default '$default_statu
read status_timer_input
status_timer=${status_timer_input:-default_status_timer}

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

# Prompt for workload
echo -e "${MAGENTA}Enter workload (press Enter to use default '$default_workload') [1-4]:${NC}"
read workload_input
Expand Down
5 changes: 5 additions & 0 deletions windows/crack-combo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,11 @@ echo -e "${MAGENTA}Use status timer? (press Enter to use default '$default_statu
read status_timer_input
status_timer=${status_timer_input:-default_status_timer}

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

# Prompt for workload
echo -e "${MAGENTA}Enter workload (press Enter to use default '$default_workload') [1-4]:${NC}"
read workload_input
Expand Down
5 changes: 5 additions & 0 deletions windows/crack-rule.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@ echo -e "${RED}Enter Hashcat Path (press Enter to use default '$default_hashcat'
read hashcat_path_input
hashcat_path=${hashcat_path_input_input:-$default_hashcat}

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

# Prompt for workload
echo -e "${MAGENTA}Enter workload (press Enter to use default '$default_workload') [1-4]:${NC}"
read workload_input
Expand Down
5 changes: 5 additions & 0 deletions windows/crack-wordlist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ echo -e "${MAGENTA}Use status timer? (press Enter to use default '$default_statu
read status_timer_input
status_timer=${status_timer_input:-default_status_timer}

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

# Prompt for workload
echo -e "${MAGENTA}Enter workload (press Enter to use default '$default_workload') [1-4]:${NC}"
read workload_input
Expand Down

0 comments on commit a12e6a7

Please sign in to comment.