From 0d2a30eab7df0dce9df117bcf6a0e2125d7f4691 Mon Sep 17 00:00:00 2001 From: Wade Alcorn Date: Fri, 20 Jan 2012 21:33:19 +1000 Subject: [PATCH] Added vnc obfuscation test stub for issue #587 --- test/unit/core/tc_obfuscation.rb | 29 +++++++++++++++++++++++++++++ test/unit/ts_unit.rb | 2 ++ 2 files changed, 31 insertions(+) create mode 100644 test/unit/core/tc_obfuscation.rb diff --git a/test/unit/core/tc_obfuscation.rb b/test/unit/core/tc_obfuscation.rb new file mode 100644 index 000000000..52579b595 --- /dev/null +++ b/test/unit/core/tc_obfuscation.rb @@ -0,0 +1,29 @@ +# +# Copyright 2012 Wade Alcorn wade@bindshell.net +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +require 'test/unit' + +class TC_Obfuscation < Test::Unit::TestCase + + def setup + $:.unshift(File.join(File.expand_path(File.dirname(__FILE__)), '.')) + $root_dir = File.expand_path('../../../../', __FILE__) + end + + def test_obfuscation + assert(true) + end + +end diff --git a/test/unit/ts_unit.rb b/test/unit/ts_unit.rb index 40d8177c7..859433f4f 100644 --- a/test/unit/ts_unit.rb +++ b/test/unit/ts_unit.rb @@ -25,6 +25,7 @@ require './core/tc_api' require './core/tc_modules' require './core/tc_social_engineering' require './core/tc_autorun' +require './core/tc_obfuscation' require './extensions/tc_xssrays' require './extensions/tc_vnc' require './tc_grep' @@ -45,6 +46,7 @@ class TS_BeefTests suite << TC_Autorun.suite suite << TC_Xssrays.suite suite << TC_Vnc.suite + suite << TC_Obfuscation.suite return suite end