Install Unicorn for pwndbg.

This commit is contained in:
David Tomaschik
2017-03-04 17:41:26 -08:00
parent 70cc5c5218
commit aa690c0985
2 changed files with 7 additions and 1 deletions

View File

@@ -305,6 +305,12 @@ MinLen = 0
MaxLen = 7
CharCount = 69
[Incremental:All5]
File = $JOHN/ascii.chr
MinLen = 5
MaxLen = 5
CharCount = 95
# Some pre-defined word filters
[List.External:Filter_Alpha]
void filter()

View File

@@ -85,7 +85,7 @@ function install_pwndbg {
PYTHON="${PYTHON}${PYVER}"
local PY_PACKAGES=$HOME/.pwndbg/vendor
${PYTHON} -m pip install --target ${PY_PACKAGES} -Ur $HOME/.pwndbg/requirements.txt
${PYTHON} -m pip install --target ${PY_PACKAGES} -U capstone
${PYTHON} -m pip install --target ${PY_PACKAGES} -U capstone unicorn
# capstone package is broken
cp ${PY_PACKAGES}/usr/lib/*/dist-packages/capstone/libcapstone.so ${PY_PACKAGES}/capstone
}