/
githubmirror
/
metasploit-framework
Обзор
Документация
Войти
/
githubmirror
/
metasploit-framework
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
lib/msf/core/session/comm.rb
35 строк
648 B
Ashley Donaldson
Override to TCP when encountering UDP-unfriendly comms
07 ноя 2023, 07:58
Не верифицирован
07 ноя 2023, 07:58
7442655
Код
Авторство
О чём код?
# -*- coding: binary -*- require 'rex/socket' module Msf module Session ### # # This class implements the Rex::Socket::Comm module interface and is capable # of creating network-based connections that are pivoted from the session in # question. # ### module Comm include Rex::Socket::Comm # # Session-based comm classes implement an instance specific method for # creating network-based connections rather than the typical class # specific methods. # def create(param) raise NotImplementedError end # # Does the Comm support sending UDP messages? # def supports_udp? raise NotImplementedError end end end end