aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authoryuri <yuri@FreeBSD.org>2018-02-04 07:47:36 +0800
committeryuri <yuri@FreeBSD.org>2018-02-04 07:47:36 +0800
commitb5740494dd2581562e17e13d9cc9b47299bcbd0d (patch)
treefcf6ed9f8c4757a2bfd3f5ec39003b3d67a144d1 /net
parent2dc426555ca56540f0ee0d5eea337766abd7eeff (diff)
downloadfreebsd-ports-gnome-b5740494dd2581562e17e13d9cc9b47299bcbd0d.tar.gz
freebsd-ports-gnome-b5740494dd2581562e17e13d9cc9b47299bcbd0d.tar.zst
freebsd-ports-gnome-b5740494dd2581562e17e13d9cc9b47299bcbd0d.zip
New port: net/reaver: Reaver brute force attack against WPS (Wi-Fi Protected Setup)
See details here: https://github.com/t6x/reaver-wps-fork-t6x PR: 225400 Submitted by: Martin Filla <martinfilla@post.cz> Approved by: adamw (mentor) Differential Revision: https://reviews.freebsd.org/D14101
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/reaver/Makefile31
-rw-r--r--net/reaver/distinfo3
-rw-r--r--net/reaver/pkg-descr10
4 files changed, 45 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 2b212a62cd78..ca41469dfcae 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1128,6 +1128,7 @@
SUBDIR += rdapper
SUBDIR += rdesktop
SUBDIR += rdist6
+ SUBDIR += reaver
SUBDIR += recvnet
SUBDIR += redir
SUBDIR += relayd
diff --git a/net/reaver/Makefile b/net/reaver/Makefile
new file mode 100644
index 000000000000..d269ee95b11d
--- /dev/null
+++ b/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 <bsd.port.mk>
diff --git a/net/reaver/distinfo b/net/reaver/distinfo
new file mode 100644
index 000000000000..3636ebd1c06f
--- /dev/null
+++ b/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
diff --git a/net/reaver/pkg-descr b/net/reaver/pkg-descr
new file mode 100644
index 000000000000..53f43de8f597
--- /dev/null
+++ b/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/