This little chunk exploits the win32api extensions. Allows you to validate a user on a NT domain.
By : geekmug
<?
//Copyright 2002 Scott Dial //scott@scottdial.com // //This code is free to modify, use, abuse, or whatever you like. It'd be interesting though to hear what you are using it for, so shoot me an email if you use this snippet.
//These values are pulled straight from winbase.h from the platform sdk
deref.dll is the following C: __declspec(dllexport) void *deref(void **a) { return *a; }
http://scottdial.com/deref.dll
DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.