hashcat Forum
Prepend, append, and prepend+append words from one list to words from another list - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Support (https://hashcat.net/forum/forum-3.html)
+--- Forum: hashcat (https://hashcat.net/forum/forum-45.html)
+--- Thread: Prepend, append, and prepend+append words from one list to words from another list (/thread-10191.html)



Prepend, append, and prepend+append words from one list to words from another list - COOLak - 07-05-2021

Hi guys. The question is in the title.

I want to recover my own password that I stupidly forgot. I've made a list of possible words, and also I've made a list of words/combinations of symbols that I would like to try to prepend, append, and prepend+append to each word from the list.

So let's say this is one word from my first word list:

Code:
tree

And this is my additional word list:

Code:
*
**
!
!*
*!
**!
!**

The result must look like this:


Code:
*tree
tree*
*tree*
**tree
tree**
**tree**
!tree
tree!
!tree!
!*tree
tree!*
!*tree!*
*!tree
tree*!
*!tree*!
**!tree
**!tree
**!tree**!
!**tree
tree!**
!**tree!**

etc.

How do I achieve this? I also have HashCat GUI by BlandyUK v. 1.3 (2021), but I haven't been able to find any obvious way to do so. But I'm willing to use just the CLI if I must. Please help.


RE: Prepend, append, and prepend+append words from one list to words from another list - Xanadrel - 07-05-2021

https://hashcat.net/wiki/doku.php?id=rule_based_attack


RE: Prepend, append, and prepend+append words from one list to words from another list - COOLak - 07-05-2021

(07-05-2021, 03:24 PM)Xanadrel Wrote: https://hashcat.net/wiki/doku.php?id=rule_based_attack

I've already seen this page. I don't see any instruction on how to mutually append, prepend, and append+prepend words from two files to one another.


RE: Prepend, append, and prepend+append words from one list to words from another list - Banaanhangwagen - 07-05-2021

Consider using PRINCE (https://github.com/hashcat/princeprocessor)
Put all the different word-parts in one file and PRINCE will make all the possible combinations for you. Pipe this output to Hashcat.


RE: Prepend, append, and prepend+append words from one list to words from another list - Xanadrel - 07-05-2021

(07-05-2021, 04:01 PM)COOLak Wrote:
(07-05-2021, 03:24 PM)Xanadrel Wrote: https://hashcat.net/wiki/doku.php?id=rule_based_attack

I've already seen this page. I don't see any instruction on how to mutually append, prepend, and append+prepend words from two files to one another.

Put appends in for example append.rule, prepends in prepend.rule and then use
Code:
-r append.rule -r prepend.rule

And throw a : rule in each file as well...


RE: Prepend, append, and prepend+append words from one list to words from another list - COOLak - 08-07-2021

(07-05-2021, 05:14 PM)Xanadrel Wrote:
(07-05-2021, 04:01 PM)COOLak Wrote:
(07-05-2021, 03:24 PM)Xanadrel Wrote: https://hashcat.net/wiki/doku.php?id=rule_based_attack

I've already seen this page. I don't see any instruction on how to mutually append, prepend, and append+prepend words from two files to one another.

Put appends in for example append.rule, prepends in prepend.rule and then use
Code:
-r append.rule -r prepend.rule

And throw a : rule in each file as well...

I don't understand. How do I make it know which rule file is for prepending and which one is for appending?