From c8740a1b0f3aec337ef7fe3e19c4d12047a8787b Mon Sep 17 00:00:00 2001 From: pasta Date: Tue, 30 Oct 2018 15:09:39 -0300 Subject: [PATCH] deleted spaces at EOL --- modules/payloads/singles/windows/x64/messagebox.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/payloads/singles/windows/x64/messagebox.rb b/modules/payloads/singles/windows/x64/messagebox.rb index f149b2bc10..5a434a701f 100644 --- a/modules/payloads/singles/windows/x64/messagebox.rb +++ b/modules/payloads/singles/windows/x64/messagebox.rb @@ -80,7 +80,7 @@ module MetasploitModule mov r10d, #{api_hash("kernel32.dll", "GetVersion")} call rbp add rsp,0x28 - cmp al,0x6 + cmp al,0x6 jl use_exitthread ; is older than Vista or Server 2003 R2? cmp bl,0xe0 ; check if GetVersion change the hash stored in EBX jne use_exitthread @@ -191,7 +191,7 @@ module MetasploitModule payload_data << exitfunc payload_data << datastore['TEXT'] + "\x00" payload_data << datastore['TITLE'] + "\x00" - + return payload_data end