diff options
author | Joseph Smidt | 2020-04-11 11:04:00 -0600 |
---|---|---|
committer | Joseph Smidt | 2020-04-11 11:04:00 -0600 |
commit | 4a056fa4f1bf1814f5eb3537ee65162de89c1d73 (patch) | |
tree | 5c1f0e6bb979892d20266ddd2e9ccbedb96266a4 | |
download | aur-peass.tar.gz |
Initial Commit.
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..70dc4dc7487c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = peass + pkgdesc = Privilege Escalation Awesome Scripts SUITE for Windows and Linux: LinPEAS and WinPEAS. + pkgver = r224.0a5b2b6 + pkgrel = 1 + url = https://github.com/carlospolop/privilege-escalation-awesome-scripts-suite + arch = any + license = MIT + makedepends = git + depends = bash + optdepends = fping + optdepends = nmap + optdepends = ping + optdepends = gnu-netcat + source = peass::git+https://github.com/carlospolop/privilege-escalation-awesome-scripts-suite + sha256sums = SKIP + +pkgname = peass + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6a98d2bf3bd2 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Joseph Smidt <josephsmidt@gmail.com> +# +pkgname=peass +pkgver=r224.0a5b2b6 +pkgrel=1 +pkgdesc="Privilege Escalation Awesome Scripts SUITE for Windows and Linux: LinPEAS and WinPEAS." +arch=('any') +url='https://github.com/carlospolop/privilege-escalation-awesome-scripts-suite' +license=('MIT') +depends=('bash') +makedepends=('git') +optdepends=('fping' 'nmap' 'ping' 'gnu-netcat') + +source=("${pkgname}::git+${url}") +sha256sums=('SKIP') + +pkgver() { + cd "${srcdir}/${pkgname}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd "${srcdir}/${pkgname}" + install -dm0755 "${pkgdir}/usr/share/${pkgname}" + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + cp -ar --no-preserve=ownership ./* "${pkgdir}/usr/share/${pkgname}" +} |