zer0m0n icon indicating copy to clipboard operation
zer0m0n copied to clipboard

problem with patching cuckoo

Open Ata-Xan opened this issue 8 years ago • 0 comments

hi,

when i want to patch cuckoo using cuckoo.patch file i get this, could you help me, please? ... what is the problem?

test@test-virtual-machine:~/Documents/CuckooSnbx/cuckoo$ patch -p1 < ./cuckoo.patch patching file analyzer/windows/analyzer.py Hunk #1 FAILED at 1. Hunk #2 FAILED at 64. Hunk #3 FAILED at 220. Hunk #4 FAILED at 612. Hunk #5 FAILED at 630. Hunk #6 FAILED at 689. 6 out of 6 hunks FAILED -- saving rejects to file analyzer/windows/analyzer.py.rej patching file analyzer/windows/lib/api/process.py Hunk #1 FAILED at 1. Hunk #2 FAILED at 21. Hunk #3 FAILED at 174. Hunk #4 FAILED at 218. Hunk #5 FAILED at 316. Hunk #6 FAILED at 372. 6 out of 6 hunks FAILED -- saving rejects to file analyzer/windows/lib/api/process.py.rej patching file analyzer/windows/lib/common/defines.py Hunk #1 FAILED at 1 (different line endings). Hunk #2 FAILED at 74 (different line endings). Hunk #3 FAILED at 104 (different line endings). 3 out of 3 hunks FAILED -- saving rejects to file analyzer/windows/lib/common/defines.py.rej patching file analyzer/windows/modules/packages/applet.py Hunk #1 FAILED at 1. Hunk #2 FAILED at 50. Hunk #3 FAILED at 57. 3 out of 3 hunks FAILED -- saving rejects to file analyzer/windows/modules/packages/applet.py.rej patching file analyzer/windows/modules/packages/bin.py Hunk #1 FAILED at 1. Hunk #2 FAILED at 11. 2 out of 2 hunks FAILED -- saving rejects to file analyzer/windows/modules/packages/bin.py.rej patching file analyzer/windows/modules/packages/cpl.py Hunk #1 FAILED at 1. Hunk #2 FAILED at 26. 2 out of 2 hunks FAILED -- saving rejects to file analyzer/windows/modules/packages/cpl.py.rej patching file analyzer/windows/modules/packages/dll.py Hunk #1 FAILED at 1. Hunk #2 FAILED at 14. Hunk #3 FAILED at 23. 3 out of 3 hunks FAILED -- saving rejects to file analyzer/windows/modules/packages/dll.py.rej patching file analyzer/windows/modules/packages/doc.py Hunk #1 FAILED at 1. Hunk #2 FAILED at 37. 2 out of 2 hunks FAILED -- saving rejects to file analyzer/windows/modules/packages/doc.py.rej patching file analyzer/windows/modules/packages/exe.py Hunk #1 FAILED at 1. Hunk #2 FAILED at 13. 2 out of 2 hunks FAILED -- saving rejects to file analyzer/windows/modules/packages/exe.py.rej patching file analyzer/windows/modules/packages/generic.py Hunk #1 FAILED at 1. Hunk #2 FAILED at 14. Hunk #3 FAILED at 22. 3 out of 3 hunks FAILED -- saving rejects to file analyzer/windows/modules/packages/generic.py.rej can't find file to patch at input line 582 Perhaps you used the wrong -p or --strip option? The text leading up to this was:

|diff -rupN original/analyzer/windows/modules/packages/html.py new/analyzer/windows/modules/packages/html.py |--- original/analyzer/windows/modules/packages/html.py 2014-07-11 18:20:44.773827653 +0200 |+++ new/analyzer/windows/modules/packages/html.py 2014-07-11 18:20:41.987160878 +020`

Ata-Xan avatar Jun 25 '17 09:06 Ata-Xan