From c833888c32f7b294d3960d995654b262cca6c35f Mon Sep 17 00:00:00 2001 From: jvazquez-r7 Date: Wed, 5 Nov 2014 15:53:06 -0600 Subject: [PATCH] Just randomize --- lib/msf/core/payload/jsp.rb | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/lib/msf/core/payload/jsp.rb b/lib/msf/core/payload/jsp.rb index f081252590..82c127da99 100644 --- a/lib/msf/core/payload/jsp.rb +++ b/lib/msf/core/payload/jsp.rb @@ -28,13 +28,6 @@ module Msf::Payload::JSP var_in = Rex::Text.rand_text_alpha_lower(2) var_out = Rex::Text.rand_text_alpha_lower(3) - # The 'out' name variable can cause conflicts - # when compiling the JSP under Tomcat with the - # JASPER engine - while var_out == 'out' - var_out = Rex::Text.rand_text_alpha_lower(3) - end - jsp = <<-EOS <%@page import="java.lang.*"%> <%@page import="java.util.*"%> @@ -106,13 +99,6 @@ module Msf::Payload::JSP var_in = Rex::Text.rand_text_alpha_lower(2) var_out = Rex::Text.rand_text_alpha_lower(3) - # The 'out' name variable can cause conflicts - # when compiling the JSP under Tomcat with the - # JASPER engine - while var_out == 'out' - var_out = Rex::Text.rand_text_alpha_lower(3) - end - jsp = <<-EOS <%@page import="java.lang.*"%> <%@page import="java.util.*"%>