Correctly format CreateSession option in output
This commit is contained in:
parent
4946fc297f
commit
686acb4c7b
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue