Skip to content

Instantly share code, notes, and snippets.

Avatar

Travis Rosenbaum Zagrophyte

  • United States
View GitHub Profile
@Zagrophyte
Zagrophyte / StandardConstraintAndIndexNameAnalyzer.sql
Last active May 15, 2017
SQL Table Index and Constraint Name Analysis and Repair Tool
View StandardConstraintAndIndexNameAnalyzer.sql
/* SQL Table Index and Constraint Name Analysis and Repair Tool
* Finds all indexes and constraints with names that do not conform to expected
* patterns and helpfully generates the SQL to rename them to the right values.
*
* NOTE: I am not responsible for any issues that result from the use of this script,
* always review any generated SQL output before running!
*/
;WITH AllConstraints AS
(
SELECT Type = 'PrimaryKey'
@Zagrophyte
Zagrophyte / MS15-034Tester.ps1
Last active Mar 26, 2019
Sends a CVE-2015-1635 / MS15-034 Request and checks for vulnerability
View MS15-034Tester.ps1
# Sends a CVE-2015-1635 / MS15-034 Request and checks for vulnerability
function TestMS15_034($hostname, $port)
{
if ($port -eq $null)
{
$port = 80
}
$tc = New-Object Net.Sockets.TcpClient
@Zagrophyte
Zagrophyte / MS15-034Tester.cs
Last active Mar 26, 2019
MS15-034 / CVE-2015-1635 Tester
View MS15-034Tester.cs
void Main()
{
TestMS15_034("www.example.com"); // Replace with whatever server(s) you'd like to test.
TestMS15_034("www2.example.com", 8080);
}
// Sends CVE-2015-1635 / MS15-034 Test Request and checks for vulnerability
public void TestMS15_034(String host, int port = 80)
{
TcpClient tc = new TcpClient();
View keybase.md

Keybase proof

I hereby claim:

  • I am Zagrophyte on github.
  • I am trosenbaum (https://keybase.io/trosenbaum) on keybase.
  • I have a public key whose fingerprint is 9390 0370 349C B7C0 D28E 82C5 8975 6C62 BC70 D07C

To claim this, I am signing this object:

You can’t perform that action at this time.