mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-16 20:01:31 +02:00
dotdotpwn: remove unmaintained
This commit is contained in:
parent
e24fb23ea1
commit
74ebe2fdcd
6 changed files with 0 additions and 110 deletions
|
|
@ -1 +0,0 @@
|
|||
DIST dotdotpwn-3.0.2.tar.gz 50440 BLAKE2B 85000525157d99b7842ccb361ac5fa2646d63c957f9f877ebd86973090bbe0d27a2c57e6aeba36ed7e660db28334b97d8659e11e9ba29c3352581f9bb20a8497 SHA512 2621e6fd45b2ace56d83d634ee702fce4ec0dec5fd8819bd33ecfa2b5fa286249744377931a512c574f907426fdfdf4a1069f46b07a83b73a1bc00f1045cc973
|
||||
|
|
@ -1,71 +0,0 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="The Directory Traversal Fuzzer"
|
||||
HOMEPAGE="http://dotdotpwn.blogspot.com"
|
||||
SRC_URI="https://github.com/wireghoul/dotdotpwn/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="os-detection"
|
||||
|
||||
RDEPEND="dev-lang/perl
|
||||
virtual/perl-Time-HiRes
|
||||
dev-perl/Net-SSLeay
|
||||
dev-perl/IO-Socket-SSL
|
||||
dev-perl/HTTP-Message
|
||||
dev-perl/LWP-UserAgent-Determined
|
||||
os-detection? ( net-analyzer/nmap )"
|
||||
|
||||
#perl_site_lib() {
|
||||
# eval "$(perl -V:sitelib )"
|
||||
# SITE_LIB=${sitelib}
|
||||
#}
|
||||
|
||||
src_prepare() {
|
||||
eapply "${FILESDIR}"/homedir.patch
|
||||
|
||||
sed -i -e 's:DotDotPwn/User-Agents.txt:/etc/dotdotpwn/User-Agents.txt:' \
|
||||
DotDotPwn/HTTP.pm || die
|
||||
|
||||
sed -i -e 's:DotDotPwn/User-Agents.txt:/etc/dotdotpwn/User-Agents.txt:' \
|
||||
DotDotPwn/HTTP_Url.pm || die
|
||||
eapply_user
|
||||
}
|
||||
|
||||
#pkg_setup(){
|
||||
# PERL_MM_USE_DEFAULT=1 cpan -i HTTP::Lite
|
||||
# PERL_MM_USE_DEFAULT=1 cpan -i Net::FTP
|
||||
# PERL_MM_USE_DEFAULT=1 cpan -i TFTP
|
||||
# PERL_MM_USE_DEFAULT=1 cpan -i IO::Socket
|
||||
# PERL_MM_USE_DEFAULT=1 cpan -i Getopt::Std
|
||||
#}
|
||||
|
||||
#src_compile() {
|
||||
# einfo "nothing to compile"
|
||||
# true
|
||||
#}
|
||||
|
||||
src_install() {
|
||||
# perl_site_lib
|
||||
insinto /usr/$(get_libdir)/${PN}/
|
||||
doins -r DotDotPwn
|
||||
doins dotdotpwn.pl
|
||||
fperms +x /usr/$(get_libdir)/${PN}/${PN}.pl
|
||||
|
||||
insinto /etc/dotdotpwn
|
||||
doins *.txt
|
||||
doins DotDotPwn/User-Agents.txt || die "install user-agents file failed"
|
||||
# doins -r retrieved_files || die "install retrieved_files dir failed"
|
||||
|
||||
# insinto /etc/dotdotpwn
|
||||
# doins -r Reports || die "install Reports dir failed"
|
||||
# fperms 777 /etc/dotdotpwn/Reports
|
||||
|
||||
dobin "${FILESDIR}"/dotdotpwn
|
||||
}
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
cd /usr/lib/dotdotpwn
|
||||
./dotdotpwn.pl "$@"
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
--- a/dotdotpwn.pl 2016-11-10 05:33:48.000000000 +0800
|
||||
+++ b/dotdotpwn.pl 2017-04-22 12:44:51.000000000 +0800
|
||||
@@ -217,10 +217,15 @@
|
||||
|
||||
our $report;
|
||||
|
||||
+my $home_prefix = glob('~/.dotdotpwn');
|
||||
+unless(-e $home_prefix or mkdir $home_prefix) {
|
||||
+ die "Unable to create $home_prefix\n";
|
||||
+}
|
||||
+
|
||||
if($opt_r) {
|
||||
- $report = "Reports/" . $opt_r;
|
||||
+ $report = $home_prefix . "/" . $opt_r;
|
||||
} else {
|
||||
- $report = sprintf "Reports/%s_%02d-%02d-%d_%02d-%02d.txt", $host, $mon+1, $mday, $year+1900, $hour, $min;
|
||||
+ $report = sprintf "%s/%s_%02d-%02d-%d_%02d-%02d.txt", $home_prefix, $host, $mon+1, $mday, $year+1900, $hour, $min;
|
||||
}
|
||||
|
||||
print "[+] Report name: $report\n";
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>unknown@pentoo.ch</email>
|
||||
<name>Author Unknown</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="os-detection">Add support for OS detection</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
|
@ -3,9 +3,6 @@ dev-perl/Net-Whois-IP
|
|||
# required by dev-db/sqlsus
|
||||
dev-perl/LWP-UserAgent-Determined
|
||||
|
||||
# required by dotdotpwn
|
||||
#~perl-core/Time-HiRes-1.972.600
|
||||
|
||||
#required by openvas-libraries
|
||||
~dev-perl/UUID-0.270.0
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue