Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,12 @@ The below techniques are on the roadmap for future releases
* Expand enumeration modules

## History
<details>
<summary>v2.2.2</summary>

* Fixed checking RPC status on linked SQL servers.
</details>

<details>
<summary>v2.2.1</summary>

Expand Down
4 changes: 2 additions & 2 deletions SQLRecon/SQLRecon/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.2.1.0")]
[assembly: AssemblyFileVersion("2.2.1.0")]
[assembly: AssemblyVersion("2.2.2.0")]
[assembly: AssemblyFileVersion("2.2.2.0")]
6 changes: 3 additions & 3 deletions SQLRecon/SQLRecon/modules/EnableDisable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,9 @@ public string CheckRpc(SqlConnection con, String sqlServer)
{
string sqlOutput = "";

sqlOutput = sqlQuery.ExecuteCustomQuery(con, " sp_helpserver @server=" + sqlServer);
sqlOutput = sqlQuery.ExecuteCustomQuery(con, "EXEC sp_helpserver @server='" + sqlServer + "';");

if (sqlOutput.Contains("rpc"))
if (sqlOutput.Contains("rpc out"))
{
sqlOutput = "1";
}
Expand All @@ -199,4 +199,4 @@ public string CheckRpc(SqlConnection con, String sqlServer)
}

}
}
}
2 changes: 1 addition & 1 deletion SQLRecon/SQLRecon/modules/Help.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public static class Help
public static void Show()
{
Console.WriteLine("");
Console.WriteLine("SQLRecon v2.2.1");
Console.WriteLine("SQLRecon v2.2.2");
Console.WriteLine("github.com/skahwah/SQLRecon");
Console.WriteLine("");

Expand Down