Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  4 Mar 2003 19:09:00 +0000 (GMT)
From:      Yonatan@xpert.com
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/48924: New port: security/finger_mysql - A threaded MySQL scanner
Message-ID:  <20030304190900.B128C76B@node-110.xpert.com>

next in thread | raw e-mail | index | archive | help

>Number:         48924
>Category:       ports
>Synopsis:       New port: security/finger_mysql - A threaded MySQL scanner
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 04 09:10:06 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Yonatan@xpert.com
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD Temujin 4.7-STABLE FreeBSD 4.7-STABLE #2: Fri Jan 31 22:09:26 GMT 2003 root@Temujin:/usr/obj/usr/src/sys/TEMUJIN i386
>Description:
	This is a one-file-port of a threaded MySQL scanner. If the user "root"
is passwordless, then this is even funnier. For some reason is segfaults if you feed it with Class B network, but I'll fix that when time permits.
>How-To-Repeat:
	N/A
>Fix:
--- finger_mysql.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	Makefile
#	distinfo
#	pkg-descr
#	pkg-plist
#
echo x - Makefile
sed 's/^X//' >Makefile << 'END-of-Makefile'
X# Ports collection makefile for:  finger_mysql
X# Date created:			  03 Mar 2003
X# Whom:				  Yonatan <Yonatan@xpert.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	finger_mysql
XPORTVERSION=	1.0
XCATEGORIES=	security
XMASTER_SITES=	http://www.fsix.net/crew/ \
X		http://www.zone-h.org/files/49/
XDISTNAME=	finger_mysql.c
XEXTRACT_SUFX=	#none
XEXTRACT_ONLY=	#none
X
XMAINTAINER=	Yonatan@xpert.com
XCOMMENT=	Threaded MySQL scanner
X
XLIB_DEPENDS=	mysqlclient:${PORTSDIR}/databases/mysql323-client/
X
XNO_BUILD=	yes
XNO_WRKSUBDIR=	yes
X
Xpost-extract:
X	${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}/
X
Xpre-install:
X	${CC} -L${PREFIX}/lib/mysql -I${PREFIX}/include ${PTHREAD_LIBS} -lmysqlclient -o ${WRKSRC}/finger_mysql ${DISTNAME}
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/finger_mysql ${PREFIX}/bin
X
X.include <bsd.port.mk>
END-of-Makefile
echo x - distinfo
sed 's/^X//' >distinfo << 'END-of-distinfo'
XMD5 (finger_mysql.c) = 780669d83a76c63f40efab6e34716508
END-of-distinfo
echo x - pkg-descr
sed 's/^X//' >pkg-descr << 'END-of-pkg-descr'
XThis is a threaded C class IP MySQL scanner that will attempt to login
Xand extract the hashes from a vulnerable MySQL daemon. See 
Xhttp://online.securityfocus.com/bid/5503 for all the details.
X
XWWW: http://www.fsix.net/crew
END-of-pkg-descr
echo x - pkg-plist
sed 's/^X//' >pkg-plist << 'END-of-pkg-plist'
Xbin/finger_mysql
END-of-pkg-plist
exit
--- finger_mysql.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030304190900.B128C76B>