summaryrefslogtreecommitdiffstats
path: root/net/pyrit/Makefile
blob: c806acbbaaffa47805fda4f3ec0365453f5ec1d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#
# Copyright (C) 2011 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#

include $(TOPDIR)/rules.mk

PKG_NAME:=pyrit
PKG_VERSION:=0.4.0
PKG_RELEASE:=1

PKG_SOURCE_URL:=http://pyrit.googlecode.com/files
PKG_SOURCE:=pyrit-0.4.0.tar.gz
PKG_MD5SUM:=7258b6f3dacfb09736ddeed2a379df2d

include $(INCLUDE_DIR)/package.mk
$(call include_mk, python-package.mk)

define Package/pyrit
  SECTION:=net
  CATEGORY:=Network
  DEPENDS:=+python +libopenssl +libpcap
  TITLE:=A GPGPU-driven WPA/WPA2-PSK key cracker
  URL:=http://code.google.com/p/pyrit/
endef

define Package/pyrit/description
 A GPGPU-driven WPA/WPA2-PSK key cracker
 Pyrit exploits the computational power of many-core- and GPGPU-
 -platforms to create massive databases, pre-computing part of the 
 WPA/WPA2-PSK authentication phase in a space-time tradeoff. 
 It is a powerful attack against one of the world's most used security
 protocols
endef

define Build/Compile
	$(call Build/Compile/PyMod,., \
		install --prefix="/usr" --root="$(PKG_INSTALL_DIR)" \
	)
endef

define Package/pyrit/install
	$(INSTALL_DIR) $(1)
	$(CP) $(PKG_INSTALL_DIR)/* $(1)/
endef

$(eval $(call BuildPackage,pyrit))