Correctly format CreateSession option in output

This commit is contained in:
Dean Welch 2024-03-20 15:06:20 +00:00
parent 4946fc297f
commit 686acb4c7b
4 changed files with 4 additions and 4 deletions

View File

@ -64,7 +64,7 @@ class MetasploitModule < Msf::Auxiliary
if datastore['CreateSession']
print_status("#{sessions.size} MSSQL sessions were opened successfully.")
else
print_status('You can open an MSSQL session with these credentials and CreateSession set to true')
print_status('You can open an MSSQL session with these credentials and %grnCreateSession%clr set to true')
end
results
end

View File

@ -68,7 +68,7 @@ class MetasploitModule < Msf::Auxiliary
if datastore['CreateSession']
print_status("#{sessions.size} MySQL sessions were opened successfully.")
else
print_status('You can open an MySQL session with these credentials and CreateSession set to true')
print_status('You can open an MySQL session with these credentials and %grnCreateSession%clr set to true')
end
results
end

View File

@ -72,7 +72,7 @@ class MetasploitModule < Msf::Auxiliary
if datastore['CreateSession']
print_status("#{sessions.size} Postgres sessions were opened successfully.")
else
print_status('You can open a Postgres session with these credentials and CreateSession set to true')
print_status('You can open a Postgres session with these credentials and %grnCreateSession%clr set to true')
end
results
end

View File

@ -96,7 +96,7 @@ class MetasploitModule < Msf::Auxiliary
if datastore['CreateSession']
print_status("#{sessions.size} SMB sessions were opened successfully.")
else
print_status('You can open an SMB session with these credentials and CreateSession set to true')
print_status('You can open an SMB session with these credentials and %grnCreateSession%clr set to true')
end
results
end