Pineapple MK7 REST Client : WiFi Hacking Workflow With Pineapple Mark 7 API

PINEAPPLE MK7 REST CLIENT is a leading rogue access point and WiFi pentest toolkit for close access operations. It is also a passive and active attacks analyze vulnerable and mis-configured devices.

Usage

  • See/edit/execute the files in the samples/ folder
  • System Authentication accessors/method

system = PineappleMK7::System.new()

system.host = (string) “172.16.42.1”
system.host()
system.port = (string) “1471”
system.port()
system.mac = (string) “00:13:37:DD:EE:FF”
system.mac()
system.password = (string) “P@55w0rD”
system.login()

host(), port() and mac() accessors return string

login() method return boolean

Modules

  • Module Recon methods

recon = PineappleMK7::Modules::Recon

recon.startScan( (integer) time )
recon.getResults( (integer) scanID )
recon.deleteScan( (integer) scanID )

startScan method have scanID() submethod and return integer

getResults method have APResults(), UnassociatedClientResults() and OutOfRangeClientResults() submethods

APResults() submethod return array of objects where object have :

ssid()
bssid()
encryption()
hidden()
wps()
channel()
signal()
clients() -> client_mac(), ap_mac() and ap_channel()

UnassociatedClientResults() submethod return array of objects where object have :

client_mac()
ap_mac()
ap_channel()

OutOfRangeClientResults() submethod return array of objects where object have :

client_mac()
ap_mac()
ap_channel()

  • Module PineAP methods

pineAP = PineappleMK7::Modules::PineAP

pineAP.enable()
pineAP.startHandshakesCapture( (hash/object) ap )
pineAP.deauthAP( (string) bssid, (integer) channel, (array) clients )
pineAP.deauthClient( (string) bssid, (integer) channel, (string) mac )
pineAP.stopHandshakesCapture()
pineAP.getHandshakes()
pineAP.filterClient( (string “allow” or “deny”) mode )
pineAP.filterSSID( (string “allow” or “deny”) mode )
pineAP.addSSID( (string) ssid )
pineAP.clearPool()
pineAP.setRogue()
pineAP.getClients()
pineAP.disable()

getHandshakes() method have handshakes() submethod return array of objects where object have :

type()
bssid()

getClients() method return array of objects where object have :

mac()
ip()
hostname()
ssid()
tx_bytes()
rx_bytes()

  • Module Notifications method

notifications = PineappleMK7::Modules::Notifications

notifications.clearAll()

  • Module Download method

download = PineappleMK7::Modules::Download

download.handshake( (string) bssid, (string) type, (string) destination )

R K

Recent Posts

cp Command: Copy Files and Directories in Linux

The cp command, short for "copy," is the main Linux utility for duplicating files and directories. Whether…

1 week ago

Image OSINT

Introduction In digital investigations, images often hold more information than meets the eye. With the…

1 week ago

cat Command: Read and Combine File Contents in Linux

The cat command short for concatenate, It is a fast and versatile tool for viewing and merging…

1 week ago

Port In Networking

What is a Port? A port in networking acts like a gateway that directs data…

1 week ago

ls Command: List Directory Contents in Linux

The ls command is fundamental for anyone working with Linux. It’s used to display the files and…

1 week ago

pwd Command: Find Your Location in Linux

The pwd (Print Working Directory) command is essential for navigating the Linux filesystem. It instantly shows your…

2 weeks ago