Skip to content

hpmv2/pwnui

Repository files navigation

Demo

IO DSL:

IO DSL

IO visualization UI:

IO Demo

(Old) IO script and visualization

Integrated editor

Setup

Install LLVM toolchains and dev headers

  • Add source http://apt.llvm.org/bionic llvm-toolchain-bionic-8
  • sudo apt install clang-8 libllvm8 liblldb-8-dev

Install Bazel and protoc

Install Docker

Development shortcuts:

  • Follow instructions here to set up clangd autocompletion for vscode/vim: https://github.com/grailbio/bazel-compilation-database
  • Use the following flag in your ~/.blazerc to speed up compilation, especially if you swap between -c dbg and -c opt, etc.
    • build --disk_cache=/tmp/bazel_disk_cache

Build

bazel build :server_main

Run

Server:

bazel run :server_main -- --port=12345

Proxy:

cd frontend
sudo docker build -t helloworld/envoy -f ./envoy.Dockerfile .
docker run -d -p 12346:12346 --network=host helloworld/envoy

Client:

cd frontend/pwnui
ng serve --aot

Develop

Be sure to rerun frontend/update_frontend_grpc_genfiles.sh whenever updating service.proto. The frontend codegen is not automated.

About

pwnui

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published