Skip to content

Commit

Permalink
Update PowerUpSQL.ps1
Browse files Browse the repository at this point in the history
Fixed filter bug in Get-SqlTable function.
  • Loading branch information
nullbind authored May 20, 2024
1 parent c989c71 commit 8f6be81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PowerUpSQL.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
File: PowerUpSQL.ps1
Author: Scott Sutherland (@_nullbind), NetSPI - 2023
Major Contributors: Antti Rantasaari and Eric Gruber
Version: 1.119
Version: 1.120
Description: PowerUpSQL is a PowerShell toolkit for attacking SQL Server.
License: BSD 3-Clause
Required Dependencies: PowerShell v.2
Expand Down Expand Up @@ -4660,7 +4660,7 @@ Function Get-SQLTable
# Setup table filter
if($TableName)
{
$TableFilter = " WHERE TABLE_NAME like '%$TableName%'"
$TableFilter = " WHERE t.TABLE_NAME like '%$TableName%'"
}
else
{
Expand Down

0 comments on commit 8f6be81

Please sign in to comment.