Giter VIP home page Giter VIP logo

Comments (3)

woodruffw avatar woodruffw commented on August 25, 2024

The easiest way to install pe-parse (and uthenticode, which is also required) on Linux is to use vcpkg, as indicated in the README. You're welcome to try installing the dependencies manually, but this isn't an actively supported development pattern.

from winchecksec.

bonafideduck avatar bonafideduck commented on August 25, 2024

I used the following script to build this on Ubuntu 20.04 when I needed it for my job(1). It may not be the proper way to install and use vcpkg, but it least worked for me.

#!/bin/bash

mkdir -p /contrib
apt-get update
apt-get install -y git curl unzip tar gcc g++ cmake

cd /contrib
git config --global advice.detachedHead false
git clone -b 2020.07 https://github.com/Microsoft/vcpkg
git clone https://github.com/trailofbits/winchecksec.git
mkdir /contrib/winchecksec/build

cd /contrib/vcpkg
export VCPKG_DISABLE_METRICS=1
./bootstrap-vcpkg.sh
/contrib/vcpkg/vcpkg install pe-parse
/contrib/vcpkg/vcpkg install uthenticode

cd /contrib/winchecksec/build
cmake -DCMAKE_TOOLCHAIN_FILE=/contrib/vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build .
cmake --install .
ln -s /contrib/winchecksec/build/winchecksec /bin/winchecksec

(1) I am Mark Eklund, an employee of Zoom Video Communications.

from winchecksec.

woodruffw avatar woodruffw commented on August 25, 2024

Thanks for the writeup! That looks pretty close to a reasonable vcpkg usage pattern to me 🙂

from winchecksec.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.