From 40a895a99ddaf290c48a62afbb30b2d603c5ceaf Mon Sep 17 00:00:00 2001 From: mh4x0f Date: Mon, 27 Jun 2022 22:19:04 -0300 Subject: [PATCH] added: debian package for build .deb --- debian/README.debian | 3 +++ debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 38 +++++++++++++++++++++++++++++++++++ debian/files | 2 ++ debian/rules | 26 ++++++++++++++++++++++++ debian/source/format | 1 + debian/source/options | 1 + debian/wifipumpkin3.install | 1 + debian/wifipumpkin3.substvars | 3 +++ 10 files changed, 81 insertions(+) create mode 100644 debian/README.debian create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/files create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/source/options create mode 100644 debian/wifipumpkin3.install create mode 100644 debian/wifipumpkin3.substvars diff --git a/debian/README.debian b/debian/README.debian new file mode 100644 index 0000000..244da23 --- /dev/null +++ b/debian/README.debian @@ -0,0 +1,3 @@ +More information about usage here: + +https://wifipumpkin3.github.io/docs/getting-started#usage diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..65c43a3 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +wifipumpkin3 (1.1.2-1) unstable; urgency=low + + * source package automatically created by stdeb 0.10.0 + + -- Marcos Bomfim (mh4x0f) - P0cL4bs Team Fri, 24 Jun 2022 11:31:30 -0300 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..def99e3 --- /dev/null +++ b/debian/control @@ -0,0 +1,38 @@ +Source: wifipumpkin3 +Maintainer: Marcos Bomfim (mh4x0f) - P0cL4bs Team +Section: network +Priority: optional +Build-Depends: python3-setuptools, debhelper (>= 9), + dh-python, + python3 (>=3.7), python3-venv, + python3-dnslib, + python3-flask, + python3-isc-dhcp-leases, + python3-jwt, + python3-netaddr, + python3-netifaces, + python3-pyqt5, + python3-requests, + python3-scapy, + python3-tabulate, + python3-urwid +Standards-Version: 3.9.1 +Homepage: https://github.com/P0cL4bs/wifipumpkin3 + +Package: wifipumpkin3 +Architecture: all +Depends: hostapd, + iptables, + iw, + libssl-dev, + libffi-dev, + build-essential, + net-tools, + wireless-tools, + ${misc:Depends}, + ${python3:Depends} +Description: Powerful framework for rogue access point attack + This package contains a powerful framework for rogue access point attack, + written in Python, that allow and offer to security researchers, red teamers + and reverse engineers to mount a wireless network to conduct a + man-in-the-middle attack. diff --git a/debian/files b/debian/files new file mode 100644 index 0000000..c0b29db --- /dev/null +++ b/debian/files @@ -0,0 +1,2 @@ +wifipumpkin3_1.1.2-1_all.deb network optional +wifipumpkin3_1.1.2-1_amd64.buildinfo network optional diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..80e9f67 --- /dev/null +++ b/debian/rules @@ -0,0 +1,26 @@ +#!/usr/bin/make -f + +# This file was automatically generated by stdeb 0.10.0 at +# Fri, 24 Jun 2022 11:31:30 -0300 + +%: + dh $@ --with python3 --buildsystem=python_distutils + +override_dh_auto_clean: + python3 setup.py clean -a + find . -name \*.pyc -exec rm {} \; + +override_dh_auto_build: + python3 setup.py build --force + +override_dh_auto_install: + dh_install config/ /usr/share/wifipumpkin3 + dh_install logs/ /usr/share/wifipumpkin3 + dh_install helps/ /usr/share/wifipumpkin3 + dh_install scripts/ /usr/share/wifipumpkin3 + dh_install exceptions/ /usr/share/wifipumpkin3 + python3 setup.py install --force --root=debian/wifipumpkin3 --no-compile -O0 --install-layout=deb + +override_dh_python2: + dh_python2 --no-guessing-versions + diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native) diff --git a/debian/source/options b/debian/source/options new file mode 100644 index 0000000..bcc4bbb --- /dev/null +++ b/debian/source/options @@ -0,0 +1 @@ +extend-diff-ignore="\.egg-info$" \ No newline at end of file diff --git a/debian/wifipumpkin3.install b/debian/wifipumpkin3.install new file mode 100644 index 0000000..7bdbbfe --- /dev/null +++ b/debian/wifipumpkin3.install @@ -0,0 +1 @@ +config logs helps scripts exceptions usr/share/wifipumpkin3/ diff --git a/debian/wifipumpkin3.substvars b/debian/wifipumpkin3.substvars new file mode 100644 index 0000000..68d2b6e --- /dev/null +++ b/debian/wifipumpkin3.substvars @@ -0,0 +1,3 @@ +python3:Depends=python3-bs4, python3-dnslib, python3-dnspython, python3-flask (>= 1.1.1), python3-isc-dhcp-leases, python3-jwt, python3-markupsafe, python3-netaddr, python3-netifaces, python3-openssl, python3-requests, python3-scapy, python3-tabulate, python3-termcolor, python3-twisted, python3-urwid, python3-werkzeug, python3:any +misc:Depends= +misc:Pre-Depends=