Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
metasploit-framework
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
disrupttheflow
metasploit-framework
Commits
eb73a691
Unverified
Commit
eb73a691
authored
Aug 10, 2016
by
David Maloney
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
replace old rex::ui::text::table refs
everywhere we called the class we have now rewritten it to use the new namespace MS-1875
parent
3f530f18
Changes
140
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
140 changed files
with
248 additions
and
248 deletions
+248
-248
lib/msf/base/serializer/readable_text.rb
lib/msf/base/serializer/readable_text.rb
+11
-11
lib/msf/core/exploit/browser_autopwn2.rb
lib/msf/core/exploit/browser_autopwn2.rb
+2
-2
lib/msf/core/exploit/mssql.rb
lib/msf/core/exploit/mssql.rb
+1
-1
lib/msf/core/exploit/postgres.rb
lib/msf/core/exploit/postgres.rb
+2
-2
lib/msf/core/exploit/winrm.rb
lib/msf/core/exploit/winrm.rb
+1
-1
lib/msf/ui/console/command_dispatcher/db.rb
lib/msf/ui/console/command_dispatcher/db.rb
+5
-5
lib/msf/ui/console/table.rb
lib/msf/ui/console/table.rb
+1
-1
lib/rex/parser/group_policy_preferences.rb
lib/rex/parser/group_policy_preferences.rb
+1
-1
lib/rex/parser/unattend.rb
lib/rex/parser/unattend.rb
+1
-1
lib/rex/pescan/analyze.rb
lib/rex/pescan/analyze.rb
+1
-1
lib/rex/post/meterpreter/extensions/stdapi/sys/process.rb
lib/rex/post/meterpreter/extensions/stdapi/sys/process.rb
+4
-4
lib/rex/post/meterpreter/ui/console/command_dispatcher/android.rb
...post/meterpreter/ui/console/command_dispatcher/android.rb
+2
-2
lib/rex/post/meterpreter/ui/console/command_dispatcher/core.rb
...ex/post/meterpreter/ui/console/command_dispatcher/core.rb
+2
-2
lib/rex/post/meterpreter/ui/console/command_dispatcher/extapi/adsi.rb
.../meterpreter/ui/console/command_dispatcher/extapi/adsi.rb
+1
-1
lib/rex/post/meterpreter/ui/console/command_dispatcher/extapi/service.rb
...terpreter/ui/console/command_dispatcher/extapi/service.rb
+1
-1
lib/rex/post/meterpreter/ui/console/command_dispatcher/extapi/window.rb
...eterpreter/ui/console/command_dispatcher/extapi/window.rb
+1
-1
lib/rex/post/meterpreter/ui/console/command_dispatcher/extapi/wmi.rb
...t/meterpreter/ui/console/command_dispatcher/extapi/wmi.rb
+1
-1
lib/rex/post/meterpreter/ui/console/command_dispatcher/kiwi.rb
...ex/post/meterpreter/ui/console/command_dispatcher/kiwi.rb
+3
-3
lib/rex/post/meterpreter/ui/console/command_dispatcher/lanattacks/dhcp.rb
...erpreter/ui/console/command_dispatcher/lanattacks/dhcp.rb
+1
-1
lib/rex/post/meterpreter/ui/console/command_dispatcher/mimikatz.rb
...ost/meterpreter/ui/console/command_dispatcher/mimikatz.rb
+1
-1
lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/fs.rb
...st/meterpreter/ui/console/command_dispatcher/stdapi/fs.rb
+2
-2
lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/net.rb
...t/meterpreter/ui/console/command_dispatcher/stdapi/net.rb
+6
-6
lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/sys.rb
...t/meterpreter/ui/console/command_dispatcher/stdapi/sys.rb
+1
-1
lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/ui.rb
...st/meterpreter/ui/console/command_dispatcher/stdapi/ui.rb
+1
-1
lib/rex/ropbuilder/rop.rb
lib/rex/ropbuilder/rop.rb
+1
-1
lib/rex/sslscan/result.rb
lib/rex/sslscan/result.rb
+1
-1
modules/auxiliary/admin/http/webnms_cred_disclosure.rb
modules/auxiliary/admin/http/webnms_cred_disclosure.rb
+1
-1
modules/auxiliary/admin/mssql/mssql_enum_domain_accounts.rb
modules/auxiliary/admin/mssql/mssql_enum_domain_accounts.rb
+1
-1
modules/auxiliary/admin/mssql/mssql_enum_domain_accounts_sqli.rb
.../auxiliary/admin/mssql/mssql_enum_domain_accounts_sqli.rb
+1
-1
modules/auxiliary/admin/mssql/mssql_findandsampledata.rb
modules/auxiliary/admin/mssql/mssql_findandsampledata.rb
+1
-1
modules/auxiliary/admin/scada/advantech_webaccess_dbvisitor_sqli.rb
...xiliary/admin/scada/advantech_webaccess_dbvisitor_sqli.rb
+1
-1
modules/auxiliary/admin/scada/modicon_password_recovery.rb
modules/auxiliary/admin/scada/modicon_password_recovery.rb
+1
-1
modules/auxiliary/admin/smb/list_directory.rb
modules/auxiliary/admin/smb/list_directory.rb
+1
-1
modules/auxiliary/gather/chromecast_wifi.rb
modules/auxiliary/gather/chromecast_wifi.rb
+1
-1
modules/auxiliary/gather/d20pass.rb
modules/auxiliary/gather/d20pass.rb
+1
-1
modules/auxiliary/gather/doliwamp_traversal_creds.rb
modules/auxiliary/gather/doliwamp_traversal_creds.rb
+1
-1
modules/auxiliary/gather/eaton_nsm_creds.rb
modules/auxiliary/gather/eaton_nsm_creds.rb
+1
-1
modules/auxiliary/gather/eventlog_cred_disclosure.rb
modules/auxiliary/gather/eventlog_cred_disclosure.rb
+1
-1
modules/auxiliary/gather/hp_snac_domain_creds.rb
modules/auxiliary/gather/hp_snac_domain_creds.rb
+1
-1
modules/auxiliary/gather/memcached_extractor.rb
modules/auxiliary/gather/memcached_extractor.rb
+1
-1
modules/auxiliary/gather/shodan_search.rb
modules/auxiliary/gather/shodan_search.rb
+1
-1
modules/auxiliary/gather/vbulletin_vote_sqli.rb
modules/auxiliary/gather/vbulletin_vote_sqli.rb
+1
-1
modules/auxiliary/scanner/dcerpc/windows_deployment_services.rb
...s/auxiliary/scanner/dcerpc/windows_deployment_services.rb
+1
-1
modules/auxiliary/scanner/http/jboss_status.rb
modules/auxiliary/scanner/http/jboss_status.rb
+1
-1
modules/auxiliary/scanner/http/manageengine_deviceexpert_user_creds.rb
...iary/scanner/http/manageengine_deviceexpert_user_creds.rb
+1
-1
modules/auxiliary/scanner/misc/dahua_dvr_auth_bypass.rb
modules/auxiliary/scanner/misc/dahua_dvr_auth_bypass.rb
+4
-4
modules/auxiliary/scanner/misc/sunrpc_portmapper.rb
modules/auxiliary/scanner/misc/sunrpc_portmapper.rb
+1
-1
modules/auxiliary/scanner/mssql/mssql_hashdump.rb
modules/auxiliary/scanner/mssql/mssql_hashdump.rb
+1
-1
modules/auxiliary/scanner/mysql/mysql_authbypass_hashdump.rb
modules/auxiliary/scanner/mysql/mysql_authbypass_hashdump.rb
+1
-1
modules/auxiliary/scanner/oracle/oracle_hashdump.rb
modules/auxiliary/scanner/oracle/oracle_hashdump.rb
+1
-1
modules/auxiliary/scanner/postgres/postgres_hashdump.rb
modules/auxiliary/scanner/postgres/postgres_hashdump.rb
+1
-1
modules/auxiliary/scanner/smb/smb_enumshares.rb
modules/auxiliary/scanner/smb/smb_enumshares.rb
+2
-2
modules/auxiliary/scanner/vmware/vmware_enum_permissions.rb
modules/auxiliary/scanner/vmware/vmware_enum_permissions.rb
+1
-1
modules/auxiliary/scanner/vmware/vmware_enum_users.rb
modules/auxiliary/scanner/vmware/vmware_enum_users.rb
+4
-4
modules/exploits/windows/mssql/mssql_linkcrawler.rb
modules/exploits/windows/mssql/mssql_linkcrawler.rb
+1
-1
modules/post/linux/gather/enum_psk.rb
modules/post/linux/gather/enum_psk.rb
+1
-1
modules/post/linux/gather/mount_cifs_creds.rb
modules/post/linux/gather/mount_cifs_creds.rb
+1
-1
modules/post/linux/gather/pptpd_chap_secrets.rb
modules/post/linux/gather/pptpd_chap_secrets.rb
+1
-1
modules/post/multi/gather/check_malware.rb
modules/post/multi/gather/check_malware.rb
+1
-1
modules/post/multi/gather/dbvis_enum.rb
modules/post/multi/gather/dbvis_enum.rb
+2
-2
modules/post/multi/gather/fetchmailrc_creds.rb
modules/post/multi/gather/fetchmailrc_creds.rb
+1
-1
modules/post/multi/gather/firefox_creds.rb
modules/post/multi/gather/firefox_creds.rb
+1
-1
modules/post/multi/gather/lastpass_creds.rb
modules/post/multi/gather/lastpass_creds.rb
+2
-2
modules/post/multi/gather/netrc_creds.rb
modules/post/multi/gather/netrc_creds.rb
+1
-1
modules/post/multi/gather/pgpass_creds.rb
modules/post/multi/gather/pgpass_creds.rb
+1
-1
modules/post/multi/gather/pidgin_cred.rb
modules/post/multi/gather/pidgin_cred.rb
+2
-2
modules/post/multi/gather/remmina_creds.rb
modules/post/multi/gather/remmina_creds.rb
+1
-1
modules/post/multi/gather/resolve_hosts.rb
modules/post/multi/gather/resolve_hosts.rb
+1
-1
modules/post/multi/gather/rsyncd_creds.rb
modules/post/multi/gather/rsyncd_creds.rb
+1
-1
modules/post/multi/gather/thunderbird_creds.rb
modules/post/multi/gather/thunderbird_creds.rb
+1
-1
modules/post/osx/gather/safari_lastsession.rb
modules/post/osx/gather/safari_lastsession.rb
+1
-1
modules/post/windows/gather/cachedump.rb
modules/post/windows/gather/cachedump.rb
+1
-1
modules/post/windows/gather/credentials/bulletproof_ftp.rb
modules/post/windows/gather/credentials/bulletproof_ftp.rb
+1
-1
modules/post/windows/gather/credentials/dyndns.rb
modules/post/windows/gather/credentials/dyndns.rb
+2
-2
modules/post/windows/gather/credentials/enum_laps.rb
modules/post/windows/gather/credentials/enum_laps.rb
+2
-2
modules/post/windows/gather/credentials/enum_picasa_pwds.rb
modules/post/windows/gather/credentials/enum_picasa_pwds.rb
+1
-1
modules/post/windows/gather/credentials/filezilla_server.rb
modules/post/windows/gather/credentials/filezilla_server.rb
+4
-4
modules/post/windows/gather/credentials/idm.rb
modules/post/windows/gather/credentials/idm.rb
+1
-1
modules/post/windows/gather/credentials/imail.rb
modules/post/windows/gather/credentials/imail.rb
+1
-1
modules/post/windows/gather/credentials/imvu.rb
modules/post/windows/gather/credentials/imvu.rb
+1
-1
modules/post/windows/gather/credentials/meebo.rb
modules/post/windows/gather/credentials/meebo.rb
+1
-1
modules/post/windows/gather/credentials/nimbuzz.rb
modules/post/windows/gather/credentials/nimbuzz.rb
+1
-1
modules/post/windows/gather/credentials/razorsql.rb
modules/post/windows/gather/credentials/razorsql.rb
+1
-1
modules/post/windows/gather/credentials/sso.rb
modules/post/windows/gather/credentials/sso.rb
+1
-1
modules/post/windows/gather/credentials/trillian.rb
modules/post/windows/gather/credentials/trillian.rb
+1
-1
modules/post/windows/gather/dnscache_dump.rb
modules/post/windows/gather/dnscache_dump.rb
+1
-1
modules/post/windows/gather/enum_ad_bitlocker.rb
modules/post/windows/gather/enum_ad_bitlocker.rb
+1
-1
modules/post/windows/gather/enum_ad_computers.rb
modules/post/windows/gather/enum_ad_computers.rb
+1
-1
modules/post/windows/gather/enum_ad_groups.rb
modules/post/windows/gather/enum_ad_groups.rb
+2
-2
modules/post/windows/gather/enum_ad_managedby_groups.rb
modules/post/windows/gather/enum_ad_managedby_groups.rb
+1
-1
modules/post/windows/gather/enum_ad_service_principal_names.rb
...es/post/windows/gather/enum_ad_service_principal_names.rb
+1
-1
modules/post/windows/gather/enum_ad_user_comments.rb
modules/post/windows/gather/enum_ad_user_comments.rb
+1
-1
modules/post/windows/gather/enum_ad_users.rb
modules/post/windows/gather/enum_ad_users.rb
+2
-2
modules/post/windows/gather/enum_applications.rb
modules/post/windows/gather/enum_applications.rb
+1
-1
modules/post/windows/gather/enum_av_excluded.rb
modules/post/windows/gather/enum_av_excluded.rb
+1
-1
modules/post/windows/gather/enum_chrome.rb
modules/post/windows/gather/enum_chrome.rb
+1
-1
modules/post/windows/gather/enum_computers.rb
modules/post/windows/gather/enum_computers.rb
+1
-1
modules/post/windows/gather/enum_db.rb
modules/post/windows/gather/enum_db.rb
+1
-1
modules/post/windows/gather/enum_devices.rb
modules/post/windows/gather/enum_devices.rb
+1
-1
modules/post/windows/gather/enum_domain_tokens.rb
modules/post/windows/gather/enum_domain_tokens.rb
+3
-3
modules/post/windows/gather/enum_ie.rb
modules/post/windows/gather/enum_ie.rb
+3
-3
modules/post/windows/gather/enum_logged_on_users.rb
modules/post/windows/gather/enum_logged_on_users.rb
+2
-2
modules/post/windows/gather/enum_ms_product_keys.rb
modules/post/windows/gather/enum_ms_product_keys.rb
+1
-1
modules/post/windows/gather/enum_muicache.rb
modules/post/windows/gather/enum_muicache.rb
+1
-1
modules/post/windows/gather/enum_prefetch.rb
modules/post/windows/gather/enum_prefetch.rb
+1
-1
modules/post/windows/gather/enum_putty_saved_sessions.rb
modules/post/windows/gather/enum_putty_saved_sessions.rb
+3
-3
modules/post/windows/gather/enum_services.rb
modules/post/windows/gather/enum_services.rb
+1
-1
modules/post/windows/gather/enum_snmp.rb
modules/post/windows/gather/enum_snmp.rb
+1
-1
modules/post/windows/gather/enum_tokens.rb
modules/post/windows/gather/enum_tokens.rb
+1
-1
modules/post/windows/gather/enum_tomcat.rb
modules/post/windows/gather/enum_tomcat.rb
+2
-2
modules/post/windows/gather/make_csv_orgchart.rb
modules/post/windows/gather/make_csv_orgchart.rb
+1
-1
modules/post/windows/gather/tcpnetstat.rb
modules/post/windows/gather/tcpnetstat.rb
+1
-1
modules/post/windows/gather/win_privs.rb
modules/post/windows/gather/win_privs.rb
+2
-2
modules/post/windows/manage/portproxy.rb
modules/post/windows/manage/portproxy.rb
+1
-1
modules/post/windows/manage/vss_list.rb
modules/post/windows/manage/vss_list.rb
+1
-1
modules/post/windows/manage/vss_storage.rb
modules/post/windows/manage/vss_storage.rb
+1
-1
modules/post/windows/manage/webcam.rb
modules/post/windows/manage/webcam.rb
+1
-1
modules/post/windows/recon/computer_browser_discovery.rb
modules/post/windows/recon/computer_browser_discovery.rb
+1
-1
msfvenom
msfvenom
+3
-3
plugins/alias.rb
plugins/alias.rb
+1
-1
plugins/lab.rb
plugins/lab.rb
+2
-2
plugins/nessus.rb
plugins/nessus.rb
+22
-22
plugins/openvas.rb
plugins/openvas.rb
+5
-5
plugins/sqlmap.rb
plugins/sqlmap.rb
+1
-1
plugins/wiki.rb
plugins/wiki.rb
+19
-19
plugins/wmap.rb
plugins/wmap.rb
+5
-5
scripts/meterpreter/enum_logged_on_users.rb
scripts/meterpreter/enum_logged_on_users.rb
+2
-2
scripts/meterpreter/event_manager.rb
scripts/meterpreter/event_manager.rb
+1
-1
scripts/meterpreter/get_application_list.rb
scripts/meterpreter/get_application_list.rb
+1
-1
scripts/meterpreter/get_env.rb
scripts/meterpreter/get_env.rb
+1
-1
test/tests/test_encoders.rb
test/tests/test_encoders.rb
+1
-1
tools/exploit/reg.rb
tools/exploit/reg.rb
+2
-2
tools/exploit/virustotal.rb
tools/exploit/virustotal.rb
+1
-1
tools/modules/module_author.rb
tools/modules/module_author.rb
+2
-2
tools/modules/module_disclodate.rb
tools/modules/module_disclodate.rb
+1
-1
tools/modules/module_license.rb
tools/modules/module_license.rb
+1
-1
tools/modules/module_rank.rb
tools/modules/module_rank.rb
+1
-1
tools/modules/module_reference.rb
tools/modules/module_reference.rb
+1
-1
tools/modules/module_targets.rb
tools/modules/module_targets.rb
+1
-1
tools/modules/payload_lengths.rb
tools/modules/payload_lengths.rb
+1
-1
No files found.
lib/msf/base/serializer/readable_text.rb
View file @
eb73a691
...
...
@@ -46,7 +46,7 @@ class ReadableText
# @param h [String] the string to display as the table heading.
# @return [String] the string form of the table.
def
self
.
dump_exploit_targets
(
mod
,
indent
=
''
,
h
=
nil
)
tbl
=
Rex
::
Ui
::
Text
::
Table
.
new
(
tbl
=
Rex
::
Text
::
Table
.
new
(
'Indent'
=>
indent
.
length
,
'Header'
=>
h
,
'Columns'
=>
...
...
@@ -70,7 +70,7 @@ class ReadableText
# @param h [String] the string to display as the table heading.
# @return [String] the string form of the table.
def
self
.
dump_exploit_target
(
mod
,
indent
=
''
,
h
=
nil
)
tbl
=
Rex
::
Ui
::
Text
::
Table
.
new
(
tbl
=
Rex
::
Text
::
Table
.
new
(
'Indent'
=>
indent
.
length
,
'Header'
=>
h
,
'Columns'
=>
...
...
@@ -92,7 +92,7 @@ class ReadableText
# @param h [String] the string to display as the table heading.
# @return [String] the string form of the table.
def
self
.
dump_module_actions
(
mod
,
indent
=
''
,
h
=
nil
)
tbl
=
Rex
::
Ui
::
Text
::
Table
.
new
(
tbl
=
Rex
::
Text
::
Table
.
new
(
'Indent'
=>
indent
.
length
,
'Header'
=>
h
,
'Columns'
=>
...
...
@@ -116,7 +116,7 @@ class ReadableText
# @param h [String] the string to display as the table heading.
# @return [String] the string form of the table.
def
self
.
dump_module_action
(
mod
,
indent
=
''
,
h
=
nil
)
tbl
=
Rex
::
Ui
::
Text
::
Table
.
new
(
tbl
=
Rex
::
Text
::
Table
.
new
(
'Indent'
=>
indent
.
length
,
'Header'
=>
h
,
'Columns'
=>
...
...
@@ -139,7 +139,7 @@ class ReadableText
# @param h [String] the string to display as the table heading.
# @return [String] the string form of the table.
def
self
.
dump_compatible_payloads
(
exploit
,
indent
=
''
,
h
=
nil
)
tbl
=
Rex
::
Ui
::
Text
::
Table
.
new
(
tbl
=
Rex
::
Text
::
Table
.
new
(
'Indent'
=>
indent
.
length
,
'Header'
=>
h
,
'Columns'
=>
...
...
@@ -390,7 +390,7 @@ class ReadableText
# @param missing [Boolean] dump only empty required options.
# @return [String] the string form of the information.
def
self
.
dump_options
(
mod
,
indent
=
''
,
missing
=
false
)
tbl
=
Rex
::
Ui
::
Text
::
Table
.
new
(
tbl
=
Rex
::
Text
::
Table
.
new
(
'Indent'
=>
indent
.
length
,
'Columns'
=>
[
...
...
@@ -419,7 +419,7 @@ class ReadableText
# @param indent [String] the indentation to use.
# @return [String] the string form of the information.
def
self
.
dump_advanced_options
(
mod
,
indent
=
''
)
tbl
=
Rex
::
Ui
::
Text
::
Table
.
new
(
tbl
=
Rex
::
Text
::
Table
.
new
(
'Indent'
=>
indent
.
length
,
'Columns'
=>
[
...
...
@@ -444,7 +444,7 @@ class ReadableText
# @param indent [String] the indentation to use.
# @return [String] the string form of the information.
def
self
.
dump_evasion_options
(
mod
,
indent
=
''
)
tbl
=
Rex
::
Ui
::
Text
::
Table
.
new
(
tbl
=
Rex
::
Text
::
Table
.
new
(
'Indent'
=>
indent
.
length
,
'Columns'
=>
[
...
...
@@ -490,7 +490,7 @@ class ReadableText
# @param col [Integer] the column width.
# @return [String] the formatted DataStore contents.
def
self
.
dump_datastore
(
name
,
ds
,
indent
=
DefaultIndent
,
col
=
DefaultColumnWrap
)
tbl
=
Rex
::
Ui
::
Text
::
Table
.
new
(
tbl
=
Rex
::
Text
::
Table
.
new
(
'Indent'
=>
indent
,
'Header'
=>
name
,
'Columns'
=>
...
...
@@ -529,7 +529,7 @@ class ReadableText
columns
<<
'Information'
columns
<<
'Connection'
tbl
=
Rex
::
Ui
::
Text
::
Table
.
new
(
tbl
=
Rex
::
Text
::
Table
.
new
(
'Indent'
=>
indent
,
'Header'
=>
"Active sessions"
,
'Columns'
=>
columns
)
...
...
@@ -653,7 +653,7 @@ class ReadableText
columns
+=
[
"URIPATH"
,
"Start Time"
,
"Handler opts"
]
end
tbl
=
Rex
::
Ui
::
Text
::
Table
.
new
(
tbl
=
Rex
::
Text
::
Table
.
new
(
'Indent'
=>
indent
,
'Header'
=>
"Jobs"
,
'Columns'
=>
columns
...
...
lib/msf/core/exploit/browser_autopwn2.rb
View file @
eb73a691
...
...
@@ -517,7 +517,7 @@ module Msf
# As an user, you shouldn't be using any of these paths anyway.
columns
.
delete
(
'Path'
)
if
!
datastore
[
'VERBOSE'
]
table
=
Rex
::
Ui
::
Text
::
Table
.
new
(
table
=
Rex
::
Text
::
Table
.
new
(
'Header'
=>
'Exploits'
,
'Indent'
=>
1
,
'Columns'
=>
columns
...
...
@@ -625,7 +625,7 @@ module Msf
# @return [void]
def
show_exploit_list
(
ip
,
tag
,
current_exploit_list
)
order
=
1
table
=
Rex
::
Ui
::
Text
::
Table
.
new
(
table
=
Rex
::
Text
::
Table
.
new
(
'Header'
=>
''
,
'Indent'
=>
1
,
'Columns'
=>
[
'Order'
,
'IP'
,
'Exploit'
]
...
...
lib/msf/core/exploit/mssql.rb
View file @
eb73a691
...
...
@@ -702,7 +702,7 @@ module Exploit::Remote::MSSQL
if
(
info
[
:rows
]
and
not
info
[
:rows
].
empty?
)
tbl
=
Rex
::
Ui
::
Text
::
Table
.
new
(
tbl
=
Rex
::
Text
::
Table
.
new
(
'Indent'
=>
1
,
'Header'
=>
""
,
'Columns'
=>
info
[
:colnames
],
...
...
lib/msf/core/exploit/postgres.rb
View file @
eb73a691
...
...
@@ -184,7 +184,7 @@ module Exploit::Remote::Postgres
# If resp is not actually a Connection::Result object, then return
# :error (but not an actual Exception, that's up to the caller.
# Otherwise, create a rowset using Rex::
Ui::
Text::Table (if there's
# Otherwise, create a rowset using Rex::Text::Table (if there's
# more than 0 rows) and return :complete.
def
postgres_print_reply
(
resp
=
nil
,
sql
=
nil
)
ip
=
datastore
[
'RHOST'
]
...
...
@@ -194,7 +194,7 @@ module Exploit::Remote::Postgres
if
resp
.
rows
and
resp
.
fields
print_status
"
#{
ip
}
:
#{
port
}
Rows Returned:
#{
resp
.
rows
.
size
}
"
if
verbose
if
resp
.
rows
.
size
>
0
tbl
=
Rex
::
Ui
::
Text
::
Table
.
new
(
tbl
=
Rex
::
Text
::
Table
.
new
(
'Indent'
=>
4
,
'Header'
=>
"Query Text: '
#{
sql
}
'"
,
'Columns'
=>
resp
.
fields
.
map
{
|
x
|
x
.
name
}
...
...
lib/msf/core/exploit/winrm.rb
View file @
eb73a691
...
...
@@ -164,7 +164,7 @@ module Exploit::Remote::WinRM
rows
<<
row_data
end
columns
.
uniq!
response_data
=
Rex
::
Ui
::
Text
::
Table
.
new
(
response_data
=
Rex
::
Text
::
Table
.
new
(
'Header'
=>
"
#{
datastore
[
'WQL'
]
}
(
#{
rhost
}
)"
,
'Indent'
=>
1
,
'Columns'
=>
columns
...
...
lib/msf/ui/console/command_dispatcher/db.rb
View file @
eb73a691
...
...
@@ -423,7 +423,7 @@ class Db
end
# If we got here, we're searching. Delete implies search
tbl
=
Rex
::
Ui
::
Text
::
Table
.
new
(
tbl
=
Rex
::
Text
::
Table
.
new
(
{
'Header'
=>
"Hosts"
,
'Columns'
=>
col_names
,
...
...
@@ -650,7 +650,7 @@ class Db
if
col_search
col_names
=
col_search
end
tbl
=
Rex
::
Ui
::
Text
::
Table
.
new
({
tbl
=
Rex
::
Text
::
Table
.
new
({
'Header'
=>
"Services"
,
'Columns'
=>
[
'host'
]
+
col_names
,
})
...
...
@@ -1029,7 +1029,7 @@ class Db
'Columns'
=>
cred_table_columns
}
tbl
=
Rex
::
Ui
::
Text
::
Table
.
new
(
tbl_opts
)
tbl
=
Rex
::
Text
::
Table
.
new
(
tbl_opts
)
::
ActiveRecord
::
Base
.
connection_pool
.
with_connection
{
query
=
Metasploit
::
Credential
::
Core
.
where
(
workspace_id:
framework
.
db
.
workspace
)
...
...
@@ -1341,7 +1341,7 @@ class Db
end
# Now display them
csv_table
=
Rex
::
Ui
::
Text
::
Table
.
new
(
csv_table
=
Rex
::
Text
::
Table
.
new
(
'Header'
=>
'Notes'
,
'Indent'
=>
1
,
'Columns'
=>
[
'Time'
,
'Host'
,
'Service'
,
'Port'
,
'Protocol'
,
'Type'
,
'Data'
]
...
...
@@ -1501,7 +1501,7 @@ class Db
end
end
tbl
=
Rex
::
Ui
::
Text
::
Table
.
new
({
tbl
=
Rex
::
Text
::
Table
.
new
({
'Header'
=>
"Loot"
,
'Columns'
=>
[
'host'
,
'service'
,
'type'
,
'name'
,
'content'
,
'info'
,
'path'
],
})
...
...
lib/msf/ui/console/table.rb
View file @
eb73a691
...
...
@@ -9,7 +9,7 @@ module Console
# Console table display wrapper that allows for stylized tables
#
###
class
Table
<
Rex
::
Ui
::
Text
::
Table
class
Table
<
Rex
::
Text
::
Table
#
# Default table styles.
...
...
lib/rex/parser/group_policy_preferences.rb
View file @
eb73a691
...
...
@@ -88,7 +88,7 @@ class GPP
def
self
.
create_tables
(
results
,
filetype
,
domain
=
nil
,
dc
=
nil
)
tables
=
[]
results
.
each
do
|
result
|
table
=
Rex
::
Ui
::
Text
::
Table
.
new
(
table
=
Rex
::
Text
::
Table
.
new
(
'Header'
=>
'Group Policy Credential Info'
,
'Indent'
=>
1
,
'SortIndex'
=>
-
1
,
...
...
lib/rex/parser/unattend.rb
View file @
eb73a691
...
...
@@ -146,7 +146,7 @@ class Unattend
def
self
.
create_table
(
results
)
return
nil
if
results
.
nil?
or
results
.
empty?
table
=
Rex
::
Ui
::
Text
::
Table
.
new
({
table
=
Rex
::
Text
::
Table
.
new
({
'Header'
=>
'Unattend Credentials'
,
'Indent'
=>
1
,
'Columns'
=>
[
'Type'
,
'Domain'
,
'Username'
,
'Password'
,
'Groups'
]
...
...
lib/rex/pescan/analyze.rb
View file @
eb73a691
...
...
@@ -263,7 +263,7 @@ module Analyze
end
def
table
(
name
,
cols
)
Rex
::
Ui
::
Text
::
Table
.
new
(
Rex
::
Text
::
Table
.
new
(
'Header'
=>
name
,
'Columns'
=>
cols
)
...
...
lib/rex/post/meterpreter/extensions/stdapi/sys/process.rb
View file @
eb73a691
...
...
@@ -379,15 +379,15 @@ end
class
ProcessList
<
Array
#
# Create a Rex::
Ui::
Text::Table out of the processes stored in this list
# Create a Rex::Text::Table out of the processes stored in this list
#
# +opts+ is passed on to Rex::
Ui::
Text::Table.new, mostly unmolested
# +opts+ is passed on to Rex::Text::Table.new, mostly unmolested
#
# Note that this output is affected by Rex::Post::Meterpreter::Client#unicode_filter_encode
#
def
to_table
(
opts
=
{})
if
empty?
return
Rex
::
Ui
::
Text
::
Table
.
new
(
opts
)
return
Rex
::
Text
::
Table
.
new
(
opts
)
end
cols
=
[
"PID"
,
"PPID"
,
"Name"
,
"Arch"
,
"Session"
,
"User"
,
"Path"
]
...
...
@@ -403,7 +403,7 @@ class ProcessList < Array
'Columns'
=>
cols
}.
merge
(
opts
)
tbl
=
Rex
::
Ui
::
Text
::
Table
.
new
(
opts
)
tbl
=
Rex
::
Text
::
Table
.
new
(
opts
)
each
{
|
process
|
tbl
<<
cols
.
map
{
|
c
|
col
=
c
.
downcase
...
...
lib/rex/post/meterpreter/ui/console/command_dispatcher/android.rb
View file @
eb73a691
...
...
@@ -111,7 +111,7 @@ class Console::CommandDispatcher::Android
header
<<
" at
#{
time
.
strftime
(
'%Y-%m-%d %H:%M:%S'
)
}
"
end
table
=
Rex
::
Ui
::
Text
::
Table
.
new
(
table
=
Rex
::
Text
::
Table
.
new
(
'Header'
=>
header
,
'SortIndex'
=>
0
,
'Columns'
=>
result
[
:headers
],
...
...
@@ -616,7 +616,7 @@ class Console::CommandDispatcher::Android
result
=
client
.
android
.
sqlite_query
(
database
,
query
,
writeable
)
unless
writeable
header
=
"
#{
query
}
on database file
#{
database
}
"
table
=
Rex
::
Ui
::
Text
::
Table
.
new
(
table
=
Rex
::
Text
::
Table
.
new
(
'Header'
=>
header
,
'Columns'
=>
result
[
:columns
],
'Indent'
=>
0
...
...
lib/rex/post/meterpreter/ui/console/command_dispatcher/core.rb
View file @
eb73a691
...
...
@@ -182,7 +182,7 @@ class Console::CommandDispatcher::Core
case
mode
when
:list
tbl
=
Rex
::
Ui
::
Text
::
Table
.
new
(
tbl
=
Rex
::
Text
::
Table
.
new
(
'Indent'
=>
4
,
'Columns'
=>
[
...
...
@@ -732,7 +732,7 @@ class Console::CommandDispatcher::Core
end
# next draw up a table of transport entries
tbl
=
Rex
::
Ui
::
Text
::
Table
.
new
(
tbl
=
Rex
::
Text
::
Table
.
new
(
'SortIndex'
=>
0
,
# sort by ID
'Indent'
=>
4
,
'Columns'
=>
columns
)
...
...
lib/rex/post/meterpreter/ui/console/command_dispatcher/extapi/adsi.rb
View file @
eb73a691
...
...
@@ -294,7 +294,7 @@ class Console::CommandDispatcher::Extapi::Adsi
objects
=
client
.
extapi
.
adsi
.
domain_query
(
domain
,
filter
,
max_results
,
page_size
,
args
)
table
=
Rex
::
Ui
::
Text
::
Table
.
new
(
table
=
Rex
::
Text
::
Table
.
new
(
'Header'
=>
"
#{
domain
}
Objects"
,
'Indent'
=>
0
,
'SortIndex'
=>
0
,
...
...
lib/rex/post/meterpreter/ui/console/command_dispatcher/extapi/service.rb
View file @
eb73a691
...
...
@@ -86,7 +86,7 @@ class Console::CommandDispatcher::Extapi::Service
services
=
client
.
extapi
.
service
.
enumerate
table
=
Rex
::
Ui
::
Text
::
Table
.
new
(
table
=
Rex
::
Text
::
Table
.
new
(
'Header'
=>
'Service List'
,
'Indent'
=>
0
,
'SortIndex'
=>
3
,
...
...
lib/rex/post/meterpreter/ui/console/command_dispatcher/extapi/window.rb
View file @
eb73a691
...
...
@@ -82,7 +82,7 @@ class Console::CommandDispatcher::Extapi::Window
header
=
parent_window
?
"Child windows of
#{
parent_window
}
"
:
"Top-level windows"
table
=
Rex
::
Ui
::
Text
::
Table
.
new
(
table
=
Rex
::
Text
::
Table
.
new
(
'Header'
=>
header
,
'Indent'
=>
0
,
'SortIndex'
=>
0
,
...
...
lib/rex/post/meterpreter/ui/console/command_dispatcher/extapi/wmi.rb
View file @
eb73a691
...
...
@@ -75,7 +75,7 @@ class Console::CommandDispatcher::Extapi::Wmi
objects
=
client
.
extapi
.
wmi
.
query
(
query
,
root
)
if
objects
table
=
Rex
::
Ui
::
Text
::
Table
.
new
(
table
=
Rex
::
Text
::
Table
.
new
(
'Header'
=>
query
,
'Indent'
=>
0
,
'SortIndex'
=>
0
,
...
...
lib/rex/post/meterpreter/ui/console/command_dispatcher/kiwi.rb
View file @
eb73a691
...
...
@@ -259,7 +259,7 @@ class Console::CommandDispatcher::Kiwi
fields
=
[
'Server'
,
'Client'
,
'Start'
,
'End'
,
'Max Renew'
,
'Flags'
]
fields
<<
'Export Path'
if
export
table
=
Rex
::
Ui
::
Text
::
Table
.
new
(
table
=
Rex
::
Text
::
Table
.
new
(
'Header'
=>
'Kerberos Tickets'
,
'Indent'
=>
0
,
'SortIndex'
=>
0
,
...
...
@@ -335,7 +335,7 @@ class Console::CommandDispatcher::Kiwi
if
results
.
length
>
0
results
.
each
do
|
r
|
table
=
Rex
::
Ui
::
Text
::
Table
.
new
(
table
=
Rex
::
Text
::
Table
.
new
(
'Header'
=>
"
#{
r
[
:desc
]
}
-
#{
r
[
:guid
]
}
"
,
'Indent'
=>
0
,
'SortIndex'
=>
0
,
...
...
@@ -471,7 +471,7 @@ protected
print_status
(
"Retrieving
#{
provider
}
credentials"
)
accounts
=
method
.
call
table
=
Rex
::
Ui
::
Text
::
Table
.
new
(
table
=
Rex
::
Text
::
Table
.
new
(
'Header'
=>
"
#{
provider
}
credentials"
,
'Indent'
=>
0
,
'SortIndex'
=>
0
,
...
...
lib/rex/post/meterpreter/ui/console/command_dispatcher/lanattacks/dhcp.rb
View file @
eb73a691
...
...
@@ -228,7 +228,7 @@ class Console::CommandDispatcher::Lanattacks::Dhcp
log
=
client
.
lanattacks
.
dhcp
.
log
table
=
Rex
::
Ui
::
Text
::
Table
.
new
(
table
=
Rex
::
Text
::
Table
.
new
(
'Header'
=>
'DHCP Server Log'
,
'Indent'
=>
0
,
'SortIndex'
=>
0
,
...
...
lib/rex/post/meterpreter/ui/console/command_dispatcher/mimikatz.rb
View file @
eb73a691
...
...
@@ -95,7 +95,7 @@ class Console::CommandDispatcher::Mimikatz
print_status
(
"Retrieving
#{
provider
}
credentials"
)
accounts
=
method
.
call
table
=
Rex
::
Ui
::
Text
::
Table
.
new
(
table
=
Rex
::
Text
::
Table
.
new
(
'Header'
=>
"
#{
provider
}
credentials"
,
'Indent'
=>
0
,
'SortIndex'
=>
4
,
...
...
lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/fs.rb
View file @
eb73a691
...
...
@@ -184,7 +184,7 @@ class Console::CommandDispatcher::Stdapi::Fs
mounts
=
client
.
fs
.
mount
.
show_mount
table
=
Rex
::
Ui
::
Text
::
Table
.
new
(
table
=
Rex
::
Text
::
Table
.
new
(
'Header'
=>
'Mounts / Drives'
,
'Indent'
=>
0
,
'SortIndex'
=>
0
,
...
...
@@ -482,7 +482,7 @@ class Console::CommandDispatcher::Stdapi::Fs
return
end
tbl
=
Rex
::
Ui
::
Text
::
Table
.
new
(
tbl
=
Rex
::
Text
::
Table
.
new
(
'Header'
=>
"Listing:
#{
path
}
"
,
'SortIndex'
=>
columns
.
index
(
sort
),
'SortOrder'
=>
order
,
...
...
lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/net.rb
View file @
eb73a691
...
...
@@ -155,7 +155,7 @@ class Console::CommandDispatcher::Stdapi::Net
end
}
tbl
=
Rex
::
Ui
::
Text
::
Table
.
new
(
tbl
=
Rex
::
Text
::
Table
.
new
(
'Header'
=>
'Connection list'
,
'Indent'
=>
4
,
'Columns'
=>
[
...
...
@@ -206,7 +206,7 @@ class Console::CommandDispatcher::Stdapi::Net
end
}
tbl
=
Rex
::
Ui
::
Text
::
Table
.
new
(
tbl
=
Rex
::
Text
::
Table
.
new
(
'Header'
=>
'ARP cache'
,
'Indent'
=>
4
,
'Columns'
=>
[
...
...
@@ -280,7 +280,7 @@ class Console::CommandDispatcher::Stdapi::Net
routes
=
client
.
net
.
config
.
routes
# IPv4
tbl
=
Rex
::
Ui
::
Text
::
Table
.
new
(
tbl
=
Rex
::
Text
::
Table
.
new
(
'Header'
=>
'IPv4 network routes'
,
'Indent'
=>
4
,
'Columns'
=>
[
...
...
@@ -304,7 +304,7 @@ class Console::CommandDispatcher::Stdapi::Net
end
# IPv6
tbl
=
Rex
::
Ui
::
Text
::
Table
.
new
(
tbl
=
Rex
::
Text
::
Table
.
new
(
'Header'
=>
'IPv6 network routes'
,
'Indent'
=>
4
,
'Columns'
=>
[
...
...
@@ -412,7 +412,7 @@ class Console::CommandDispatcher::Stdapi::Net
case
args
.
shift
when
'list'
table
=
Rex
::
Ui
::
Text
::
Table
.
new
(
table
=
Rex
::
Text
::
Table
.
new
(
'Header'
=>
'Active Port Forwards'
,
'Indent'
=>
3
,
'SortIndex'
=>
-
1
,
...
...
@@ -616,7 +616,7 @@ class Console::CommandDispatcher::Stdapi::Net
response
=
client
.
net
.
resolve
.
resolve_hosts
(
hostnames
,
family
)
table
=
Rex
::
Ui
::
Text
::
Table
.
new
(
table
=
Rex
::
Text
::
Table
.
new
(
'Header'
=>
'Host resolutions'
,
'Indent'
=>
4
,
'SortIndex'
=>
0
,
...
...
lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/sys.rb
View file @
eb73a691
...
...
@@ -297,7 +297,7 @@ class Console::CommandDispatcher::Stdapi::Sys
if
vars
.
length
==
0
print_error
(
"None of the specified environment variables were found/set."
)
else
table
=
Rex
::
Ui
::
Text
::
Table
.
new
(
table
=
Rex
::
Text
::
Table
.
new
(
'Header'
=>
'Environment Variables'
,
'Indent'
=>
0
,
'SortIndex'
=>
1
,
...
...
lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi/ui.rb
View file @
eb73a691
...
...
@@ -187,7 +187,7 @@ class Console::CommandDispatcher::Stdapi::Ui
desktops
=
client
.
ui
.
enum_desktops
desktopstable
=
Rex
::
Ui
::
Text
::
Table
.
new
(
desktopstable
=
Rex
::
Text
::
Table
.
new
(
'Header'
=>
"Desktops"
,
'Indent'
=>
4
,
'Columns'
=>
[
"Session"
,
...
...
lib/rex/ropbuilder/rop.rb
View file @
eb73a691
...
...
@@ -25,7 +25,7 @@ class RopBase
@gadgets
=
gadgets
end
table
=
Rex
::
Ui
::
Text
::
Table
.
new
(
table
=
Rex
::
Text
::
Table
.
new
(
'Header'
=>
"
#{
@file
}
ROP Gadgets"
,
'Indent'
=>
1
,
'Columns'
=>
...
...
lib/rex/sslscan/result.rb
View file @
eb73a691
...
...
@@ -161,7 +161,7 @@ class Result
unless
supports_ssl?
return
"Server does not appear to support SSL on this port!"
end
table
=
Rex
::
Ui
::
Text
::
Table
.
new
(
table
=
Rex
::
Text
::
Table
.
new
(
'Header'
=>
'SSL Ciphers'
,
'Indent'
=>
1
,
'Columns'
=>
[
'Status'
,
'Weak'
,
'SSL Version'
,
'Key Length'
,
'Cipher'
],
...
...
modules/auxiliary/admin/http/webnms_cred_disclosure.rb
View file @
eb73a691
...
...
@@ -80,7 +80,7 @@ Windows and Linux.
end
if
res
&&
res
.
code
==
200
&&
!
res
.
body
.
empty?
cred_table
=
Rex
::
Ui
::
Text
::
Table
.
new
(
cred_table
=
Rex
::
Text
::
Table
.
new
(
'Header'
=>
'WebNMS Login Credentials'
,
'Indent'
=>
1
,
'Columns'
=>
...
...
modules/auxiliary/admin/mssql/mssql_enum_domain_accounts.rb
View file @
eb73a691
...
...
@@ -97,7 +97,7 @@ class MetasploitModule < Msf::Auxiliary
end
# Create table for report
windows_domain_login_table
=
Rex
::
Ui
::
Text
::
Table
.
new
(
windows_domain_login_table
=
Rex
::
Text
::
Table
.
new
(
'Header'
=>
'Windows Domain Accounts'
,
'Ident'
=>
1
,
'Columns'
=>
[
'name'
]
...
...
modules/auxiliary/admin/mssql/mssql_enum_domain_accounts_sqli.rb
View file @
eb73a691
...
...
@@ -84,7 +84,7 @@ class MetasploitModule < Msf::Auxiliary
print_good
(
"
#{
domain_users
.
length
}
user accounts, groups, and computer accounts were found."
)
# Create table for report
windows_domain_login_table
=
Rex
::
Ui
::
Text
::
Table
.
new
(
windows_domain_login_table
=
Rex
::
Text
::
Table
.
new
(
'Header'
=>
'Windows Domain Accounts'
,
'Ident'
=>
1
,
'Columns'
=>
[
'name'
]
...
...
modules/auxiliary/admin/mssql/mssql_findandsampledata.rb
View file @
eb73a691
...
...
@@ -356,7 +356,7 @@ class MetasploitModule < Msf::Auxiliary
end
# CREATE TABLE TO STORE SQL SERVER DATA LOOT
sql_data_tbl
=
Rex
::
Ui
::
Text
::
Table
.
new
(
sql_data_tbl
=
Rex
::
Text
::
Table
.
new
(
'Header'
=>
'SQL Server Data'
,
'Indent'
=>
1
,
'Columns'
=>
[
'Server'
,
'Database'
,
'Schema'
,
'Table'
,
'Column'
,
'Data Type'
,
'Sample Data'
,
'Row Count'
]
...
...
modules/auxiliary/admin/scada/advantech_webaccess_dbvisitor_sqli.rb
View file @
eb73a691
...
...
@@ -151,7 +151,7 @@ class MetasploitModule < Msf::Auxiliary
print_good
(
"
#{
@users
.
length
}
users found!"
)
end
users_table
=
Rex
::
Ui
::
Text
::
Table
.
new
(
users_table
=
Rex
::
Text
::
Table
.
new
(
'Header'
=>
'Advantech WebAccess Users'
,
'Indent'
=>
1
,
'Columns'
=>
[
'Username'
,
'Encrypted Password'
,
'Key'
,
'Recovered password'
,
'Origin'
]
...
...
modules/auxiliary/admin/scada/modicon_password_recovery.rb
View file @
eb73a691
...
...
@@ -150,7 +150,7 @@ class MetasploitModule < Msf::Auxiliary
end
def
grab
logins
=
Rex
::
Ui
::
Text
::
Table
.
new
(
logins
=
Rex
::
Text
::
Table
.
new
(
'Header'
=>
"Schneider Modicon Quantum services, usernames, and passwords"
,
'Indent'
=>
1
,
'Columns'
=>
[
"Service"
,
"User Name"
,
"Password"
]
...
...
modules/auxiliary/admin/smb/list_directory.rb
View file @
eb73a691
...
...
@@ -66,7 +66,7 @@ class MetasploitModule < Msf::Auxiliary
print_status
(
"Listing
\\\\
#{
datastore
[
'RHOST'
]
}
\\
#{
datastore
[
'SMBSHARE'
]
}
\\
#{
datastore
[
'RPATH'
]
}
'..."
)
end
listing
=
self
.
simple
.
client
.
find_first
(
"
\\
#{
datastore
[
'RPATH'
]
}
\\
*"
)
directory
=
Rex
::
Ui
::
Text
::
Table
.
new
(
directory
=
Rex
::
Text
::
Table
.
new
(
'Header'
=>
"Directory Listing of
\\\\
#{
datastore
[
'RHOST'
]
}
\\
#{
datastore
[
'SMBSHARE'
]
}
\\
#{
datastore
[
'RPATH'
]
}
"
,
'Indent'
=>
2
,
'SortIndex'
=>
2
,
...
...
modules/auxiliary/gather/chromecast_wifi.rb
View file @
eb73a691
...
...
@@ -32,7 +32,7 @@ class MetasploitModule < Msf::Auxiliary
return
unless
res
&&
res
.
code
==
200
waps
=
Rex
::
Ui
::
Text
::
Table
.
new
(
waps
=
Rex
::
Text
::
Table
.
new
(
'Header'
=>
'Wireless Access Points'
,
'Columns'
=>
[
'BSSID'
,
...
...
modules/auxiliary/gather/d20pass.rb
View file @
eb73a691
...
...
@@ -222,7 +222,7 @@ class MetasploitModule < Msf::Auxiliary
headerlen
=
makeword
(
f
.
read
(
2
))
f
.
seek
(
userentryptr
+
40
)
# sorry decimal
entrylen
=
makeword
(
f
.
read
(
2
))
# sorry this is decimal
logins
=
Rex
::
Ui
::
Text
::
Table
.
new
(
logins
=
Rex
::
Text
::
Table
.
new
(
'Header'
=>
"D20 usernames, passwords, and account levels
\n
(use for TELNET authentication)"
,
'Indent'
=>
1
,
'Columns'
=>
[
"Type"
,
"User Name"
,
"Password"
])
...
...
modules/auxiliary/gather/doliwamp_traversal_creds.rb
View file @
eb73a691
...
...
@@ -192,7 +192,7 @@ class MetasploitModule < Msf::Auxiliary
print_warning
(
"No credentials collected."
)
return
end
cred_table
=
Rex
::
Ui
::
Text
::
Table
.
new
(
cred_table
=
Rex
::
Text
::
Table
.
new
(
'Header'
=>
'Dolibarr User Credentials'
,
'Indent'
=>
1
,
'Columns'
=>
[
'Username'
,
'Password'
,
'Admin'
,
'E-mail'
]
...
...
modules/auxiliary/gather/eaton_nsm_creds.rb
View file @
eb73a691
...
...
@@ -98,7 +98,7 @@ class MetasploitModule < Msf::Auxiliary
return
end
cred_table
=
Rex
::
Ui
::
Text
::
Table
.
new
(
cred_table
=
Rex
::
Text
::
Table
.
new
(
'Header'
=>
'Network Shutdown Module Credentials'
,
'Indent'
=>
1
,
'Columns'
=>
[
'Username'
,
'Password'
]
...
...
modules/auxiliary/gather/eventlog_cred_disclosure.rb
View file @
eb73a691
...
...
@@ -90,7 +90,7 @@ class MetasploitModule < Msf::Auxiliary
end
end
cred_table
=
Rex
::
Ui
::
Text
::
Table
.
new
(
cred_table
=
Rex
::
Text
::
Table
.
new
(
'Header'
=>
'ManageEngine EventLog Analyzer Managed Devices Credentials'
,
'Indent'
=>
1
,
'Columns'
=>
...
...
modules/auxiliary/gather/hp_snac_domain_creds.rb
View file @
eb73a691
...
...
@@ -142,7 +142,7 @@ class MetasploitModule < Msf::Auxiliary
return
end
cred_table
=
Rex
::
Ui
::
Text
::
Table
.
new
(
cred_table
=
Rex
::
Text
::
Table
.
new
(
'Header'
=>
'Domain Controllers Credentials'
,
'Indent'
=>
1
,
'Columns'
=>
[
'Domain Controller'
,
'Username'
,
'Password'
]
...
...
modules/auxiliary/gather/memcached_extractor.rb
View file @
eb73a691
...
...
@@ -134,7 +134,7 @@ class MetasploitModule < Msf::Auxiliary
return
if
keys
.
size
==
0
data
=
data_for_keys
(
keys
)
result_table
=
Rex
::
Ui
::
Text
::
Table
.
new
(
result_table
=
Rex
::
Text
::
Table
.
new
(
'Header'
=>
"Keys/Values Found for
#{
peer
}
"
,
'Indent'
=>
1
,
'Columns'
=>
[
'Key'
,
'Value'
]
...
...
modules/auxiliary/gather/shodan_search.rb
View file @
eb73a691
...
...
@@ -144,7 +144,7 @@ class MetasploitModule < Msf::Auxiliary
end