don't bother handholding the empty string

GSoC/Meterpreter_Web_Console
Brent Cook 2018-12-19 10:52:51 -06:00
parent 0ce05f0c07
commit 09f9b887b9
1 changed files with 1 additions and 1 deletions

View File

@ -275,7 +275,7 @@ module Payload::Windows::ReverseHttp
push ebx ; DWORD dwAccessType (PRECONFIG = 0)
^
end
if opts[:ua].to_s.empty?
if opts[:ua].nil?
asm << %Q^
push ebx ; LPCTSTR lpszAgent (NULL)
^