Hi Guys, Really sorry to be a pain in the but, but once again googled and tried to apply the patch myself, cause i'm getting buffer overflows.. but failed miserably
Code:
patch -p1 < /path/to/patch/file
Code:
patch /usr/bin/cowpatty < /root/cowpatty_patch.diff
does that look right?
even if the path's aren't right is my syntax right cause i keep getting an error
Code:
File to patch: /usr/local/bin/cowpatty
patching file /usr/local/bin/cowpatty
Hunk #1 FAILED at 178.
1 out of 1 hunk FAILED -- saving rejects to file /usr/local/bin/cowpatty.rej
root@john-laptop:/home/andy1/aircrack-ng# sudo patch /usr/bin/cowpatty < {/home/andy1/cowpatty_patch.diff}
bash: {/home/andy1/cowpatty_patch.diff}: No such file or directory
root@john-laptop:/home/andy1/aircrack-ng# sudo patch /usr/bin/cowpatty < /home/andy1/cowpatty_patch.diff
patching file /usr/bin/cowpatty
Hunk #1 FAILED at 94.
Hunk #2 FAILED at 150.
Hunk #3 FAILED at 165.
Hunk #4 FAILED at 267.
Hunk #5 FAILED at 290.
Hunk #6 FAILED at 398.
Hunk #7 FAILED at 465.
Hunk #8 FAILED at 477.
Hunk #9 FAILED at 492.
Hunk #10 FAILED at 520.
Hunk #11 FAILED at 538.
Hunk #12 FAILED at 1027.
12 out of 12 hunks FAILED -- saving rejects to file /usr/bin/cowpatty.rej
can't find file to patch at input line 391
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|diff -uNr cowpatty-4.6/cowpatty.h cowpatty-4.6-fixup16/cowpatty.h
|--- cowpatty-4.6/cowpatty.h 2009-06-04 06:24:16.000000000 -0700
|+++ cowpatty-4.6-fixup16/cowpatty.h 2009-07-17 16:16:58.043152023 -0700
is there an option or switch that needs to be included?
many cheers guys
o.k so I have applied the patch but i'm still getting buffer overflows...........
i'm wondering though, do I need to bother with cowpatty now that pyrit has new features?
Or could I just work from a .txt password file and have pyrit do what cowpatty would normally do anyway?
any suggestions?
thanks guys
i'll go and play in a corner with pyrit since pureh@te posted some basic syntax's to use it...cheers again pureh@te....24K work