Disable wrapped table support for the loot command

This commit is contained in:
Alan Foster 2021-05-24 00:37:10 +01:00
parent 0f433cf2ef
commit d12a82eb7d
No known key found for this signature in database
GPG Key ID: 3BD4FA3818818F04
1 changed files with 3 additions and 0 deletions

View File

@ -1271,6 +1271,9 @@ class Db
tbl = Rex::Text::Table.new({
'Header' => "Loot",
'Columns' => [ 'host', 'service', 'type', 'name', 'content', 'info', 'path' ],
# For now, don't perform any word wrapping on the loot table as it breaks the workflow of
# copying paths and pasting them into applications
'WordWrap' => false,
})
# Sentinel value meaning all