Skip to main content
formatting
Source Link
schroeder
  • 132.2k
  • 55
  • 307
  • 348

yes 'multi_console_command.rb'multi_console_command.rb (by darkoperator)
uses uses the meterpreter APi cmd_exec()cmd_exec() to execute a list of commands ..

theThe metasploit apiAPI that allowallows us to use the shell interpreter is:
session.shell_command()
session.shell_command()

1º optionOption 1: build your own 'multi_console_command.rb'multi_console_command.rb module with session.shell_command() apisession.shell_command() API
2º optionOption 2: build one resource file with those post-exploitation commands


here you have my metasploit api cheat sheet list: https://github.com/r00t-3xp10it/hacking-material-books/blob/master/metasploit-RC%5BERB%5D/metasploit-API/my-API-Cheat-sheet.md
here you have my metasploit resource files cheat sheet:

My metasploit API cheat sheet list: https://github.com/r00t-3xp10it/hacking-material-books/blob/master/metasploit-RC%5BERB%5D/metasploit-API/my-API-Cheat-sheet.md

https://github.com/r00t-3xp10it/hacking-material-books/blob/master/metasploit-RC%5BERB%5D/metasploit_resource_files.md

My metasploit resource files cheat sheet: https://github.com/r00t-3xp10it/hacking-material-books/blob/master/metasploit-RC%5BERB%5D/metasploit_resource_files.md

yes 'multi_console_command.rb' (by darkoperator)
uses the meterpreter APi cmd_exec() to execute a list of commands ..

the metasploit api that allow us to use the shell interpreter is:
session.shell_command()

1º option: build your own 'multi_console_command.rb' module with session.shell_command() api
2º option: build one resource file with those post-exploitation commands


here you have my metasploit api cheat sheet list: https://github.com/r00t-3xp10it/hacking-material-books/blob/master/metasploit-RC%5BERB%5D/metasploit-API/my-API-Cheat-sheet.md
here you have my metasploit resource files cheat sheet: https://github.com/r00t-3xp10it/hacking-material-books/blob/master/metasploit-RC%5BERB%5D/metasploit_resource_files.md

multi_console_command.rb (by darkoperator) uses the meterpreter APi cmd_exec() to execute a list of commands.

The metasploit API that allows us to use the shell interpreter is: session.shell_command()

Option 1: build your own multi_console_command.rb module with session.shell_command() API
Option 2: build one resource file with those post-exploitation commands

My metasploit API cheat sheet list: https://github.com/r00t-3xp10it/hacking-material-books/blob/master/metasploit-RC%5BERB%5D/metasploit-API/my-API-Cheat-sheet.md

My metasploit resource files cheat sheet: https://github.com/r00t-3xp10it/hacking-material-books/blob/master/metasploit-RC%5BERB%5D/metasploit_resource_files.md

Source Link

yes 'multi_console_command.rb' (by darkoperator)
uses the meterpreter APi cmd_exec() to execute a list of commands ..

the metasploit api that allow us to use the shell interpreter is:
session.shell_command()

1º option: build your own 'multi_console_command.rb' module with session.shell_command() api
2º option: build one resource file with those post-exploitation commands


here you have my metasploit api cheat sheet list: https://github.com/r00t-3xp10it/hacking-material-books/blob/master/metasploit-RC%5BERB%5D/metasploit-API/my-API-Cheat-sheet.md
here you have my metasploit resource files cheat sheet: https://github.com/r00t-3xp10it/hacking-material-books/blob/master/metasploit-RC%5BERB%5D/metasploit_resource_files.md