December 2007 Entries

SNMPv3 Discovery

mgr -> agent: what is your engine Id? "This may be accomplished by generating a Request message with a securityLevel of noAuthNoPriv, a msgUserName of zero-length, a msgAuthoritativeEngineID value of zero length, and the varBindList left empty." agent -> mgr: my name is ____."a Report message containing the snmpEngineID of the authoritative SNMP engine as the value of the msgAuthoritativeEngineID field within the msgSecurityParameters field. It contains a Report PDU with the usmStatsUnknownEngineIDs ......

Posted On Tuesday, December 18, 2007 3:04 PM | Comments (1)

PowerShell script - marking a parameter as required

param( [string] $optionalparam1, #an optional parameter with no default value [string] $optionalparam2 = "default", #an optional parameter with a default value [string] $requiredparam = $(throw ""requiredparam required."), #throw exception if no value provided [string] $user = $(Read-Host -prompt "User"), #prompt user for value if none provided [switch] $switchparam; #an optional "switch parameter" (ie, a flag) ) Technorati Tags: PowerShell ......

Posted On Friday, December 14, 2007 12:57 PM | Comments (12)

How to run CGI applications on IIS7

While trying out the /n software IP*Works! 3-D Secure MPI C++ Edition (for implementing Verified By Visa, MasterCard SecureCode, or JCB J/Secure) I needed to figure out how to run a CGI application in IIS7. I had a compiled c++ exe (3dsecure.exe) that would handle my 3d secure authentication, but what was the next step? Here's how to do it: First, go to the Internet Information Services (IIS) Manager snap-in. Click on the server in the Connections list, and then click on "ISAPI and CGI Restrictions" ......

Posted On Thursday, December 13, 2007 1:58 PM | Comments (32)

Copyright © Lance Robinson

Design by Bartosz Brzezinski

Design by Phil Haack Based On A Design By Bartosz Brzezinski