Exploit database

GH-9642badc960e6ec24f9ecc13f779574e

easis/cve-2018-20250-winrar-ace

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2018-20250

18 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files4
easis/cve-2018-20250-winrar-aceRevision 140a4d68dd1a

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

Utils.cs

Suggested starting fileC# · 415 bytes
using InvertedTomato.IO;
using System;

namespace WinAce
{
    public class Utils
    {
        public static UInt32 CRC32(byte[] data)
        {
            var crc = CrcAlgorithm.CreateCrc32Jamcrc();
            crc.Append(data);
            return (UInt32)crc.ToUInt64();
        }

        public static UInt16 CRC16(byte[] data)
        {
            return (UInt16)((CRC32(data) & 0xFFFF));
        }
    }
}