Merge pull request #163 from yakar/master

Armitage 150813 paketlendi.
This commit is contained in:
Milli İşletim Sistemi (Milis Linux) 2017-06-28 13:38:42 +03:00 committed by GitHub
commit 1b11d2112f
1 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,38 @@
# Description: Metasploit için grafiksel yönetim aracı.
# URL: http://www.fastandeasyhacking.com/
# Packager: yakar (aydin@komutan.org)
# Depends on: metasploit nmap postgresql
name=armitage
version=150813
release=1
source=(http://www.fastandeasyhacking.com/download/armitage${version}.tgz)
build() {
cd "$SRC/armitage"
mkdir -p "$PKG/usr/bin"
mkdir -p "$PKG/usr/share/armitage"
install -Dm644 -t "$PKG/usr/share/doc/armitage" readme.txt whatsnew.txt
rm readme.txt whatsnew.txt
cp -a * "$PKG/usr/share/armitage"
cat > "$PKG/usr/bin/armitage" << EOF
#!/bin/sh
cd /usr/share/armitage
exec ./armitage "\$@"
EOF
chmod +x "$PKG/usr/bin/armitage"
cat > "$PKG/usr/bin/teamserver" << EOF
#!/bin/sh
cd /usr/share/armitage
exec ./teamserver "\$@"
EOF
chmod +x "$PKG/usr/bin/teamserver"
}