Remove unused EOFs
parent
01bfad3489
commit
1347649a47
|
@ -77,10 +77,9 @@ module Exploit::Powershell
|
|||
# Will invoke PSH modifiers as enabled
|
||||
#
|
||||
# @param script_in [String] Script contents
|
||||
# @param eof [String] Marker to indicate the end of file appended to script
|
||||
#
|
||||
# @return [String] Encoded script
|
||||
def encode_script(script_in, eof = nil)
|
||||
def encode_script(script_in)
|
||||
# Build script object
|
||||
psh = PowershellScript.new(script_in)
|
||||
# Invoke enabled modifiers
|
||||
|
|
Loading…
Reference in New Issue