Don't use parenthesis around pgets

MS-2855/keylogger-mettle-extension
Spencer McIntyre 2018-02-07 15:53:11 -05:00
parent 0ad7d10e05
commit 214c137b4a
2 changed files with 3 additions and 3 deletions

View File

@ -88,7 +88,7 @@ begin
# down other background threads. This is important when there are many active
# background jobs, such as when the user is running Karmetasploit
#
def pgets()
def pgets
line = nil
orig = Thread.current.priority

View File

@ -22,7 +22,7 @@ module Shell
module InputShell
attr_accessor :prompt, :output
def pgets()
def pgets
output.print(prompt)
output.flush
@ -370,7 +370,7 @@ protected
end
output.input = input
line << input.pgets()
line << input.pgets
output.input = nil
log_output(input.prompt)
end