2005-05-25 05:55:25 +00:00
|
|
|
#!/usr/bin/ruby
|
|
|
|
|
2005-06-09 06:18:27 +00:00
|
|
|
$:.unshift(File.join(File.dirname(__FILE__), '..', '..', '..'))
|
2005-05-25 05:55:25 +00:00
|
|
|
|
2005-07-09 21:57:37 +00:00
|
|
|
require 'rex/encoding/xor/dword_additive'
|
2005-07-09 21:18:49 +00:00
|
|
|
require 'rex/encoding/xor/byte.rb.ut'
|
2005-05-25 05:55:25 +00:00
|
|
|
|
2005-06-08 21:39:12 +00:00
|
|
|
module Rex::Encoding::Xor
|
2005-07-09 21:57:37 +00:00
|
|
|
class DwordAdditive::UnitTest < Byte::UnitTest
|
2005-05-25 05:55:25 +00:00
|
|
|
|
|
|
|
def enc
|
2005-07-09 21:57:37 +00:00
|
|
|
DwordAdditive
|
2005-05-25 05:55:25 +00:00
|
|
|
end
|
|
|
|
end
|
2005-06-08 21:39:12 +00:00
|
|
|
end
|