Giter VIP home page Giter VIP logo

python-pineapple's Introduction

python-pineapple

WiFi pineapple API Wrapper written in python

Documentation

Documentation is a work in progress. It may not be complete for a while, but I believe the code to be very readable and if you do know python it shouldn't be too hard to figure out. Some hints:

  • All modules have the same name they do on the pineapple (all lower case). To see what a module can do just run help(fruit.getModule(modulename))
  • To find out more about the WiFi Pineapple API itself, set debug = True when instantiating your Pineapple()s and it will log the HTTP requests it makes
  • Read the WiFi Pineapple php source located on your pineapple at /pineapple/modules/$modulename/api/module.php as well as the corresponding python files in this project

Examples:

Instantiate a Pineapple object:
API_TOKEN = "xxxxxxxxxx..."
from pineapple.pineapple import Pineapple
fruit = Pineapple(API_TOKEN)
Add a notification:
fruit.getModule("notifications").addNotification("test")
Start PineAP
fruit.getModule("pineap").enable()
Deauth/dissasoc the clients 73:65:62:6b:69:6e and 6e:65:73:67:69:61 from the bssid 6e:74:64:69:63:6b 5 times on channel 1
fruit.getModule("pineap").deauth('6e:74:64:69:63:6b', ['73:65:62:6b:69:6e', '6e:65:73:67:69:61'], 5, 1)

To generate API tokens, use the API Tokens module

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.