Package Details: exploit-db-git git-1

Git Clone URL: https://aur.archlinux.org/exploit-db-git.git (read-only)
Package Base: exploit-db-git
Description: The Exploit Database (EDB) an ultimate archive of exploits and vulnerable software - A collection of hacks
Upstream URL: https://github.com/offensive-security/exploit-database
Licenses: custom
Submitter: thanx
Maintainer: thanx
Last Packager: thanx
Votes: 1
Popularity: 0.000669
First Submitted: 2016-03-28 19:41
Last Updated: 2016-03-28 19:42

Latest Comments

thanx commented on 2017-02-10 09:58

My SSH problems are persisting, however this is the corrected PKGBUILD


# Archtrack maintainer: Evan Teitelman <teitelmanevan@gmail.com>
# Contributor: Thanx <thanxm@gmail.com>
pkgname=exploit-db-git
gitname="exploit-database"
pkgver=1128.8290029ac
pkgrel=1
pkgdesc="The Exploit Database (EDB) an ultimate archive of exploits and vulnerable software - A collection of hacks"
url="https://github.com/offensive-security/exploit-database"
license=("custom")
arch=('any')
depends=('bash' 'wget' 'grep' 'sed' 'tar' 'git')
provides=('exploit-db')
conflicts=('exploit-db')
options=('!strip')
source=("git+https://github.com/offensive-security/${gitname}.git")
md5sums=('SKIP')


pkgver() {
cd "${srcdir}/${gitname}"
local ver="$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
printf "%s" "${ver//-/.}"
}


package() {
# The script
#install -Dm755 $srcdir/exploit-db.sh $pkgdir/usr/bin/exploit-db

# The database
chmod -R 644 "$srcdir/${gitname}"
chmod -R a+X "$srcdir/${gitname}"
install -dm 755 "$pkgdir/usr/share"
install -dm 755 "$pkgdir/usr/bin"
cp -dr --no-preserve=ownership "$srcdir/${gitname}" "$pkgdir/usr/share/exploit-db"
sed -i 's/\/opt\/exploit-database/\/usr\/share\/exploit-db/' "$pkgdir/usr/share/exploit-db/searchsploit"
chmod -R a+x "$pkgdir/usr/share/exploit-db/searchsploit"
ln -s "/usr/share/exploit-db/searchsploit" "${pkgdir}/usr/bin/searchsploit"
}



thanx commented on 2017-02-03 08:45

Hello

I am having ssh authentication issues on my system I will update as soon as I have fixed it

GI_Jack commented on 2017-02-02 22:27

also edit searchexploit change to

gitpath="/usr/share/exploit-db/"

GI_Jack commented on 2017-02-02 22:25

/usr/share/exploit-db/searchsploit needs to be made executable, and it needs to be either moved to linked to $PATH, package is semi-broken