2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: The Browser Exploitation Framework that focuses on the web browser
|
2017-06-27 12:34:43 +02:00
|
|
|
|
# URL: http://beefproject.com/
|
2018-11-06 05:56:48 +01:00
|
|
|
|
# Paketçi: yakar
|
|
|
|
|
# Gerekler: ruby ruby-bundler sqlite python
|
2017-12-22 23:19:06 +01:00
|
|
|
|
# Grup: güvenlik
|
2017-06-27 12:34:43 +02:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
isim=beef
|
|
|
|
|
surum=0.4.7.0
|
2018-11-06 05:56:48 +01:00
|
|
|
|
devir=2
|
|
|
|
|
kaynak=
|
2017-06-27 12:34:43 +02:00
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2017-10-28 14:10:23 +02:00
|
|
|
|
if [ ! -d $DERLEME_KAYNAKDIZIN/$isim ];then
|
|
|
|
|
git clone http://github.com/beefproject/$isim.git $DERLEME_KAYNAKDIZIN/$isim
|
2017-06-27 12:34:43 +02:00
|
|
|
|
else
|
2017-10-28 14:10:23 +02:00
|
|
|
|
cd $DERLEME_KAYNAKDIZIN/$isim
|
2017-06-27 12:34:43 +02:00
|
|
|
|
git pull
|
|
|
|
|
cd -
|
|
|
|
|
fi
|
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
git clone "$DERLEME_KAYNAKDIZIN/$isim" "$PKG/usr/share/$isim"
|
|
|
|
|
cd "$PKG/usr/share/$isim"
|
2018-11-06 05:56:48 +01:00
|
|
|
|
|
2017-06-27 12:34:43 +02:00
|
|
|
|
# beef
|
2018-11-06 05:56:48 +01:00
|
|
|
|
mkdir -p "$PKG/usr/bin"
|
2017-10-28 14:10:23 +02:00
|
|
|
|
cat > "$PKG/usr/bin/$isim" << EOF
|
2017-06-27 12:34:43 +02:00
|
|
|
|
#!/bin/sh
|
2017-10-28 14:10:23 +02:00
|
|
|
|
cd /usr/share/$isim
|
2018-11-06 05:56:48 +01:00
|
|
|
|
exec ruby $isim "\${@}"
|
2017-06-27 12:34:43 +02:00
|
|
|
|
EOF
|
2017-10-28 14:10:23 +02:00
|
|
|
|
chmod +x "$PKG/usr/bin/$isim"
|
2017-06-27 12:34:43 +02:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
rm "$PKG/usr/share/$isim/install"
|
2018-11-06 05:56:48 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# desktop
|
|
|
|
|
mkdir -p "$PKG/usr/share/applications/"
|
|
|
|
|
cat > $PKG/usr/share/applications/$isim.desktop << BASLA
|
|
|
|
|
[Desktop Entry]
|
|
|
|
|
Name=Beef
|
|
|
|
|
Exec=gksu "sh -c "beef;${SHELL:-bash}""
|
|
|
|
|
Terminal=true
|
|
|
|
|
Icon=beef
|
|
|
|
|
Type=Application
|
|
|
|
|
Categories=Network;X-Komutan;
|
|
|
|
|
Version=1.0
|
|
|
|
|
BASLA
|
2017-06-27 12:34:43 +02:00
|
|
|
|
}
|