Fingerprint Attack in windows
#1
I am attempting to do/learn a fingerprint attack...

usage: expander.exe < infile > outfile

C:\Users\Dad\Desktop\HashcatGUI_045\hashcat-utils-1.0>rootkit_found.txt my.txt expander.exe

C:\Users\Dad\Desktop\HashcatGUI_045\hashcat-utils-1.0>my.txt rootkit_found.txt expander.exe

C:\Users\Dad\Desktop\HashcatGUI_045\hashcat-utils-1.0>expander.exe rootkit_found.txt my.txt

C:\Users\Dad\Desktop\HashcatGUI_045\hashcat-utils-1.0>expander.exe rootkit_found.txt | my.txt

C:\Users\Dad\Desktop\HashcatGUI_045\hashcat-utils-1.0>expander.exe rootkit_found.txt | sort -u my.txt

ffccc52b393d6a9b366eb7fe3dff9ab5:alibaba
ffcd653d220a1a17dc00e068161af73e:3xpl01t
ffd24a76a6360b650a42f2928f68e7d5:rachel1
ffd3cce710f9bf56f0e37df20bbf6a9b:jumpman
ffd76abbee8905e599752d3d59599128:conn3ct
ffef1b90de9e298352dd29a3d60fef04:Marylou

I have tried all variations that I can think of and have posted the ones above I remember (as I had to reboot my machine) and the only one that works is the last one (expander.exe rootkit_found.txt | sort -u my.txt) but the output is confined to the screen and does not save to file.

The first command rootkit_found.txt my.txt expander.exe opens the rootkit_found.txt file in the Emeditor proggy but does not append the above hashes/passwords.

Can someone give me some advice or point me in the right direction for the correct syntax so that I can save the output to file.

Rab.
#2
It tells you right there in the usage:

Quote:usage: expander.exe < infile > outfile

So in your case,

Code:
expander.exe < rootkit_found.txt > my.txt

Or,

Code:
expander.exe < rootkit_found.txt | sort -u > my.txt

You really should learn how to use your shell.
#3
Hadn't realised that the infile was required to be encased between < > in some cases they are there for emphasis rather than a prerequisite.

But thank you for the clarification....

Rab.
#4
just to highlight what epixoip wrote:
(07-23-2015, 09:41 AM)epixoip Wrote: You really should learn how to use your shell.

every character there has a specific meaning
#5
(07-23-2015, 11:40 AM)Flyinghaggis Wrote: Hadn't realised that the infile was required to be encased between  < > in some cases they are there for emphasis rather than a prerequisite.

No, those are for IO redirection.

https://www.microsoft.com/resources/docu...x?mfr=true