Combinator attack witj -k rule
#1
I read the hashcat wiki about combinator attack.
I have to 2 dictionaries: dic1 and dic2.

dic1 contains:
hello
test

dic2 contains:
apple
earth


I would like to append only all the word of dic2 after dic1.
e.g:

helloapple
helloearth
testapple
testhearth


How could I do that, please?
command: hashcat -D 1 --force -m 7400 -a 1 Downloads/sha256unix.txt dic1 dic2
The output will append and prepend words according to the hashcat wiki.


helloapple
helloearth
testapple
testearth


so I do not need these combinations:
applehello
appletest
earthhello
earthtest

How could I test the outputs?
This command doesn't work for me:
hashcat -D 1 --force -m 0 -a 1 dic1 dic2 --stdout


Thanks in advance.
#2
See :

Quote:root@ht:~/hashcat# cat w1
hello
test

Quote:root@ht:~/hashcat# cat w2
apple
earth

Quote:root@ht:~/hashcat# ./hashcat w1 w2 -a 1 --stdout
helloapple
helloearth
testapple
testearth

Quote:root@ht:~/hashcat# ./hashcat w2 w1 -a 1 --stdout
applehello
earthhello
appletest
earthtest
#3
Thank you very for your help.