temporary fix for nasm/metasm shell tools - see #1723
git-svn-id: file:///home/svn/framework3/trunk@9161 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
d91046c470
commit
7a0e2f11af
|
@ -60,6 +60,7 @@ end
|
|||
# Start a pseudo shell and dispatch lines to be assembled and then
|
||||
# disassembled.
|
||||
shell = Rex::Ui::Text::PseudoShell.new("%bldmetasm%clr")
|
||||
shell.init_ui(Rex::Ui::Text::Input::Stdio.new, Rex::Ui::Text::Output::Stdio.new)
|
||||
|
||||
puts 'type "exit" or "quit" to quit', 'use ";" or "\\n" for newline', ''
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@ end
|
|||
# Start a pseudo shell and dispatch lines to be assembled and then
|
||||
# disassembled.
|
||||
shell = Rex::Ui::Text::PseudoShell.new("%bldnasm%clr")
|
||||
shell.init_ui(Rex::Ui::Text::Input::Stdio.new, Rex::Ui::Text::Output::Stdio.new)
|
||||
|
||||
shell.run { |line|
|
||||
line.gsub!(/(\r|\n)/, '')
|
||||
|
|
Loading…
Reference in New Issue