Skip to content
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

Added an fzf-haiti command #257

Merged
merged 4 commits into from
Oct 11, 2023
Merged

Added an fzf-haiti command #257

merged 4 commits into from
Oct 11, 2023

Conversation

lap1nou
Copy link
Contributor

@lap1nou lap1nou commented Oct 11, 2023

Description

Add a an fzf-haiti command to search for hash type, for example while using hashcat.

Run a hashcat crack:
image

Choose a hash mode using fzf:
image

Choose the wordlist using fzf:
image

image

Related issues

N / A

Point of attention

I know hashcat automatically select hash type when he can decide, but this doesn't work for a lot of hash type that looks the same.

@ShutdownRepo
Copy link
Member

Nice, I like this addition
Would the following command work? hcat /path/to/hashes.txt?

@ShutdownRepo ShutdownRepo added the new tool(s) This adds one or multiple tools to Exegol label Oct 11, 2023
@lap1nou
Copy link
Contributor Author

lap1nou commented Oct 11, 2023

Hey @ShutdownRepo,

I haven't tested some use case, I will try to fix that.

sources/assets/zsh/zshrc Outdated Show resolved Hide resolved
sources/assets/zsh/zshrc Outdated Show resolved Hide resolved
@ShutdownRepo
Copy link
Member

Thanks for the changes, lgtm

@ShutdownRepo ShutdownRepo merged commit 75133e1 into ThePorgs:dev Oct 11, 2023
@lap1nou
Copy link
Contributor Author

lap1nou commented Oct 11, 2023

Thank you, I also did this for john, should I make another PR ?

alias fzf-haiti-john='(){ haiti -e $1 | fzf --ansi | grep -E -o "JtR: .*]" | cut -d "]" -f 1 | cut -d " " -f 2 ;}'
alias hjohn='(){ if [ -f "$1" ]; then john --format=$(fzf-haiti-john $(head -n 1 "$1")) --wordlist=$(fzf-wordlists) "${@:2}" $1; fi ;}'

Also, the alias fzf-wordlists is searching a directory named /usr/share/wfuzz that doesn't seems to exist anymore.

@ShutdownRepo
Copy link
Member

Also, the alias fzf-wordlists is searching a directory named /usr/share/wfuzz that doesn't seems to exist anymore.

Should be fixed in the latest nightly image, can you check?

I also did this for john, should I make another PR ?

Yes let's do that!

@lap1nou lap1nou mentioned this pull request Oct 11, 2023
@lap1nou
Copy link
Contributor Author

lap1nou commented Oct 11, 2023

Should be fixed in the latest nightly image, can you check?

Yup it's fixed thank you !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new tool(s) This adds one or multiple tools to Exegol
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants