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.

56 lines
1.5 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.3
  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:=191f785f53030e4803260ada1a29ca4b42c848d56f6f3982e320d03b6117aaf2
  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. include $(INCLUDE_DIR)/package.mk
  22. CONFIGURE_PATH:=src
  23. MAKE_PATH:=src
  24. define Package/reaver
  25. SECTION:=net
  26. CATEGORY:=Network
  27. SUBMENU:=wireless
  28. TITLE:=Efficient brute force attack against Wifi Protected Setup
  29. URL:=https://github.com/t6x/reaver-wps-fork-t6x
  30. DEPENDS:=+libpcap
  31. endef
  32. define Package/reaver/description
  33. Reaver has been designed to be a robust and practical attack against Wi-Fi
  34. Protected Setup (WPS) registrar PINs in order to recover WPA/WPA2
  35. passphrases. It has been tested against a wide variety of access points and
  36. WPS implementations.
  37. This is reaver-wps-fork-t6x, a community forked version, which has included
  38. various bug fixes and additional attack method (the offline Pixie Dust
  39. attack).
  40. endef
  41. define Package/reaver/install
  42. $(INSTALL_DIR) $(1)/usr/bin
  43. $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/{reaver,wash} $(1)/usr/bin/
  44. endef
  45. $(eval $(call BuildPackage,reaver))