Skip to content

Commit

Permalink
Correctly format CreateSession option in output
Browse files Browse the repository at this point in the history
  • Loading branch information
dwelch-r7 committed Mar 20, 2024
1 parent 4946fc2 commit 686acb4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion modules/auxiliary/scanner/mssql/mssql_login.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def run
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
Expand Down
2 changes: 1 addition & 1 deletion modules/auxiliary/scanner/mysql/mysql_login.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def run
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
Expand Down
2 changes: 1 addition & 1 deletion modules/auxiliary/scanner/postgres/postgres_login.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def run
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
Expand Down
2 changes: 1 addition & 1 deletion modules/auxiliary/scanner/smb/smb_login.rb
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def run
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
Expand Down

0 comments on commit 686acb4

Please sign in to comment.