Fix broken `ps1` and `powershell` transform

This commit is contained in:
James Lee 2019-09-18 12:20:16 -05:00
parent a386b2d503
commit 440c82b3e2
No known key found for this signature in database
GPG Key ID: 2D6094C7CEA0A321
1 changed files with 2 additions and 0 deletions

View File

@ -88,6 +88,8 @@ module Buffer
buf = Rex::Text.to_js_comment(buf)
when 'java'
buf = Rex::Text.to_c_comment(buf)
when 'powershell','ps1'
buf = Rex::Text.to_psh_comment(buf)
else
raise BufferFormatError, "Unsupported buffer format: #{fmt}", caller
end