Smarter Debug Code With Conditional Compilation
.NET introduces something called “conditional compilation”, which allows you to specify debug-only code. Learn how you can leverage this to create smarter debugging code, an asset to development (as opposed to useless print statements)! Debug code that requires no extra effort to remove, and does not add to the size of the generated binary.
70GB of Files Uploaded Because of a Trojan Virus
How a server was infected with a trojan virus, and how to clean the Wollf trojan from your machine and ensure that you do not get infected again. As well a list of 70GB of files from a real server that was compromised.
Using DISTINCT in Aggregate Functions
The T-SQL aggregate functions (COUNT, SUM, AVG, MIN, and MAX) can all be used with the DISTINCT keyword to calculate them on distinct columns only.
Sql Injections and Securing Clipshare Vulnerabilities
A full explanation about SQL injection vulnerability and why you should care, Clipshare vulnerability, PHP Nuke vulnerability, and how to fix it in such a way that your site will not get hacked again with relatively few code changes.