ssltest: remove unsupported and simplistic tool

This commit is contained in:
blshkv 2018-07-29 09:40:34 +08:00
parent 22cc215f12
commit 944fb66dd8
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
3 changed files with 0 additions and 57 deletions

View file

@ -1 +0,0 @@
DIST ssltest-0.5.pl 32024 SHA256 2b3a4e13f3c45a35ae1dc5e17ccf7e1a4b6cdccdb503f1715525acbf3e696d36 SHA512 543a39e4ea4018340162700ef205531f58e3b31a3ea36895c443de8c604a47b70d8de460ce9456bf5f9b1a452b08c638cec225748e8c0876d98a028ec4c98c33 WHIRLPOOL 1e0da5f255b818ff1a11a9f9a85a70abb65485daa81223f07fa26a1135254310565bcb5e7038a2d86582413b72d9bd4de264363b30682a3a525e2188dbd37ccb

View file

@ -1,21 +0,0 @@
--- ssltest.orig 2016-12-27 22:42:02.000000000 +0800
+++ ssltest 2016-12-27 22:48:09.626470121 +0800
@@ -59,7 +59,8 @@
# search strings to find to detect friendly "update your browser" responses
-$friendlystring = '^HTTP/1.1 401 Unauthorized';
+$friendlystring1 = '^HTTP/1.1 401 Unauthorized';
+$friendlystring2 = '^HTTP/1.1 500 Internal Server Error';
$friendlydetected = 0;
GetOptions('h|help' => \$help, 'v|verbose+' => \$verbose, 'r|ssl2' => \$ssl2, 's|ssl3' => \$ssl3, 't|tls1' => \$tls1, 'b|tls11' => \$tls11, 'c|tls12' => \$tls12, 'x|timeout=i' => \$timeout, 'i|ism' => \$ism, 'p|pci' => \$pci, 'g|grep' => \$grep, 'l|list' => \$list, 'f|friend' => \$friend, 'n|nohelp' => \$nohelp, 'z|vercert' => \$vcert);
@@ -336,7 +337,7 @@
$n = "=" x 40;
print "\n$n\nHTTP Request:\n$n\n$httprequest$n\nHTTP Response:\n$n\n$response\n$n\n\n";
}
- if ($response =~ m/($friendlystring)/) {
+ if ( ($response =~ m/($friendlystring1)/) || ($response =~ m/($friendlystring1)/) ) {
unsupported($_[0], $_[1], $_[2]);
$friendlydetected = 1;
return;

View file

@ -1,35 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit eutils
DESCRIPTION="SSL testing tool written in perl"
#HOMEPAGE="http://sites.google.com/site/lupingreycorner/"
HOMEPAGE="https://github.com/stephenbradshaw/ssltest"
SRC_URI="https://raw.githubusercontent.com/stephenbradshaw/ssltest/390212c507baa868866f4b4aa572ad8ed5116dd3/ssltest.pl -> ${P}.pl"
LICENSE="BSD"
SLOT="0"
KEYWORDS=""
IUSE=""
RDEPEND="dev-perl/IO-Socket-SSL"
S="${WORKDIR}"/${PN}
src_unpack() {
mkdir "${S}"
cp "${DISTDIR}"/"${P}".pl "${S}"/ssltest
}
src_prepare() {
default
epatch "${FILESDIR}"/"${PV}"-friendly500.patch
}
src_install() {
dobin ssltest
}