From a3c7ac830f56a4b6c68f8a443d7eee180d51899c Mon Sep 17 00:00:00 2001 From: Pedro Ribeiro Date: Tue, 29 May 2018 18:40:50 +0300 Subject: [PATCH] Fix typo in rand --- modules/exploits/linux/http/ibm_qradar_unauth_rce.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/exploits/linux/http/ibm_qradar_unauth_rce.rb b/modules/exploits/linux/http/ibm_qradar_unauth_rce.rb index 336b1c3711..fb9e17fbf1 100644 --- a/modules/exploits/linux/http/ibm_qradar_unauth_rce.rb +++ b/modules/exploits/linux/http/ibm_qradar_unauth_rce.rb @@ -108,7 +108,7 @@ class MetasploitModule < Msf::Exploit::Remote @sec_cookie = SecureRandom.uuid @csrf_cookie = SecureRandom.uuid - post_data = "#{rand_text_alpha(5..12)},#{rand_text_alpha(rand(5..12)}," + + post_data = "#{rand_text_alpha(5..12)},#{rand_text_alpha(5..12)}," + "#{@sec_cookie},#{@csrf_cookie}" res = send_request_cgi({