working on nim shellcode generator
This commit is contained in:
parent
21c01406c5
commit
8646fd6e39
|
@ -63,6 +63,8 @@ module Buffer
|
|||
buf = Rex::Text.encode_base64(buf)
|
||||
when 'go','golang'
|
||||
buf = Rex::Text.to_golang(buf)
|
||||
when 'nim','nimlang'
|
||||
buf = Rex::Text.to_nim(buf)
|
||||
else
|
||||
raise BufferFormatError, "Unsupported buffer format: #{fmt}", caller
|
||||
end
|
||||
|
@ -97,6 +99,8 @@ module Buffer
|
|||
buf = Rex::Text.to_psh_comment(buf)
|
||||
when 'go','golang'
|
||||
buf = Rex::Text.to_golang_comment(buf)
|
||||
when 'nim','nimlang'
|
||||
buf = Rex::Text.to_nim_comment(buf)
|
||||
else
|
||||
raise BufferFormatError, "Unsupported buffer format: #{fmt}", caller
|
||||
end
|
||||
|
@ -122,6 +126,8 @@ module Buffer
|
|||
'java',
|
||||
'js_be',
|
||||
'js_le',
|
||||
'nim',
|
||||
'nimlang',
|
||||
'num',
|
||||
'perl',
|
||||
'pl',
|
||||
|
|
Loading…
Reference in New Issue