- This is some super old code but I used it recently and figured I'd archive it on this site for my future reference. The sample code below aims to allow authenticated users to download files which are not available via direct download (ie. files within the web root). The script accomplishes this by doing the following: …
Read More - I keep track of all hits to my website RealCajunRecipes.com in a SQL table called hitcounter which has columns for the user's IP, browser, referring URL and the date. Recently, I saw a surge in traffic and wanted to know which domains were sending the traffic our way. After getting tired of issuing ad-hoc queries that …
Read More Recently, a user trying to login to OWA encountered the following error:
HTTP 403.1 Forbidden: Execute Access Forbidden You have attempted to execute a CGI, ISAPI, or other executable program from a directory that does not allow programs to be executed.
Another network administrator noticed that the URL was strange …
Read More- I've got two 10 page papers to write by Wednesday so I figure there's no better time to write a post about the things you can find in my Swiss Synergy backpack. This backpack is rather large but its size often comes in handy (grocery store trips and school finals come to mind). I used to value micro sized bags but …
Read More - In Dwight D. Eisenhower's Farewell Address to the Nation, he pleaded with the American people to "avoid the impulse to live only for today, plundering, for our own ease and convenience, the precious resources of tomorrow." He also acknowledged the existence and influence of a militaryindustrial complex on …
Read More - If you haven't been to meebo.com, you probably haven't needed to chat from a location that restricts chat program installs ;) Meebo.com is super slick; with nothing more than a browser, you can access your favorite chat network. The unencrypted meebo.com site does encrypt your password but stops there. By accessing …
Read More In one of my earlier posts "The Software I Use Daily," I wrote
The Penton Press Master CD is a must have for any Windows administrator. It is a CHM file which contains every article from Windows IT Pro, SQL Server Magazine, Exchange & Outlook Adminisrator, Windows Scripting Solutions, Windows IT Security …
Read More- So if you have SQL Server installed locally, you're lucky enough to have access to SQLDeeMO. You can then easily enumerate SQL Servers with the following code. Note: If you do decide to use VBScript and SQLDeeMO, you will need to remove the "ee" in the script below. I didn't want to put in the actual object …
Read More - My friend Sharfa and I were exchanging some of our favorite code snippets and he showed me one for enumerating Exchange Servers in Active Directory. I dug the code but wanted to try to see if I could use my Recordset/ADsDSOObject skrills to shorten the code. The outcome isn't any shorter but it does get the version, so …
Read More - Damn, the ADsDSOObject rocks! This script, which weighs in at less than 20 lines, finds all machines running any form of Windows Server on a given domain. Note that this script isn't useful in finding domain controllers, but rather any machine running Windows Server. …
Read More