mirror of
https://github.com/zardus/ctf-tools
synced 2025-01-09 11:08:47 +00:00
21 lines
471 B
Bash
Executable file
21 lines
471 B
Bash
Executable file
#!/bin/bash -e
|
|
|
|
case "$DISTRI" in
|
|
"debian")
|
|
echo "Need pwntools compatible binutils from PPA"
|
|
exit 1
|
|
;;
|
|
"ubuntu")
|
|
apt-add-repository -y ppa:pwntools/binutils
|
|
apt-get update
|
|
apt-get -y install binutils-.*-linux-gnu libffi-dev libssl-dev
|
|
;;
|
|
"archlinux")
|
|
pacman -Syu --noconfirm --needed binutils openssl libffi
|
|
;;
|
|
*)
|
|
echo "Unknown distribution"
|
|
exit 1
|
|
;;
|
|
esac
|
|
|