All Projects → Goblenus → pyaccesspoint

Goblenus / pyaccesspoint

Licence: GPL-3.0 license
Package to manage accesspoint on linux

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to pyaccesspoint

Linux Router
Set Linux as router in one command. Support Internet sharing, redsocks, Wifi hotspot, IPv6. Can also be used for routing VM/containers
Stars: ✭ 129 (+416%)
Mutual labels:  wifi-hotspot
Wifi Pumpkin Deprecated
DEPRECATED, wifipumpkin3 -> https://github.com/P0cL4bs/wifipumpkin3
Stars: ✭ 2,964 (+11756%)
Mutual labels:  access-point
pifi
A headless wifi provisioning system.
Stars: ✭ 40 (+60%)
Mutual labels:  wifi-hotspot
Upribox
Usable Privacy Box
Stars: ✭ 153 (+512%)
Mutual labels:  wifi-hotspot
rpi-roam-webapp
Setup script and web application for a wireless Raspberry Pi bridge.
Stars: ✭ 13 (-48%)
Mutual labels:  access-point
Whereami
Uses WiFi signals 📶 and machine learning to predict where you are
Stars: ✭ 4,878 (+19412%)
Mutual labels:  access-point
Virtualrouter
Original, open source Wifi Hotspot for Windows 7, 8.x and Server 2012 and newer
Stars: ✭ 53 (+112%)
Mutual labels:  wifi-hotspot
ansible-openwrt
Ansible collection to configure your OpenWrt devices more quickly and automatically (without Python)
Stars: ✭ 34 (+36%)
Mutual labels:  access-point
pi-ap
Raspberry Pi Access Point: This repo automates the configuration of hostapd, dnsmasq, dhcpcd & wpa_supplicant to transform a Pi into a wireless AP. Requirements: a Pi, an Ethernet cable and a DHCP-enabled port on a router with a 'net connection or a switch connected to this router.
Stars: ✭ 69 (+176%)
Mutual labels:  access-point
anyfesto
Low cost Raspberry Pi /Linux based access point with audio, education and communications local content server. Inspired by the ideas of sharing with others. Anyfesto - a platform from which to speak.
Stars: ✭ 66 (+164%)
Mutual labels:  access-point
Mili
Mili is an open source tool for auto login hotspot pages! (MacOS + Linux)
Stars: ✭ 162 (+548%)
Mutual labels:  wifi-hotspot
Openwisp Radius
Administration web interface and REST API for freeradius 3 build in django & python. Supports captive portal authentication, WPA Enerprise (802.1x), freeradius rlm_rest, social login, Hotspot 2.0 / 802.11u, importing users from CSV, registration of new users and more.
Stars: ✭ 206 (+724%)
Mutual labels:  wifi-hotspot
Wifiphisher
Wifiphisher is a rogue Access Point framework for conducting red team engagements or Wi-Fi security testing. Using Wifiphisher, penetration testers can easily achieve a man-in-the-middle position against wireless clients by performing targeted Wi-Fi association attacks. Wifiphisher can be further used to mount victim-customized web phishing attacks against the connected clients in order to capture credentials (e.g. from third party login pages or WPA/WPA2 Pre-Shared Keys) or infect the victim stations with malwares.
Stars: ✭ 10,333 (+41232%)
Mutual labels:  access-point
Wififlutter
Plugin Flutter which can handle WiFi connections (AP, STA)
Stars: ✭ 142 (+468%)
Mutual labels:  wifi-hotspot
ApeX
Using Social Engineering To Obtain WiFi Passwords
Stars: ✭ 87 (+248%)
Mutual labels:  access-point
Tortipi
Tor based Raspberry π hotspot
Stars: ✭ 76 (+204%)
Mutual labels:  wifi-hotspot
Create ap
[NOT MAINTAINED] This script creates a NATed or Bridged WiFi Access Point.
Stars: ✭ 4,142 (+16468%)
Mutual labels:  access-point
openwrt-configuration-ansible
OpenWrt configuration for router + dumb access points with Ansible playbook for centralised management
Stars: ✭ 31 (+24%)
Mutual labels:  access-point
Easy-HotSpot
Easy HotSpot is a super easy WiFi hotspot user management utility for Mikrotik RouterOS based Router devices. Voucher printing in 6 ready made templates are available. Can be installed in any PHP/MySql enabled servers locally or in Internet web servers. Uses the PHP PEAR2 API Client by boenrobot.
Stars: ✭ 45 (+80%)
Mutual labels:  wifi-hotspot
Mitmap
📡 A python program to create a fake AP and sniff data.
Stars: ✭ 1,526 (+6004%)
Mutual labels:  access-point

Introduction

PyAccessPoint is a package to create a wifi access point on linux. Itdepends on hostapd for AP provisioning and dnsmasq to assign IP addresses to devices.

Dependencies

So, there 2 types of dependencies.

System dependencies:
  • dnsmasq
  • hostapd
  • python3
Python dependencies
  • wireless
  • netifaces
  • psutil

You can not install python dependencies manually, they will be installed while installing the package. If you want to do it manually, just type (or copy, it's better way :D)

sudo apt install python3-dev python3-pip && sudo pip3 install wireless netifaces psutil

Installation

Easy way by using pip

sudo apt update && sudo apt --yes --force-yes install dnsmasq hostapd python3-dev python3-pip && sudo pip3 install pyaccesspoint

Hard way

  1. Install system dependencies

    sudo apt update && sudo apt --yes --force-yes install dnsmasq hostapd python3-dev unzip python3-pip
    
  2. Download latest package

    cd ~ && wget --output-document=pyaccesspoint-master.zip https://github.com/Goblenus/pyaccesspoint/archive/master.zip
    
  3. Unpack downloaded package

    unzip pyaccesspoint-master.zip && cd pyaccesspoint-master
    
  4. Install it

    sudo python3 setup.py install
    
  5. Remove files

    cd ~ && sudo rm -rf pyaccesspoint-master.zip pyaccesspoint-master
    

That is all. Now you can use PyAccessPoint.

One line install:

sudo apt update && sudo apt --yes --force-yes install dnsmasq hostapd python3-dev unzip python3-pip && cd ~ && wget --output-document=pyaccesspoint-master.zip https://github.com/Goblenus/pyaccesspoint/archive/master.zip && unzip pyaccesspoint-master.zip && cd pyaccesspoint-master && sudo python3 setup.py install && cd ~ && sudo rm -rf pyaccesspoint-master.zip pyaccesspoint-master

Usage

You can use it as standalone command line utility: To start

sudo pyaccesspoint start

It will create hotspot named "MyAccessPoint" on wlan0 with "1234567890" password.

All arguments you may obtain by typing:

pyaccesspoint --help

To stop

sudo pyaccesspoint stop

You can configure and save config file. This will save you time at them next start

sudo pyaccesspoint configure

You config file file will be placed at /etc/accesspoint/accesspoint.json. To start it with config file just type:

sudo pyaccesspoint --config start

Code usage

  1. Import

    from PyAccessPoint import pyaccesspoint
    
  2. Create AccessPoint class

    access_point = pyaccesspoint.AccessPoint()
    
  3. Start it

    access_point.start()
    
  4. Stop it

    access_point.stop()
    
To check is accesspoint started use is_running
access_point.is_running()

You can change accesspoint parameters while creating AccessPoint class

Class parameters:
  • wlan - wlan interface
  • inet - wlan forward to interface (use None to off forwarding)
  • ip - just ip of your accesspoint wlan interface
  • netmask - so... -> (wiki link)
  • ssid - name of your accesspoint
  • password - password of your accesspoint

Tested

  • OrangePi Plus with Armbian 5.23

Note

This project is python3 compatible only, python2 is not tested at all.

Idea

This project is fork of https://github.com/prahladyeri/hotspotd (Prahlad Yeri - [email protected])

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].