Created
March 16, 2018 12:15
-
-
Save adde88/681bbcffca83d987ff872aac74e2bc10 to your computer and use it in GitHub Desktop.
OpenWRT Makefile for Reaver
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Copyright (C) 2012-2015 OpenWrt.org | |
# Copyright (C) 2017 Yousong Zhou | |
# | |
# This is free software, licensed under the GNU General Public License v2. | |
# See /LICENSE for more information. | |
# | |
include $(TOPDIR)/rules.mk | |
PKG_NAME:=reaver | |
PKG_VERSION:=1.6.4 | |
PKG_RELEASE:=master | |
PKG_MAINTAINER:=Andreas Nilsen <[email protected]> | |
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) | |
PKG_SOURCE_PROTO:=git | |
PKG_SOURCE_URL:=https://github.com/t6x/reaver-wps-fork-t6x.git | |
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz | |
PKG_SOURCE_VERSION:=HEAD | |
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) | |
PKG_LICENSE:=GPL-2.0 | |
PKG_LICENSE_FILES:=docs/LICENSE | |
PKG_USE_MIPS16:=0 | |
PKG_AUTOMAKE_PATHS:=src | |
PKG_FIXUP:=autoreconf | |
include $(INCLUDE_DIR)/package.mk | |
CONFIGURE_PATH:=src | |
MAKE_PATH:=src | |
CONFIGURE_ARGS += --enable-savetocurrent | |
define Package/reaver | |
SECTION:=net | |
CATEGORY:=Network | |
SUBMENU:=wireless | |
TITLE:=Efficient brute force attack against Wifi Protected Setup | |
URL:=https://github.com/t6x/reaver-wps-fork-t6x | |
DEPENDS:=+libpcap | |
endef | |
define Package/reaver/description | |
Reaver has been designed to be a robust and practical attack against Wi-Fi | |
Protected Setup (WPS) registrar PINs in order to recover WPA/WPA2 | |
passphrases. It has been tested against a wide variety of access points and | |
WPS implementations. | |
This is reaver-wps-fork-t6x, a community forked version, which has included | |
various bug fixes and additional attack method (the offline Pixie Dust | |
attack). | |
endef | |
TARGET_CFLAGS+=$(TARGET_CPPFLAGS) | |
define Package/reaver/install | |
$(INSTALL_DIR) $(1)/usr/bin | |
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/{reaver,wash} $(1)/usr/bin/ | |
endef | |
$(eval $(call BuildPackage,reaver)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment