Skip to content

Commit

Permalink
Fix tools
Browse files Browse the repository at this point in the history
  • Loading branch information
D3vil0p3r committed Jan 18, 2025
1 parent 7548707 commit 3be64ae
Show file tree
Hide file tree
Showing 23 changed files with 252 additions and 172 deletions.
77 changes: 0 additions & 77 deletions packages/archive/python2/gconf/PKGBUILD

This file was deleted.

File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# See COPYING for license details.

pkgname=python-canari
_pkgname=${pkgbase#python-}
_pkgname=${pkgname#python-}
pkgver=3.3.10
pkgrel=6
groups=('athena' 'athena-forensic' 'athena-recon' 'athena-scanner')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,28 @@
# See COPYING for license details.

pkgname=python-safedexml
_pkgname=safedexml
_pkgname=${pkgname#python-}
pkgver=0.5.1
pkgrel=7
pkgdesc='A defusedxml version of dead-simple Object-XML mapper for Python.'
arch=('any')
url='https://pypi.org/project/safedexml/#files'
license=('MIT')
makedepends=('python-setuptools')
depends=('python' 'python-defusedxml')
makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
options=(!emptydirs)
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.tar.gz")
sha512sums=('3e9ebef0044d3319aae98a71cdb9790639c8eaadd9bd0775aa95c4bf56daaa1bd79614ee1600a347f757365ef447ce973e0b4e596a3d500b9c148a94efb0ee0a')

build() {
cd "$_pkgname-$pkgver"

python setup.py build
}

package_python2-safedexml() {
depends=('python2' 'python2-defusedxml')


python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 \
--skip-build
python -m build --wheel --no-isolation
}

package() {
depends=('python' 'python-defusedxml')

cd "$_pkgname-$pkgver"

python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 \
--skip-build
python -m installer --destdir="$pkgdir" dist/*.whl
}

File renamed without changes.
25 changes: 8 additions & 17 deletions packages/libs/python/python-requests-futures/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,28 @@
# See COPYING for license details.

pkgname=python-requests-futures
_pkgname=requests-futures
pkgver=1.0.1
_pkgname=requests_futures
pkgver=1.0.2
pkgrel=1
pkgdesc='Asynchronous Python HTTP for Humans.'
arch=('any')
url='https://pypi.org/project/requests-futures/#files'
license=('Apache-2.0')
makedepends=('python-setuptools')
depends=('python' 'python-certifi' 'python-charset-normalizer' 'python-idna' 'python-requests' 'python-urllib3')
makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
options=(!emptydirs)
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.tar.gz")
sha512sums=('e95c2ae8a97f314a6f2ec02ab1d4b456cd673599dea9cf4abd9f2c601ea7ea4b48a6595d4b52bd5c717cfcbbb378be8789d6f63dfb58fb2aa4778db408521730')
sha512sums=('1d163ffe45a09e0160710cf8bd060f741a524e60d69318af7c03a3b5dc41f27f4f7d115faed227bb710b29ffdb230a7ef5991e33ab2ad4e25b3c52727ef76fc7')

build() {
cd "$_pkgname-$pkgver"

python setup.py build
}

package_python2-requests-futures() {
depends=('python2' 'python2-requests' 'python2-futures')


python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 \
--skip-build
python -m build --wheel --no-isolation
}

package() {
depends=('python' 'python-requests' 'python2-futures')

cd "$_pkgname-$pkgver"

python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 \
--skip-build
python -m installer --destdir="$pkgdir" dist/*.whl
}

10 changes: 5 additions & 5 deletions packages/os-specific/roles/athena-dos-role/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ pkgrel=2
pkgdesc="DoS Attacker Role tools."
arch=('any')
license=("custom")
depends=('blacknurse' 'davoset' 'ddosify' 'dhcpig' 'dnsdrdos' 'fhttp'
'goldeneye' 'habu' 'httpbog' 'hulk' 'iaxflood' 'impulse' 'inviteflood'
'nkiller2' 'ntpdos' 'phpstress' 'pwnloris' 'slowloris' 'slowloris-py'
'synflood' 'synner' 't50' 'tcgetkey' 'thc-ssl-dos' 'torshammer'
'ufonet' 'wifi-pumpkin' 'wreckuests')
depends=('blacknurse' 'davoset' 'ddosify' 'dnsdrdos' 'fhttp' 'goldeneye'
'habu' 'httpbog' 'hulk' 'iaxflood' 'impulse' 'inviteflood' 'nkiller2'
'ntpdos' 'phpstress' 'pwnloris' 'slowloris' 'slowloris-py' 'synflood'
'synner' 't50' 'tcgetkey' 'thc-ssl-dos' 'ufonet' 'wifi-pumpkin'
'wreckuests')
2 changes: 1 addition & 1 deletion packages/os-specific/roles/athena-redteamer-role/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ pkgdesc="Red Teamer Role tools."
arch=('any')
license=("custom")
depends=('athena-cracker' 'athena-database' 'athena-debugger'
'athena-decompiler' 'athena-exploitation athena-fuzzer'
'athena-decompiler' 'athena-exploitation' 'athena-fuzzer'
'athena-networking' 'athena-recon' 'athena-scanner' 'athena-sniffer'
'athena-spoof' 'athena-webapp' 'athena-windows')
13 changes: 6 additions & 7 deletions packages/pentesting/caido-cli/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
# Credits Athena OS ( https://athenaos.org/ )

pkgname=caido-cli
pkgver=0.44.1
pkgver=0.45.1
pkgrel=1
groups=('athena' 'athena-webapp' 'athena-proxy' 'athena-scanner' 'athena-fuzzer')
pkgdesc="A lightweight web security auditing toolkit."
pkgdesc='A lightweight web security auditing toolkit.'
arch=('x86_64' 'aarch64' 'armv7h')
url="https://caido.io/"
url='https://caido.io/'
license=('private')
depends=(gcc-libs glibc)
conflicts=('caido-desktop')
depends=('gcc-libs' 'glibc')
source_x86_64=("$pkgname-$pkgver-x86_64.tar.gz::https://caido.download/releases/v${pkgver}/caido-cli-v${pkgver}-linux-x86_64.tar.gz")
source_aarch64=("$pkgname-$pkgver-aarch64.tar.gz::https://caido.download/releases/v${pkgver}/caido-cli-v${pkgver}-linux-aarch64.tar.gz")
sha512sums_x86_64=('c8cda43b296e13eab7e24ab3692584f9f99f75c5651daa15c2dd56efd333fece2f13c3f2c3184fa62cd2bed47e77a8c9cd43058fb5154ea8c719e77ab5ae7a31')
sha512sums_aarch64=('b3b091907078c70f36e438563ec917c3330766392434adbd025e04e4c68f8d05c4b624bf666ceee4026782590f8f81e86654fea84c8eb952eb4a9bab052f0746')
sha512sums_x86_64=('e3ded7b4ce03ec1d13574a3fd2fa66642d1fd2a4b8fa083616c80ab3097f1f961950b88a80cb64731c288474614efcf971b55b4c4f70e494deb3423ac08481c6')
sha512sums_aarch64=('ec0c7d2df0123287e92e7add3c012ed9d64ca57d01badaff354a87357b24a5135fc09071eeb60283d17fcd76a577b2925f9c3c52e7cb44f32dc49776815baa3f')

package() {
install -Dm755 caido-cli -t $pkgdir/usr/bin
Expand Down
10 changes: 5 additions & 5 deletions packages/pentesting/caido-desktop/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# AUR ( https://aur.archlinux.org/ )

pkgname=caido-desktop
pkgver=0.44.1
pkgver=0.45.1
pkgrel=1
groups=('athena' 'athena-webapp' 'athena-proxy' 'athena-scanner' 'athena-fuzzer')
pkgdesc="A lightweight web security auditing toolkit."
pkgdesc='A lightweight web security auditing toolkit.'
arch=('x86_64')
url="https://caido.io/"
url='https://caido.io/'
license=('private')
depends=(glibc gcc-libs)
depends=('glibc' 'gcc-libs')
provides=(caido)
source=("https://caido.download/releases/v${pkgver}/caido-desktop-v${pkgver}-linux-x86_64.AppImage")
sha512sums=('d69621bdf526a8260d89c9ad5eec51052d23f898bec35c7cc455864879569e5297b343d6ff9ee1742779d661854276b33243d298dc737e56065e8bc4b5f4466b')
sha512sums=('cc83eaf715658163142c952b1c6215a70a7c99c4e4d9561051e9e6ad2e04db1cb9a47370552dcff23b69df6e3a5cbd89e04a1b6d8807e1c6c4914a82bde8527e')

prepare() {
chmod +x *.AppImage
Expand Down
54 changes: 15 additions & 39 deletions packages/pentesting/frida-tools/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,57 +1,33 @@
# Credits BlackArch ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgbase=frida-tools
pkgname=('python2-frida-tools' 'python-frida-tools')
_pkgname=frida-tools
pkgver=11.0.0
pkgrel=2
pkgname=python-frida-tools
_pkgname=${pkgname#python-}
pkgver=13.6.1
pkgrel=1
pkgdesc='Frida CLI tools.'
groups=('athena' 'athena-mobile' 'athena-binary' 'athena-reversing')
arch=('any')
url='https://pypi.org/project/frida-tools/#files'
license=('custom:unknown')
makedepends=('python2-setuptools' 'python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$pkgbase-$pkgver.tar.gz"
depends=('python' 'python-frida' 'python-colorama' 'python-prompt_toolkit'
'python-pygments' 'libimobiledevice')
makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
options=(!emptydirs)
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
'setup.py.patch')
sha512sums=('31ed33ea0a652f9f7c0055c1770663bbace60ef9e15446ddc71719878fee78b1907b63b7ca12527972a41f2021d770c77a4cc52ee8ed88c4c53a089f15298527'
sha512sums=('551dbbdf5d2e7dbf2df69242ff6c5a47e1db5f887136d345bec69a7f5e28cf794b319d5be7b39ebe4ab2a234bbbe859bf6b9f38f7374003faa3df029584304e9'
'48dc1d48f21e0d5672b7b628aca40c2431687608c4e228fbace9c88172b13103814af6ef9abebb4539fafa5700787b9af2c86b0c3b7988c805711db7458186e4')

prepare() {
#patch -p1 < setup.py.patch

cp -a "$pkgbase-$pkgver"{,-2}
}

build() {
cd "$pkgbase-$pkgver-2"
cd "$_pkgname-$pkgver"

python2 setup.py build

cd "$srcdir/$pkgbase-$pkgver"

python setup.py build
python -m build --wheel --no-isolation
}

package_python2-frida-tools() {
depends=('python2' 'python2-frida' 'python2-colorama' 'python2-prompt_toolkit'
'python2-pygments' 'libimobiledevice')

cd "$pkgbase-$pkgver-2"

python2 setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build

for i in "$pkgdir/usr/bin/"* ; do
mv $i "${i}2"
done
}

package_python-frida-tools() {
depends=('python' 'python-frida' 'python-colorama' 'python-prompt_toolkit'
'python-pygments' 'libimobiledevice')

cd "$pkgbase-$pkgver"
package() {
cd "$_pkgname-$pkgver"

python setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build
python -m installer --destdir="$pkgdir" dist/*.whl
}

Loading

0 comments on commit 3be64ae

Please sign in to comment.