/
githubmirror
/
metasploit-framework
Обзор
Документация
Войти
/
githubmirror
/
metasploit-framework
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
modules/auxiliary/scanner/etcd/version.rb
36 строк
1 KB
adfoster-r7
Update module disclosure dates
17 июн 2026, 13:11
17 июн 2026, 13:11
e5e8a65
Код
Авторство
О чём код?
## # This module requires Metasploit: https://metasploit.com/download # Current source: https://github.com/rapid7/metasploit-framework ## class MetasploitModule < Msf::Auxiliary include Msf::Exploit::Remote::HttpClient include Msf::Auxiliary::Report include Msf::Auxiliary::Etcd include Msf::Auxiliary::Scanner def initialize super( 'Name' => 'Etcd Version Scanner', 'Description' => %q( This module connections to etcd API endpoints, typically on 2379/TCP, and attempts to obtain the version of etcd. ), 'References' => [ ['URL', 'https://gcollazo.com/the-security-footgun-in-etcd/'] ], 'Author' => [ 'Giovanni Collazo <hello@gcollazo.com>', # discovery 'Jon Hart <jon_hart@rapid7.com>' # msf module ], 'License' => MSF_LICENSE, 'DisclosureDate' => '2018-03-16' ) end def run_host(_target_host) if (banner = fingerprint_service(target_uri.to_s)) print_good("#{peer}: #{banner}") end end end