Index: net/Makefile =================================================================== --- net/Makefile +++ net/Makefile @@ -478,6 +478,7 @@ SUBDIR += nifmon SUBDIR += nload SUBDIR += nmsg + SUBDIR += nncp SUBDIR += nocatsplash SUBDIR += norm SUBDIR += nph @@ -1124,6 +1125,7 @@ SUBDIR += rdapper SUBDIR += rdesktop SUBDIR += rdist6 + SUBDIR += reaver SUBDIR += recvnet SUBDIR += redir SUBDIR += relayd Index: net/reaver/Makefile =================================================================== --- /dev/null +++ net/reaver/Makefile @@ -0,0 +1,31 @@ +# $FreeBSD$ + +PORTNAME= reaver +DISTVERSIONPREFIX= v +DISTVERSION= 1.6.4 +CATEGORIES= net + +MAINTAINER= martinfilla@post.cz +COMMENT= Reaver brute force attack against WPS (Wi-Fi Protected Setup) + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/../docs/LICENSE + +USES= gmake +GNU_CONFIGURE= yes +USE_GITHUB= yes +GH_ACCOUNT= t6x +GH_PROJECT= ${PORTNAME}-wps-fork-t6x + +WRKSRC_SUBDIR= src + +PLIST_FILES= bin/reaver \ + bin/wash \ + man/man1/reaver.1.gz + +post-install: + @cd ${STAGEDIR}${PREFIX} && ${STRIP_CMD} bin/reaver bin/wash + @${RM} -r ${STAGEDIR}/var/lib + ${INSTALL_MAN} ${WRKSRC}/../docs/reaver.1.gz ${STAGEDIR}${PREFIX}/man/man1 + +.include Index: net/reaver/distinfo =================================================================== --- /dev/null +++ net/reaver/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1517179510 +SHA256 (t6x-reaver-wps-fork-t6x-v1.6.4_GH0.tar.gz) = 1fa2e70857017a5658c2d00b30b6a20a5ea1f0117b428b0ddf422444e11e86ff +SIZE (t6x-reaver-wps-fork-t6x-v1.6.4_GH0.tar.gz) = 480048 Index: net/reaver/pkg-descr =================================================================== --- /dev/null +++ net/reaver/pkg-descr @@ -0,0 +1,10 @@ +Reaver implements a brute force attack against WPS (Wi-Fi Protected Setup) +in order to recover WPA/WPA2 passphrases. + +Reaver is intended for penetration testing only, and not for unauthorized access +to protected computer networks. Reaver exploits the flaws of the WPS design. + +The implementation is based on the paper: +https://sviehb.files.wordpress.com/2011/12/viehboeck_wps.pdf + +WWW: https://github.com/t6x/reaver-wps-fork-t6x/blob/master/README.md