Module: Rex

Defined in:
lib/rex/encoding/xor.rb,
lib/rex/poly.rb,
lib/rex/encoder.rb,
lib/rex/poly/block.rb,
lib/rex/encoder/ndr.rb,
lib/rex/encoder/xdr.rb,
lib/rex/encoder/xor.rb,
lib/rex/poly/machine.rb,
lib/rex/poly/register.rb,
lib/rex/encoder/alpha2.rb,
lib/rex/encoder/version.rb,
lib/rex/encoder/nonalpha.rb,
lib/rex/encoder/nonupper.rb,
lib/rex/poly/machine/x86.rb,
lib/rex/encoding/xor/byte.rb,
lib/rex/encoding/xor/word.rb,
lib/rex/poly/register/x86.rb,
lib/rex/encoding/xor/dword.rb,
lib/rex/encoding/xor/qword.rb,
lib/rex/encoding/xor/generic.rb,
lib/rex/poly/machine/machine.rb,
lib/rex/encoder/bloxor/bloxor.rb,
lib/rex/encoder/alpha2/generic.rb,
lib/rex/encoding/xor/exceptions.rb,
lib/rex/encoder/alpha2/alpha_mixed.rb,
lib/rex/encoder/alpha2/alpha_upper.rb,
lib/rex/encoding/xor/dword_additive.rb,
lib/rex/encoder/alpha2/unicode_mixed.rb,
lib/rex/encoder/alpha2/unicode_upper.rb

Overview

Routine for xor encoding a buffer by a 2-byte (intel word) key. The perl version used to pad this buffer out to a 2-byte boundary, but I can’t think of a good reason to do that anymore, so this doesn’t.

Defined Under Namespace

Modules: Encoder, Encoding, Poly