metasploit-framework/modules/encoders/x86
James Lee b3b68c1b90 Make stage encoding possible
* Fixes a bug in shikata where input greater than 0xffff length would
  still use 16-bit counter
* Short circuits finding bad xor keys if there are no bad characters to
  avoid
* Fixes huge performance issue with large inputs to xor-based encoders
  due to the use of String#+ instead of String#<< in a loop. It now
  takes ~3 seconds on modern hardware to encode a 750kB buffer with
  shikata where it used to take more than 10 minutes. The decoding side
  takes a similar amount of time and will increase the wait between
  sending the second stage and opening a usable session by several
  seconds.

I believe this addresses the intent of pull request 905

[See #905]
2013-01-13 21:07:39 -06:00
..
alpha_mixed.rb msftidy: Remove $Revision$ 2013-01-04 00:48:10 +01:00
alpha_upper.rb msftidy: Remove $Revision$ 2013-01-04 00:48:10 +01:00
avoid_underscore_tolower.rb msftidy: Remove $Revision$ 2013-01-04 00:48:10 +01:00
avoid_utf8_tolower.rb msftidy: Remove $Revision$ 2013-01-04 00:48:10 +01:00
call4_dword_xor.rb msftidy: Remove $Revision$ 2013-01-04 00:48:10 +01:00
call4_dword_xor.rb.ut.rb msftidy: Remove $Id$ 2013-01-04 00:41:44 +01:00
context_cpuid.rb msftidy: Remove $Revision$ 2013-01-04 00:48:10 +01:00
context_stat.rb msftidy: Remove $Revision$ 2013-01-04 00:48:10 +01:00
context_time.rb msftidy: Remove $Revision$ 2013-01-04 00:48:10 +01:00
countdown.rb msftidy: Remove $Revision$ 2013-01-04 00:48:10 +01:00
countdown.rb.ut.rb msftidy: Remove $Id$ 2013-01-04 00:41:44 +01:00
fnstenv_mov.rb msftidy: Remove $Revision$ 2013-01-04 00:48:10 +01:00
fnstenv_mov.rb.ut.rb msftidy: Remove $Id$ 2013-01-04 00:41:44 +01:00
jmp_call_additive.rb msftidy: Remove $Revision$ 2013-01-04 00:48:10 +01:00
nonalpha.rb msftidy: Remove $Revision$ 2013-01-04 00:48:10 +01:00
nonupper.rb msftidy: Remove $Revision$ 2013-01-04 00:48:10 +01:00
shikata_ga_nai.rb Make stage encoding possible 2013-01-13 21:07:39 -06:00
single_static_bit.rb msftidy: Remove $Revision$ 2013-01-04 00:48:10 +01:00
unicode_mixed.rb msftidy: Remove $Revision$ 2013-01-04 00:48:10 +01:00
unicode_upper.rb msftidy: Remove $Revision$ 2013-01-04 00:48:10 +01:00