Skip to content

Commit

Permalink
released version v1.1.3
Browse files Browse the repository at this point in the history
released version  v1.1.3
  • Loading branch information
mh4x0f authored Jul 3, 2022
2 parents 3a5014e + 25d8733 commit f856cb7
Show file tree
Hide file tree
Showing 104 changed files with 762 additions and 711 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ name: Build
on:
push:
branches:
- main
- dev
- beta
- master
- tmp-*
tags:
- v*
Expand Down
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ __pycache__/
*.so
#*.log

venv/


# debian package
debian/wifipumpkin3/
debian/wifipumpkin3.prerm.debhelper
debian/wifipumpkin3.postinst.debhelper
debian/wifipumpkin3.debhelper.log
debian/.debhelper/
#exclude vscode
.vscode/
.ideia/
Expand Down
29 changes: 29 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,35 @@
# Changelog
All notable changes to this project will be documented in this file.


## [Released]

## [1.1.3]

### Added
- improve: module extra_captiveflask to install without reinstall the tool
- added: binary exec mode plugin options
- added: debian package for build .deb
- added: ignore venv from .gitignore
- update: screenshot for version 1.1.3
- update: readme information about version

### Changed
- changed: control user login and logout with python object
- moved: captiveflask and pumpkinproxy to console script on setup.py installation

### Deprecated

### Removed
- removed: responder3 depedencies now responder need to installed by default for use
- removed: extensions for update from CLI ui

### Fixed
- fixed: set python3 version on binary sslstrip3 and captiveflask
- fixed: set path default config files to /usr/share/wifipumpkin3
- fixed: improves code with black format
- fixed: Werkzeug depedency flask 2.0

## [Released]

## [1.1.2]
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[![build status](https://github.com/mh4x0f/wifipumpkin3/workflows/Build/badge.svg)](https://github.com/mh4x0f/wifipumpkin3/actions)
[![license](https://img.shields.io/badge/license-apache%202-orange)](https://github.com/mh4x0f/wifipumpkin3/blob/dev/LICENSE.md)
[![changelog](https://img.shields.io/badge/change-log-yellow)](https://github.com/mh4x0f/wifipumpkin3/blob/dev/CHANGELOG.md)
[![changelog](https://img.shields.io/badge/version-1.0.9-blue)](https://github.com/mh4x0f/wifipumpkin3/)
[![changelog](https://img.shields.io/badge/version-1.1.3-blue)](https://github.com/mh4x0f/wifipumpkin3/)
[![code style](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)

![AKUANDUBA](/docs/screenshot.png)
Expand All @@ -27,7 +27,6 @@
- **DNS** monitoring service
- Credentials harvesting
- Transparent Proxies
- LLMNR, NBT-NS and MDNS poisoner ([Responder3](https://github.com/skelsec/Responder3))
- RestFulAPI (new)
- and **more**!

Expand Down
5 changes: 2 additions & 3 deletions config/app/config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ skip_inactivity_poll=1
generic=light-white, #000000
pumpkinproxy=light-red, #000000
pydns_server=light-blue, #000000
responder3=light-green, #000000
responder=light-green, #000000
sniffkin3=light-yellow, #000000
captiveflask=light-cyan, #000000
pydhcp_server=light-magenta, #000000
Expand Down Expand Up @@ -119,8 +119,7 @@ iptables_D_accept=-w -A OUTPUT --out-interface $inet -j ACCEPT
iptables_E_accpet=-w -A INPUT --in-interface $wlan -j ACCEPT

[mitm_modules]
responder3=false
responder3_config=/.config/wifipumpkin3/config/plugins/responder3/examples/config.py
responder=false
sniffkin3=true

[proxy_plugins]
Expand Down
50 changes: 0 additions & 50 deletions config/templates/Flask/templates/login.html

This file was deleted.

12 changes: 0 additions & 12 deletions config/templates/Flask/templates/login_successful.html

This file was deleted.

File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions debian/README.debian
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
More information about usage here:

https://wifipumpkin3.github.io/docs/getting-started#usage
5 changes: 5 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -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 <[email protected]> Fri, 24 Jun 2022 11:31:30 -0300
1 change: 1 addition & 0 deletions debian/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9
38 changes: 38 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
Source: wifipumpkin3
Maintainer: Marcos Bomfim (mh4x0f) - P0cL4bs Team <[email protected]>
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.
2 changes: 2 additions & 0 deletions debian/files
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
wifipumpkin3_1.1.2-1_all.deb network optional
wifipumpkin3_1.1.2-1_amd64.buildinfo network optional
26 changes: 26 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -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

1 change: 1 addition & 0 deletions debian/source/format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0 (native)
1 change: 1 addition & 0 deletions debian/source/options
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
extend-diff-ignore="\.egg-info$"
1 change: 1 addition & 0 deletions debian/wifipumpkin3.install
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
config logs helps scripts exceptions usr/share/wifipumpkin3/
3 changes: 3 additions & 0 deletions debian/wifipumpkin3.substvars
Original file line number Diff line number Diff line change
@@ -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=
Binary file modified docs/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 4 additions & 15 deletions helps/help_extra_captiveflask.txt
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@

How to apply plugins configuration
==================================
Plugins Installation
====================

Now, you need to reinstall the tool,
you have to reinstall on version the python installed,
let's go:
# for python3.7
$ sudo python3.7 setup.py install
# for python3.8
$ sudo python3.8 setup.py install

if you running on Kali linux, only need to:

$ sudo python3 setup.py install

have fun! Hack the Planet
You will need to restart the wp3
to complete the installation.
13 changes: 13 additions & 0 deletions helps/help_install_customcaptiveflask.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
install new template on captiveflask:

Usage: install plugin_name file_complete_path.zip
param plugin_name: the plugin_name name is the same [plugin_name].py
file_complete_path.zip: complete file path with .zip

Description:
Install a custom captiveflask templates from command line
require restart the wifipumpkin3 for load all plugins


Referencies:
https://wifipumpkin3.github.io/docs/getting-started#creating-captive-portal-template
24 changes: 0 additions & 24 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,26 +1,2 @@
netifaces==0.10.9
netaddr==0.7.19
dhcplib==0.1.1
scapy_http==1.8.2
tabulate==0.8.5
urwid==1.1.2
termcolor==1.1.0
twisted==19.7.0
PyQt5>=5.14
PyQt5-sip
pyOpenSSL==19.0.0
Responder3==0.0.1
dnslib==0.9.17
loguru>=0.4.0
scapy==2.4.3
isc_dhcp_leases==0.9.1
dnspython==1.16.0
Flask==1.1.4
requests>=2.18.4
beautifulsoup4>=4.9.1
black
coverage==5.1
PyJWT==2.1.0
flask-restx>=0.5.1
markupsafe==2.0.1
Werkzeug<2.0,>=0.15
8 changes: 3 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,19 @@ dhcplib==0.1.1
tabulate>=0.8.5
urwid==2.1.2
termcolor>=1.1.0
twisted==19.7.0
twisted>=19.7.0
PyQt5>=5.14
PyQt5-sip
pyOpenSSL==19.0.0
Responder3>=0.0.1
dnslib==0.9.17
loguru>=0.4.0
scapy>=2.4.4
isc_dhcp_leases>=0.9.1
dnspython==1.16.0
Flask==1.1.4
Flask>=1.1.1
requests>=2.18.4
beautifulsoup4>=4.9.1
asn1crypto>=1.0.0
PyJWT==2.1.0
flask-restx>=0.5.1
markupsafe==2.0.1
Werkzeug<2.0,>=0.15
Werkzeug
16 changes: 12 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,11 @@ def version(version_file):

folders = ["config", "logs", "helps", "scripts", "exceptions"]

config_dir = "/usr/share/wifipumpkin3"


def create_user_dir_config():
user_config_dir = os.path.expanduser("~") + "/.config/wifipumpkin3"
user_config_dir = config_dir
if not os.path.isdir(user_config_dir):
os.makedirs(user_config_dir, exist_ok=True)
# force copy all files `config` to user_config_dir
Expand All @@ -61,17 +63,23 @@ def create_user_dir_config():
license="apache 2.0",
long_description=open("README.md").read(),
install_requires=required,
scripts=["bin/sslstrip3", "bin/captiveflask"],
include_package_data=True,
packages=find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
python_requires=">=3.7",
classifiers=[
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3",
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Operating System :: POSIX :: Linux",
"Environment :: Console",
],
entry_points={"console_scripts": ["wifipumpkin3=wifipumpkin3.__main__:main",],},
entry_points={
"console_scripts": [
"wifipumpkin3=wifipumpkin3.__main__:main",
"wp3=wifipumpkin3.__main__:main",
"captiveflask=wifipumpkin3.plugins.bin.captiveflask:main",
"sslstrip3=wifipumpkin3.plugins.bin.sslstrip3:main",
],
},
)
4 changes: 2 additions & 2 deletions wifipumpkin3/_version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__version__ = "1.1.2"
__version__ = "1.1.3"
__codename__ = "Yorixiriamori"
__branch__ = "dev"
__branch__ = "main"
Loading

0 comments on commit f856cb7

Please sign in to comment.