From 0bdab320f7c4d3d38b36a1760dfa1ade0025538a Mon Sep 17 00:00:00 2001 From: Brendan Coles Date: Mon, 12 Nov 2018 12:04:22 +0100 Subject: [PATCH] Remove useless variable declaration Co-Authored-By: carmaa --- modules/exploits/windows/http/hp_imc_java_deserialize.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/exploits/windows/http/hp_imc_java_deserialize.rb b/modules/exploits/windows/http/hp_imc_java_deserialize.rb index 5cadffcc57..4467c62b97 100644 --- a/modules/exploits/windows/http/hp_imc_java_deserialize.rb +++ b/modules/exploits/windows/http/hp_imc_java_deserialize.rb @@ -117,7 +117,7 @@ class MetasploitModule < Msf::Exploit::Remote def gen_payload # Powershell payload - cmd = cmd_psh_payload(payload.encoded, payload_instance.arch.first, {remove_comspec: true, encode_final_payload: true}) + cmd_psh_payload(payload.encoded, payload_instance.arch.first, {remove_comspec: true, encode_final_payload: true}) end end