You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
1.6 KiB

  1. #
  2. # Copyright (C) 2012-2015 OpenWrt.org
  3. # Copyright (C) 2017 Yousong Zhou
  4. #
  5. # This is free software, licensed under the GNU General Public License v2.
  6. # See /LICENSE for more information.
  7. #
  8. include $(TOPDIR)/rules.mk
  9. PKG_NAME:=reaver
  10. PKG_VERSION:=1.6.6
  11. PKG_RELEASE:=1
  12. PKG_MAINTAINER:=Yousong Zhou <yszhou4tech@gmail.com>
  13. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  14. PKG_SOURCE_URL:=https://github.com/t6x/reaver-wps-fork-t6x/releases/download/v$(PKG_VERSION)
  15. PKG_HASH:=e329a0da0b6dd888916046535ff86a6aa144644561937954e560bb1810ab6702
  16. PKG_LICENSE:=GPL-2.0
  17. PKG_LICENSE_FILES:=docs/LICENSE
  18. PKG_USE_MIPS16:=0
  19. PKG_AUTOMAKE_PATHS:=src
  20. PKG_FIXUP:=autoreconf
  21. PKG_BUILD_PARALLEL:=1
  22. include $(INCLUDE_DIR)/package.mk
  23. CONFIGURE_PATH:=src
  24. MAKE_PATH:=src
  25. CONFIGURE_ARGS += --enable-savetocurrent
  26. define Package/reaver
  27. SECTION:=net
  28. CATEGORY:=Network
  29. SUBMENU:=Wireless
  30. TITLE:=Efficient brute force attack against Wifi Protected Setup
  31. URL:=https://github.com/t6x/reaver-wps-fork-t6x
  32. DEPENDS:=+libpcap
  33. endef
  34. define Package/reaver/description
  35. Reaver has been designed to be a robust and practical attack against Wi-Fi
  36. Protected Setup (WPS) registrar PINs in order to recover WPA/WPA2
  37. passphrases. It has been tested against a wide variety of access points and
  38. WPS implementations.
  39. This is reaver-wps-fork-t6x, a community forked version, which has included
  40. various bug fixes and additional attack method (the offline Pixie Dust
  41. attack).
  42. endef
  43. define Package/reaver/install
  44. $(INSTALL_DIR) $(1)/usr/bin
  45. $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/{reaver,wash} $(1)/usr/bin/
  46. endef
  47. $(eval $(call BuildPackage,reaver))