/
githubmirror
/
metasploit-framework
Обзор
Документация
Войти
/
githubmirror
/
metasploit-framework
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
lib/msf/core/encoder/alphanum.rb
25 строк
648 B
dwelch-r7
Use zeitwerk for lib/msf/core folder
07 дек 2020, 13:31
07 дек 2020, 13:31
1617b3e
Код
Авторство
О чём код?
# -*- coding: binary -*- module Msf ### # # This class provides common options for certain alphanumeric encoders. # ### class Encoder::Alphanum < Msf::Encoder def initialize(info) super(info) register_options( [ OptString.new('BufferRegister', [ false, 'The register that points to the encoded payload' ]), OptInt.new('BufferOffset', [ false, 'The offset to the buffer from the start of the register', 0 ]), OptBool.new('AllowWin32SEH', [ true, 'Use SEH to determine the address of the stub (Windows only)', false ]) ], Msf::Encoder::Alphanum ) end end end