cisco-torch: added, yet another cisco pentesting tool

This commit is contained in:
jensp 2010-07-23 18:21:24 +00:00
parent ef50a1b1d7
commit 79cff72cd1
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,2 @@
DIST cisco-torch-0.4b.tar.gz 27126 RMD160 ee20bbc8c8b658003977016bae957b7c97a556aa SHA1 367d4b39368c66eb7da133c9dc2c3c2a22633596 SHA256 a23b90858d17bb85164e210c46b4411e4184f9eb9229ad0dcc30655f23f1023e
EBUILD cisco-torch-0.4b.ebuild 1077 RMD160 1336f9e655a7f80d0d162c6afcd9a99928c8e5fc SHA1 209dc5139345d7fcac090a0649fee81b04e75522 SHA256 c2eb9d55760a0bacdf6cdafbd3e9466978d34c48ec75b1344ee71a8d16f6d0f5

View file

@ -0,0 +1,37 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=2
DESCRIPTION="Cisco mass scanning, fingerprinting, and exploitation tool"
HOMEPAGE="http://www.arhont.com/en/category/resources/tools-utilities/"
SRC_URI="http://www.arhont.com/en/wp-content/uploads/2010/01/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="dev-perl/Net-Telnet
dev-perl/net-ssh-perl
dev-perl/Net-SNMP
dev-perl/Net-SSLeay"
src_prepare() {
sed -i 's|torch.conf|/etc/torch.conf|g' cisco-torch.pl || die
sed -i 's|DIR, "include"|DIR, "/usr/share/cisco-torch/include"|' cisco-torch.pl || die
sed -i 's|include/$in|$in|' cisco-torch.pl || die
sed -i "25i\use lib '/usr/share/cisco-torch/include/';" cisco-torch.pl|| die
}
src_install() {
insinto /usr/share/${PN}
doins -r include tftproot brutefile.txt community.txt fingerprint.db \
password.txt tfingerprint.db users.txt || die
insinto /etc
doins torch.conf || die
dobin cisco-torch.pl || die
dodoc README.txt TODO CHANGELOG.txt
}