12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- # Tanım: The Browser Exploitation Framework that focuses on the web browser
- # URL: http://beefproject.com/
- # Paketçi: yakar
- # Gerekler: ruby ruby-bundler sqlite python
- # Grup: güvenlik
- isim=beef
- surum=0.4.7.0
- devir=2
- kaynak=
- derle() {
- if [ ! -d $DERLEME_KAYNAKDIZIN/$isim ];then
- git clone http://github.com/beefproject/$isim.git $DERLEME_KAYNAKDIZIN/$isim
- else
- cd $DERLEME_KAYNAKDIZIN/$isim
- git pull
- cd -
- fi
-
- git clone "$DERLEME_KAYNAKDIZIN/$isim" "$PKG/usr/share/$isim"
- cd "$PKG/usr/share/$isim"
-
- # beef
- mkdir -p "$PKG/usr/bin"
- cat > "$PKG/usr/bin/$isim" << EOF
- #!/bin/sh
- cd /usr/share/$isim
- exec ruby $isim "\${@}"
- EOF
- chmod +x "$PKG/usr/bin/$isim"
-
- rm "$PKG/usr/share/$isim/install"
-
-
- # 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
- }
|