Skip to content

Commit 4c41319

Browse files
committed
Remove unused vars
1 parent bef4539 commit 4c41319

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

modules/exploits/multi/http/manageengine_search_sqli.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,6 @@ def on_new_session(cli)
8989
# Embeds our executable in JSP
9090
#
9191
def generate_jsp_payload
92-
my_host = (datastore['SRVHOST'] == '0.0.0.0') ? Rex::Socket.source_address("50.50.50.50") : datastore['SRVHOST']
93-
my_port = datastore['SRVPORT']
94-
9592
native_payload = Rex::Text.encode_base64(generate_payload_exe)
9693
native_payload_name = Rex::Text.rand_text_alpha(rand(6)+3)
9794
ext = (target['Platform'] == 'win') ? '.exe' : '.bin'

0 commit comments

Comments
 (0)