/
githubmirror
/
metasploit-framework
Обзор
Документация
Войти
/
githubmirror
/
metasploit-framework
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
lib/msf/base/sessions/create_session_options.rb
25 строк
594 B
cgranleese-r7
Fixes the create session datastore option from appearing for payloads
22 фев 2024, 17:58
22 фев 2024, 17:58
d52220c
Код
Авторство
О чём код?
# -*- coding: binary -*- ## # This file is part of the Metasploit Framework and may be subject to # redistribution and commercial restrictions. Please see the Metasploit # Framework web site for more information on licensing and terms of use. # https://metasploit.com/framework/ ## module Msf module Sessions module CreateSessionOptions def initialize(info = {}) super(info) register_options( [ OptBool.new('CreateSession', [false, 'Create a new session for every successful login', true]) ] ) end end end end