Coder Social home page Coder Social logo

xchwarze / wifi-pineapple-panel Goto Github PK

View Code? Open in Web Editor NEW
24.0 5.0 6.0 718 KB

Updated panel for Wifi Pineapple NANO/TETRA

PHP 29.78% CSS 0.94% HTML 38.51% JavaScript 27.05% Shell 1.96% Python 1.76%
wifi-pineapple wifi-pineapple-nano wifi-pineapple-tetra hak5 security-tools redteam-tools

wifi-pineapple-panel's Introduction

Wifi Pineapple Panel

The idea of this project is to have a better panel for the pineapple NANO/TETRA
To install it, you just have to copy the contents of the src folder to / of the pineapple and reboot.

Changes

The following functionalities are modified looking for a better user experience

General:

  • Compress PNG images (size -55K)
  • Compress SVG images (size -7K)
  • Update Bootstrap to 3.4.1 (size +2K)
  • Rebuild mobile view
  • Add Chevron icon to accordions (size +1K)
  • Change notification time from 6000 to 30000 (decrease RPM from 10 to 2)
  • Added more refresh buttons
  • Fixed several bugs found in the panel
  • Expose AngularJS Pineapple API in JS window
  • Add timeout and prevent duplicated request in API service
  • Refactor all indexedDB code
  • Removed use of php7-mod-sockets and php7-mod-openssl (size -200K)
  • Implemented use of uclient-fetch as a replacement for wget and file_get_contents(https)

Dashboard

  • Change update time from 5000 to 10000 (decrease RPM from 12 to 6)

Recon:

  • Code refactor in module.php
  • Add results counter in titles with badges
  • Fix column alignment

Clients:

  • Add loading indicator
  • Change default text logic

PineAP:

  • Configure used monitor interface (pineapd pineap_interface)
  • Configure used source interface (pineapd source_mac grabber)
  • Show pineapd service errors

Logging:

  • Fire data loading on open accordion
  • Add PineAP Logs loading indicator
  • Save filters in cookies

Network:

  • Add tabs
  • Add "Wireless raw config editor" section
  • Add "Info" section
  • Add "Interface actions" section
  • Decrease initial requests (from 8 to 3)
  • Use new feed for out.txt updates

Advanced:

  • Add tabs
  • Add "Manual upgrade" section
  • Decrease initial requests (from 8 to 3)
  • Use Universal Wifi pineapple hardware cloner downloads as update feed
  • Add "Keep settings and retain the current configuration" checkbox

Modules:

Notes

  1. For edit notification timer you can use this
# sed -i 's/OLD-VALUE/NEW-VALUE/' FILE
sed -i 's/30000/60000/' src/pineapple/js/controllers.js
  1. To open the menu on hover uncomment this in src/pineapple/main.css
.sidebar:hover {
   margin-left: 0;
}
.menu-toggle {
   display: none !important;
}
  1. To develop locally you can point your panel to the pinapple replacing the src/pineapple/api/index.php with this
<?php
$endpoint = 'http://172.16.42.1:1471/api/index.php';
$sessid = 'xxxxxxxxxxxxxxxxxxxxxxxxx';
$xsrftoken = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx';

$ch = curl_init($endpoint);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, file_get_contents('php://input'));
curl_setopt($ch, CURLOPT_COOKIE, "PHPSESSID={$sessid}");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["X-XSRF-TOKEN: {$xsrftoken}"]);

$response = curl_exec($ch);
curl_close($ch);
header('Content-Type: application/json');
echo $response;

wifi-pineapple-panel's People

Contributors

lunar808 avatar xchwarze avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

wifi-pineapple-panel's Issues

"Open SSID" configuration does not work

Settings are not changed after changing "Open SSID" name or radio buttons "Hide ..." and "Disable ...".
Pressing "Update Access Points" does not save them.
On default Pineapple panel following are working:
openssid

(Screenshot taken from stock panel)

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.