PINEAPPLE MK7 REST CLIENT
-
领先的流氓接入点和WiFi pentest工具箱,用于近距离接入操作。
-
被动和主动攻击分析脆弱和配置错误的设备。
Doc:https://docs.hak5.org/hc/en-us/articles/360049854174-WiFi-Pineapple-Mark-VII-REST-API
需要:ruby> = 2.7.0,rest-client 2.1.0 gem和Pineapple MK7固件1.0.1
安装:
sudo apt-get install ruby ruby-dev
sudo gem install rest-client
1.用法
查看/编辑/执行示例/文件夹中的文件
2.系统身份验证访问者/方法
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()和mac()访问器返回字符串
login()方法返回布尔值
3.模组
3.1 模块侦查方法
recon = PineappleMK7::Modules::Recon
recon.startScan( (integer) time )
recon.getResults( (integer) scanID )
recon.deleteScan( (integer) scanID )
startScan方法具有scanID()子方法并返回整数
getResults方法具有APResults() ,UnassociatedClientResults()和OutOfRangeClientResults()子方法
APResults()子方法返回对象数组,其中对象具有:
ssid()
bssid()
encryption()
hidden()
wps()
channel()
signal()
clients() -> client_mac(), ap_mac() and ap_channel()
UnassociatedClientResults()子方法返回对象数组,其中对象具有:
client_mac()
ap_mac()
ap_channel()
OutOfRangeClientResults()子方法返回对象具有的对象数组:
client_mac()
ap_mac()
ap_channel()
3.2 模块PineAP方法
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()方法具有handshakes()子方法可返回对象具有的对象的数组:
type()
bssid()
getClients()方法返回对象所在的对象数组:
mac()
ip()
hostname()
ssid()
tx_bytes()
rx_bytes()
3.3 模块通知方法
notifications = PineappleMK7::Modules::Notifications
notifications.clearAll()
3.4 模块下载方式
download = PineappleMK7::Modules::Download
download.handshake( (string) bssid, (string) type, (string) destination )
参考文献:
https://github.com/TW-D/Pineapple-MK7-REST-Client
往期神兵利器:
本文始发于微信公众号(Khan安全团队):神兵利器 - Pineapple-MK7-REST-Client
- 左青龙
- 微信扫一扫
-
- 右白虎
- 微信扫一扫
-
评论