GSoC/Meterpreter_Web_Console
Wei Chen 2018-07-12 10:11:45 -05:00
parent fd59df83ca
commit faf3adaee2
2 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@ RSpec.describe Metasploit::Framework::Obfuscation::CRandomizer::CodeFactory::Out
expect(subject.send(:outputdebugstring_1)).to match(/void stub()/)
end
it 'depends on stdlib.h' do
it 'depends on OutputDebugString' do
expect(subject.dep).to eq(['OutputDebugString'])
end
end

View File

@ -44,7 +44,7 @@ RSpec.describe Metasploit::Framework::Obfuscation::CRandomizer::RandomStatements
fake_function_name = fake_function.var.name
fake_function_args = fake_function.var.type.args
s = subject.send(:make_func_arg_str, fake_function_args)
expect(s).to match(/(.+)/)
expect(s).to match(/\(.*\)/)
end
end
@ -54,7 +54,7 @@ RSpec.describe Metasploit::Framework::Obfuscation::CRandomizer::RandomStatements
fake_function_name = fake_function.var.name
fake_function_args = fake_function.var.type.args
s = subject.send(:make_func_declare_arg_str, fake_function_args)
expect(s).to match(/(.+)/)
expect(s).to match(/\(.*\)/)
end
end