netspi / daft Goto Github PK
View Code? Open in Web Editor NEWDAFT: Database Audit Framework & Toolkit
License: Other
DAFT: Database Audit Framework & Toolkit
License: Other
The switch case statement in Program.cs to see what module is being used has the module name as "serverdefaultloginpw" instead of "serverlogindefaultpw" as it is everywhere else in the code including the help text.
Also, DefaultCredentials.xml that the module relies on doesn't get embedded in the assembly, so it goes looking for it on-disk instead. I tried to whip up a quick fix for it but i'm mid-engagement and my expected fix isn't working. Posting this so it's written down somewhere, in case i forget to fix it myself and submit a PR.
There are scenarios in which master
database has set COLLATION
to Case-Sensitive, which might result in following rather cryptic connection error message:
] SQL01: SQL Exception Occured: Cannot open database "Master" requested by the login. The login failed.
Login failed for user 'john.doe'.
To check if master is case-sensitive run the following query:
select SERVERPROPERTY('COLLATION');
and look for CS = Case-Sensitive
or CI = Case-Insensitive
.
That happened to me during the engagement whilst authenticating via SQL Server Authentication.
Simply changing master's hardcoded database name was enough to successfully authenticate and operate using the tool:
Line 16 in 5087974
This error costed me several hours troubleshooting and banging my head against the wall. I think, that both PowerUpSQL
and DAFT
could benefit from a global "query-maintenance" functionality adapating database name case-sensitiveness based on supplied parameters.
Kind regards,
Mariusz
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.