Category: ATL

Active Template Library related

Yet another ATL bug

Another weird bug from Visual C++ .NET/ATL internals (Visual Studio .NET 2003 Service Pack 1). IDispatch implementation (IModuleCommunicationTcp on the screenshot) supplied by Visual C++  compiler that converts “by DISPID” IDispatch::Invoke call into virtual method call (IModuleCommunicationTcp::get_HttpHost) does not initialize local BSTR variable i1 on stack. In case of method failure (in which case there…

Read the full article

Semaphores

Semaphore objects are specific synchronization objects that maintain a counter that lock/unlock the object on reaching specific predefined count. The counter make the object specific and different from other synchronization objects such as critical sections, mutexes, events. After years of software development with a horde of threads and events it is the first time I…

Read the full article

Interactive RTSP Client

There has been a need in interactive RTSP (Real Time Streaming Protocol) utility to check RTSP-enabled MPEG-4 cameras – I did not find anything useful, so here goes in-house built one: Features: TCP connections to RTSP servers (UDP is yet to do) OPTIONS and DESCRIBE buttons provide templates for RTSP messages to send to RTSP…

Read the full article

Reversing MD5 using CryptoAPI

Improving MD5 cracking application: with the use of MS Windows CryptoAPI subsystem, cracking speed increased by over 25%. I am looking forward to getting evaluation version of Intel IPP Cryptography library to compare results to obtained using CryptoAPI. See Also: CryptAcquireContext, CryptCreateHash, CALG_MD5, CryptHashData, CCryptProv, CCryptMD5Hash. Partial (some header files are excluded) Visual C++.NET 2005…

Read the full article

Reversing MD5

This utility will attempt to brute force reverse/crack a hash value created by Message-Digest algorithm 5 (MD5) one-way function. You feed hashes in, it tries to find the argument. Possibly this is not the fastest implementation but we have what we have. There is support for multiple processors though and here source code go as…

Read the full article

Magellan eXplorist: Automation continuted

Automation continued to interpret basic NMEA-0183 sentences: $GPGSV, $GPGLL, $PMGNST. Additionally to bugfixing and serial connection NMEA-0183 reader, this update provides a new COM object to parse and interpret several sequences raising an event on interpretation. Microsoft (R) Windows Script Host Version 5.6 Copyright (C) Microsoft Corporation 1996-2001. All rights reserved. Assumed Port: COM10 Input:…

Read the full article

Magellan eXplorist: Automation

A new (hopefully) iteration with Magellan eXplorist tools – an automation objects to script GPS data processing. The idea is to provide scriptable objects to access GPS data for various tasks from just logging into file to [the target is believable to be] publishing geolocation information in real time through Jabber/XMPP server in conformance with…

Read the full article