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.

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