神兵利器 - Pineapple-MK7-REST-Client

admin 2021年4月30日09:10:00评论86 views字数 2094阅读6分58秒阅读模式


PINEAPPLE MK7 REST CLIENT


  1. 领先的流氓接入点和WiFi pentest工具箱,用于近距离接入操作。

  2. 被动和主动攻击分析脆弱和配置错误的设备。


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.用法

查看/编辑/执行示例/文件夹中的文件

神兵利器 - Pineapple-MK7-REST-Client



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



往期神兵利器:

神兵利器 - Pidrila 高性能路径扫描器

神兵利器 - 子域扫描reconftw

Urlhunter - 侦察工具推荐

神兵利器 - sigurls侦察工具


本文始发于微信公众号(Khan安全团队):神兵利器 - Pineapple-MK7-REST-Client

  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin
admin
  • 本文由 发表于 2021年4月30日09:10:00
  • 转载请保留本文链接(CN-SEC中文网:感谢原作者辛苦付出):
                   神兵利器 - Pineapple-MK7-REST-Clienthttps://cn-sec.com/archives/243986.html

发表评论

匿名网友 填写信息