# This file is part of BlackArch Linux ( https://www.blackarch.org/ ). # See COPYING for license details. pkgname=katsnoop pkgver=0.1 pkgrel=2 groups=('blackarch' 'blackarch-sniffer') pkgdesc='Utility that sniffs HTTP Basic Authentication information and prints the base64 decoded form.' arch=('x86_64' 'aarch64') url='http://packetstormsecurity.com/files/52514/katsnoop.tbz2.html' license=('unknown') depends=('libpcap') source=('https://dl.packetstormsecurity.net/sniffers/katsnoop.tbz2') sha512sums=('f9ff6ec83556c230b3ceaa8c0cdfd5472ed4ffa0987c99a0331c6d7a5b858aa05ecb7756666a16680ce7f94a975e20925cd028d2918596a8a16c1eb901c48f07') build() { gcc "$pkgname.c" decode_base64.c -o $pkgname -lpcap } package() { install -Dm 755 $pkgname "$pkgdir/usr/bin/$pkgname" }