
WiFi Pineapple Mark VII APIを使用したWiFiハッキングワークフロー
Author:: TW-D
Version:: 1.3.7
Copyright:: Copyright (c) 2024 TW-D
License:: Rubyと同じ条件で配布されます。
Doc:: https://hak5.github.io/mk7-docs/docs/rest/rest/
Requires:: Ruby >= 2.7.0p0 and WiFi Pineapple Mark VII >= 2.1.0-stable
Installation(DebianベースのLinuxディストリビューション)::
sudo apt-get install build-essential curl g++ ruby ruby-dev
sudo gem install net-ssh rest-client tty-progressbar
アクティブまたはパッシブ攻撃操作の自動化を可能にするライブラリ。
注 : 「Issues」および「Pull Requests」は歓迎します。
./payloads/ ディレクトリには以下があります:
| コマンド&コントロール | 作者 | 使用方法 |
|---|---|---|
| Hak5 Key Croc - キーボードからのキーストロークのリアルタイム回収 | TW-D | (edit) ruby ./hak5_key-croc.rb |
| Maltronics WiFi Deauther - ビーコンフレームのスパム | TW-D | (edit) ruby ./maltronics_wifi-deauther.rb |
| 防御 | 作者 | 使用方法 |
|---|---|---|
| Hak5 Pineapple Spotter |
| DoS | 作者 | 使用方法 |
|---|---|---|
| アクセスポイント上の利用可能なクライアントの認証解除 | TW-D | (edit) ruby ./deauthentication-clients.rb |
| 一般 | 作者 | 使用方法 |
|---|---|---|
| システムステータス、ディスク使用量、... | TW-D | (edit) ruby ./dashboard-stats.rb |
| ネットワーキングインターフェース | TW-D | (edit) ruby ./networking-interfaces.rb |
| システムログ | TW-D | (edit) ruby ./system-logs.rb |
| ウォードライビング | 作者 | 使用方法 |
|---|---|---|
| 2.4GHzおよび5GHz(対応アダプターあり)の継続的偵察 | TW-D | (edit) ruby ./continuous-recon_5ghz.rb [CTRL+c] |
| ハンドシェイクキャプチャのための継続的偵察 | TW-D | (edit) ruby ./continuous-recon_handshakes.rb [CTRL+c] |
| 継続的偵察 |
#
# Title: <TITLE>
#
# Description: <DESCRIPTION>
#
#
# Author: <AUTHOR>
# Version: <VERSION>
# Category: <CATEGORY>
#
# STATUS
# ======================
# <SHORT-DESCRIPTION> ... SETUP
# <SHORT-DESCRIPTION> ... ATTACK
# <SHORT-DESCRIPTION> ... SPECIAL
# <SHORT-DESCRIPTION> ... FINISH
# <SHORT-DESCRIPTION> ... CLEANUP
# <SHORT-DESCRIPTION> ... OFF
#
require_relative('<PATH-TO>/classes/PineappleMK7.rb')
system_authentication = PineappleMK7::System::Authentication.new
system_authentication.host = "<PINEAPPLE-IP-ADDRESS>"
system_authentication.port = 1471
system_authentication.mac = "<PINEAPPLE-MAC-ADDRESS>"
system_authentication.password = "<ROOT-ACCOUNT-PASSWORD>"
if (system_authentication.login)
led = PineappleMK7::System::LED.new
# SETUP
#
led.setup
#
# [...]
#
# ATTACK
#
led.attack
#
# [...]
#
# SPECIAL
#
led.special
#
# [...]
#
# FINISH
#
led.finish
#
# [...]
#
# CLEANUP
#
led.cleanup
#
# [...]
#
# OFF
#
led.off
end
注 : ペイロードディレクトリからインスピレーションを得ることを躊躇しないでください。
system_authentication = PineappleMK7::System::Authentication.new
system_authentication.host = (string) "<PINEAPPLE-IP-ADDRESS>"
system_authentication.port = (integer) 1471
system_authentication.mac = (string) "<PINEAPPLE-MAC-ADDRESS>"
system_authentication.password = (string) "<ROOT-ACCOUNT-PASSWORD>"
system_authentication.login()
led = PineappleMK7::System::LED.new
led.setup()
led.failed()
led.attack()
led.special()
led.cleanup()
led.finish()
led.off()
dashboard_notifications = PineappleMK7::Modules::Dashboard::Notifications.new
dashboard_notifications.clear()
dashboard_stats = PineappleMK7::Modules::Dashboard::Stats.new
dashboard_stats.output()
logging_system = PineappleMK7::Modules::Logging::System.new
logging_system.output()
pineap_clients = PineappleMK7::Modules::PineAP::Clients.new
pineap_clients.connected_clients()
pineap_clients.previous_clients()
pineap_clients.kick( (string) mac )
pineap_clients.clear_previous()
evil_wpa = PineappleMK7::Modules::PineAP::EvilWPA.new
evil_wpa.ssid = (string default:'PineAP_WPA')
evil_wpa.bssid = (string default:'00:13:37:BE:EF:00')
evil_wpa.auth = (string default:'psk2+ccmp')
evil_wpa.password = (string default:'pineapplesareyummy')
evil_wpa.hidden = (boolean default:false)
evil_wpa.enabled = (boolean default:false)
evil_wpa.capture_handshakes = (boolean default:false)
evil_wpa.save()
pineap_filtering = PineappleMK7::Modules::PineAP::Filtering.new
pineap_filtering.client_filter( (string) 'allow' | 'deny' )
pineap_filtering.add_client( (string) mac )
pineap_filtering.clear_clients()
pineap_filtering.ssid_filter( (string) 'allow' | 'deny' )
pineap_impersonation = PineappleMK7::Modules::PineAP::Impersonation.new
pineap_impersonation.output()
pineap_impersonation.add_ssid( (string) ssid )
pineap_impersonation.clear_pool()
open_ap = PineappleMK7::Modules::PineAP::OpenAP.new
open_ap.output()
pineap_settings = PineappleMK7::Modules::PineAP::Settings.new
pineap_settings.enablePineAP = (boolean default:true)
pineap_settings.autostartPineAP = (boolean default:true)
pineap_settings.armedPineAP = (boolean default:false)
pineap_settings.ap_channel = (string default:'11')
pineap_settings.karma = (boolean default:false)
pineap_settings.logging = (boolean default:false)
pineap_settings.connect_notifications = (boolean default:false)
pineap_settings.disconnect_notifications = (boolean default:false)
pineap_settings.capture_ssids = (boolean default:false)
pineap_settings.beacon_responses = (boolean default:false)
pineap_settings.broadcast_ssid_pool = (boolean default:false)
pineap_settings.broadcast_ssid_pool_random = (boolean default:false)
pineap_settings.pineap_mac = (string default:system_authentication.mac)
pineap_settings.target_mac = (string default:'FF:FF:FF:FF:FF:FF')
pineap_settings.beacon_response_interval = (string default:'NORMAL')
pineap_settings.beacon_interval = (string default:'NORMAL')
pineap_settings.save()
recon_handshakes = PineappleMK7::Modules::Recon::Handshakes.new
recon_handshakes.start( (object) ap )
recon_handshakes.stop()
recon_handshakes.output()
recon_handshakes.download( (object) handshake, (string) destination )
recon_handshakes.clear()
recon_scanning = PineappleMK7::Modules::Recon::Scanning.new
recon_scanning.start( (integer) scan_time )
recon_scanning.start_continuous( (boolean) autoHandshake )
recon_scanning.stop_continuous()
recon_scanning.output( (integer) scanID )
recon_scanning.tags( (object) ap )
recon_scanning.deauth_ap( (object) ap )
recon_scanning.delete( (integer) scanID )
settings_networking = PineappleMK7::Modules::Settings::Networking.new
settings_networking.interfaces()
settings_networking.client_scan( (string) interface )
settings_networking.client_connect( (object) network, (string) interface )
settings_networking.client_disconnect( (string) interface )
settings_networking.recon_interface( (string) interface )
| TW-D(特別な感謝を @DrSKiZZ, @cribb-it, @barry99705 および @dark_pyrro に捧げます) |
| (edit) ruby ./hak5-pineapple_spotter.rb |
| 搾取 | 作者 | 使用方法 |
|---|
| Evil WPA アクセスポイント | TW-D | (edit) ruby ./evil-wpa_access-point.rb |
| 偽のアクセスポイント | TW-D | (edit) ruby ./fake_access-points.rb |
| 大量ハンドシェイク | TW-D | (edit) ruby ./mass-handshakes.rb |
| 不正アクセスポイント | TW-D | (edit) ruby ./rogue_access-points.rb |
| ツインアクセスポイント | TW-D | (edit) ruby ./twin_access-points.rb |
| 偵察 | 作者 | 使用方法 |
|---|
| 2.4GHzおよび5GHz(対応アダプターあり)のアクセスポイントとクライアント | TW-D | (edit) ruby ./access-points_clients_5ghz.rb |
| アクセスポイントとクライアント | TW-D | (edit) ruby ./access-points_clients.rb |
| アクセスポイントのMACアドレス | TW-D | (edit) ruby ./access-points_mac-addresses.rb |
| アクセスポイントのタグ付きパラメータ | TW-D | (edit) ruby ./access-points_tagged-parameters.rb |
| WiGLEを使用したアクセスポイントと無線ネットワークマッピング | TW-D | (edit) ruby ./access-points_wigle.rb |
| クライアントのMACアドレス | TW-D | (edit) ruby ./clients_mac-addresses.rb |
| OPENアクセスポイント | TW-D | (edit) ruby ./open_access-points.rb |
| WEPアクセスポイント | TW-D | (edit) ruby ./wep_access-points.rb |
| WPAアクセスポイント | TW-D | (edit) ruby ./wpa_access-points.rb |
| WPA2アクセスポイント | TW-D | (edit) ruby ./wpa2_access-points.rb |
| WPA3アクセスポイント | TW-D | (edit) ruby ./wpa3_access-points.rb |
| TW-D |
| (edit) ruby ./continuous-recon.rb [CTRL+c] |