2005-12-17 06:46:23 +00:00
|
|
|
#!/usr/bin/env ruby
|
2005-05-24 03:58:47 +00:00
|
|
|
|
2005-06-09 06:18:27 +00:00
|
|
|
$:.unshift(File.join(File.dirname(__FILE__), '..', '..', '..'))
|
2005-05-24 03:58:47 +00:00
|
|
|
|
2005-07-09 21:18:49 +00:00
|
|
|
require 'rex/encoding/xor/byte'
|
|
|
|
require 'rex/encoding/xor/generic.rb.ut'
|
2005-05-24 03:58:47 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# I suck because I want to inherit a test case, but this will
|
|
|
|
# also cause it to run the test case I'm inheriting, so this runs both the
|
|
|
|
# Byte and Generic tests, oh well for now...
|
|
|
|
#
|
|
|
|
|
2005-06-08 21:39:12 +00:00
|
|
|
module Rex::Encoding::Xor
|
|
|
|
class Byte::UnitTest < Generic::UnitTest
|
2005-05-24 03:58:47 +00:00
|
|
|
|
|
|
|
def enc
|
2005-06-08 21:39:12 +00:00
|
|
|
Byte
|
2005-05-24 03:58:47 +00:00
|
|
|
end
|
|
|
|
end
|
2008-10-19 21:03:39 +00:00
|
|
|
end
|