/
githubmirror
/
metasploit-framework
Обзор
Документация
Войти
/
githubmirror
/
metasploit-framework
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
lib/msf/core/payload/netware.rb
33 строки
692 B
dwelch-r7
Use zeitwerk for lib/msf/core folder
07 дек 2020, 13:31
07 дек 2020, 13:31
1617b3e
Код
Авторство
О чём код?
# -*- coding: binary -*- ### # # This class is here to implement advanced features for netware-based # payloads. NetWare payloads are expected to include this module if # they want to support these features. # ### module Msf::Payload::Netware def initialize(info = {}) ret = super(info) end # # Returns a list of compatible encoders based on architecture # fnstenv does not work on NetWare # def compatible_encoders encoders = super() encoders2 = [] encoders.each { |encname, encmod| if (!encname.include?('fnstenv_mov') && !encname.include?('shikata_ga_nai')) encoders2 << [ encname, encmod ] end } return encoders2; end end