/
githubmirror
/
metasploit-framework
Обзор
Документация
Войти
/
githubmirror
/
metasploit-framework
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
lib/msf/core/exploit/local.rb
25 строк
566 B
Christophe De La Fuente
Remove the `job_listener:` kwarg in `run_simple`, `exploit_simple` and `check_simple`
24 июл 2026, 20:24
Не верифицирован
24 июл 2026, 20:24
f2141a6
Код
Авторство
О чём код?
# -*- coding: binary -*- ### # # A specialization of the {Exploit exploit module class} that is geared # toward exploits that are performed locally. Locally, in this case, # is defined as an exploit that is realized by means other than # network communication. # ### class Msf::Exploit::Local < Msf::Exploit include Msf::PostMixin # # Returns the fact that this exploit is a local exploit. # def exploit_type Msf::Exploit::Type::Local end def run_simple(opts = {}, &block) Msf::Simple::Exploit.exploit_simple(self, opts, &block) end end