├── EasyHook
├── DriverShared
│ ├── ASM
│ │ ├── HookSpecific_x64.asm
│ │ ├── HookSpecific_x86.asm
│ │ ├── ILD_x64.asm
│ │ └── ILD_x86.asm
│ ├── DriverShared.h
│ ├── LocalHook
│ │ ├── alloc.c
│ │ ├── barrier.c
│ │ ├── caller.c
│ │ ├── install.c
│ │ ├── reloc.c
│ │ └── uninstall.c
│ ├── Rtl
│ │ ├── error.c
│ │ └── string.c
│ └── rtl.h
├── EasyHook.sln
├── EasyHook
│ ├── Config.cs
│ ├── Debugging.cs
│ ├── DllImport.cs
│ ├── EasyHook.csproj
│ ├── ExecuteAsService.xml
│ ├── FileMonHost.xml
│ ├── FileMonInject.xml
│ ├── HelperServiceInterface.cs
│ ├── InjectionLoader.cs
│ ├── LocalHook.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── RemoteHook.cs
│ ├── ServiceMgmt.cs
│ ├── StrongName.snk
│ └── WOW64Bypass.cs
├── EasyHookDll
│ ├── AUX_ULIB.H
│ ├── AUX_ULIB_x64.LIB
│ ├── AUX_ULIB_x86.LIB
│ ├── EasyHookDll.vcproj
│ ├── GS_x64.lib
│ ├── GS_x86.lib
│ ├── LocalHook
│ │ ├── acl.c
│ │ └── debug.cpp
│ ├── RemoteHook
│ │ ├── driver.cpp
│ │ ├── entry.cpp
│ │ ├── service.c
│ │ ├── stealth.c
│ │ └── thread.c
│ ├── Rtl
│ │ ├── file.c
│ │ └── memory.c
│ ├── dllmain.c
│ ├── gacutil.cpp
│ ├── ntstatus.h
│ └── stdafx.h
├── EasyHookSvc
│ ├── EasyHookSvc.csproj
│ ├── InjectionService.cs
│ ├── InjectionService.designer.cs
│ ├── Program.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ └── StrongName.snk
├── EasyHookSys.sln
├── EasyHookSys
│ ├── EasyHookSys.vcproj
│ ├── LocalHook
│ │ └── acl.c
│ ├── Rtl
│ │ └── memory.c
│ ├── main.c
│ └── stdafx.h
├── EasyHookTestCert.cer
├── Examples
│ ├── FileMon
│ │ ├── Examples.snk
│ │ ├── FileMon.csproj
│ │ ├── Program.cs
│ │ └── Properties
│ │ │ └── AssemblyInfo.cs
│ ├── FileMonInject
│ │ ├── Examples.snk
│ │ ├── FileMonInject.csproj
│ │ ├── Main.cs
│ │ └── Properties
│ │ │ └── AssemblyInfo.cs
│ ├── ProcMonInject
│ │ ├── Examples.snk
│ │ ├── Main.cs
│ │ ├── ProcMonInject.csproj
│ │ └── Properties
│ │ │ └── AssemblyInfo.cs
│ ├── ProcessMonitor
│ │ ├── DemoInterface.cs
│ │ ├── Examples.snk
│ │ ├── Form1.Designer.cs
│ │ ├── Form1.cs
│ │ ├── Form1.resx
│ │ ├── ProcessMonitor.csproj
│ │ ├── Program.cs
│ │ └── Properties
│ │ │ └── AssemblyInfo.cs
│ ├── TestDriver
│ │ ├── TestDriver.vcproj
│ │ ├── main.c
│ │ └── testsuite.c
│ └── UnmanagedHook
│ │ ├── UnmanagedHook.cpp
│ │ └── UnmanagedHook.vcproj
├── KNOWN ISSUES.txt
├── LICENSE.txt
├── Public
│ └── easyhook.h
├── README.txt
└── Test
│ ├── ManagedTarget
│ ├── Form1.Designer.cs
│ ├── Form1.cs
│ ├── ManagedTarget.csproj
│ ├── Program.cs
│ └── Properties
│ │ ├── AssemblyInfo.cs
│ │ ├── Resources.Designer.cs
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.cs
│ │ └── Settings.settings
│ └── ManagedTest
│ ├── LHTest.cs
│ ├── Main.cs
│ ├── ManagedTest.csproj
│ ├── ManagedTest.idc
│ ├── Properties
│ └── AssemblyInfo.cs
│ ├── RHTest.cs
│ └── StrongName.snk
├── IDAScripts
├── apply_osym.py
├── find_unmapped_funcs.py
├── osym_from_debug.py
└── util.py
├── InterceptPP
├── Alloc.cpp
├── Alloc.h
├── ConsoleLogger.cpp
├── ConsoleLogger.h
├── Core.cpp
├── Core.h
├── DLL.cpp
├── DLL.h
├── Errors.h
├── HookManager.cpp
├── HookManager.h
├── InterceptPP.h
├── InterceptPP.vcproj
├── Logging.cpp
├── Logging.h
├── Marshallers.cpp
├── Marshallers.h
├── NullLogger.h
├── ReadMe.txt
├── STL.h
├── Signature.cpp
├── Signature.h
├── Tests
│ ├── HookManagerTest.cpp
│ ├── HookManagerTest.vcproj
│ ├── SignatureTest.cpp
│ ├── SignatureTest.vcproj
│ ├── UDis86Test.cpp
│ └── UDis86Test.vcproj
├── Util.cpp
├── Util.h
├── VTable.cpp
└── VTable.h
├── SharpZipLib
└── ICSharpCode.SharpZipLib.dll
├── msvc_recommended_pragmas.h
├── oSpy.SharpDumpLib
├── AsyncWorker.cs
├── Dump.cs
├── DumpLoader.cs
├── DumpSaver.cs
├── Event.cs
├── EventFactory.cs
├── IDataTransfer.cs
├── ITag.cs
├── ITagFactory.cs
├── Properties
│ └── AssemblyInfo.cs
├── ResourceTag.cs
├── ResourceTagFactory.cs
├── Socket
│ ├── CloseEvent.cs
│ ├── ConnectEvent.cs
│ ├── CreateEvent.cs
│ ├── ReceiveEvent.cs
│ ├── ResourceTag.cs
│ ├── SendEvent.cs
│ └── TagFactory.cs
├── TagBuilder.cs
├── Tests
│ ├── DumpLoaderTest.cs
│ ├── DumpSaverTest.cs
│ ├── GenericEventTest.cs
│ ├── Properties
│ │ ├── AssemblyInfo.cs
│ │ ├── Resources.Designer.cs
│ │ └── Resources.resx
│ ├── SocketEventTest.cs
│ ├── TagBuilderTest.cs
│ ├── TestEventXml.cs
│ ├── TestOsdStream.cs
│ ├── XmlString.cs
│ ├── events2cs.py
│ ├── oSpy.SharpDumpLib.Tests.csproj
│ └── osdgrep.py
├── Xml
│ └── FunctionCallDataElement.cs
├── oSpy.SharpDumpLib.csproj
├── oSpy.SharpDumpLib.sln
└── oSpy.SharpDumpLib.userprefs
├── oSpy.sln
├── oSpy
├── AboutBoxForm.Designer.cs
├── AboutBoxForm.cs
├── AboutBoxForm.resx
├── Capture
│ ├── ChooseForm.Designer.cs
│ ├── ChooseForm.cs
│ ├── ChooseForm.resx
│ ├── Devices.cs
│ ├── Manager.cs
│ ├── ProgressForm.Designer.cs
│ ├── ProgressForm.cs
│ └── ProgressForm.resx
├── Constants.cs
├── Images
│ ├── error.png
│ ├── event.png
│ ├── info.png
│ └── warning.png
├── MainForm.Designer.cs
├── MainForm.cs
├── MainForm.resx
├── Playground
│ ├── ExtendedGraphics.cs
│ ├── GroovyRichTextBox.cs
│ ├── IDrawToBitmapFull.cs
│ ├── MultiSessionView.cs
│ ├── TimelineNavigatorForm.Designer.cs
│ ├── TimelineNavigatorForm.cs
│ ├── TimelineNavigatorForm.resx
│ ├── Util.cs
│ ├── VisualSession.cs
│ ├── VisualTransaction.cs
│ ├── VisualTransaction.resx
│ ├── VisualizationForm.Designer.cs
│ ├── VisualizationForm.cs
│ └── VisualizationForm.resx
├── Program.cs
├── ProgressForm.Designer.cs
├── ProgressForm.cs
├── ProgressForm.resx
├── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
├── Softwall.cs
├── SoftwallForm.Designer.cs
├── SoftwallForm.cs
├── SoftwallForm.resx
├── Util
│ └── XML.cs
├── WinApi.cs
├── app.config
└── oSpy.csproj
├── oSpy1
├── AboutBoxForm.Designer.cs
├── AboutBoxForm.cs
├── AboutBoxForm.resx
├── Agent
│ ├── AssemblyInfo.cpp
│ ├── Controller.cpp
│ ├── Controller.hpp
│ ├── Hooks
│ │ ├── Monitor.cpp
│ │ ├── Monitor.hpp
│ │ ├── OpenGL.cpp
│ │ └── OpenGL.hpp
│ ├── IEventLogger.hpp
│ ├── Legacy
│ │ ├── agent.cpp
│ │ ├── alloc.h
│ │ ├── byte_buffer.cpp
│ │ ├── byte_buffer.h
│ │ ├── hookgenerator.pyw
│ │ ├── hooking.cpp
│ │ ├── hooking.h
│ │ ├── hooks.h
│ │ ├── hooks_activesync.cpp
│ │ ├── hooks_crypt.cpp
│ │ ├── hooks_httpapi.cpp
│ │ ├── hooks_kernel32.cpp
│ │ ├── hooks_msn.cpp
│ │ ├── hooks_secur32.cpp
│ │ ├── hooks_wininet.cpp
│ │ ├── hooks_winsock.cpp
│ │ ├── httpapi_util.cpp
│ │ ├── httpapi_util.h
│ │ ├── logging.cpp
│ │ ├── logging.h
│ │ ├── overlapped.cpp
│ │ ├── overlapped.h
│ │ ├── softwall.cpp
│ │ ├── softwall.h
│ │ ├── util.cpp
│ │ └── util.h
│ ├── Stdafx.cpp
│ ├── Stdafx.h
│ └── oSpyAgent.vcproj
├── BacktraceForm.Designer.cs
├── BacktraceForm.cs
├── BacktraceForm.resx
├── Capture
│ ├── AttachForm.Designer.cs
│ ├── AttachForm.cs
│ ├── AttachForm.resx
│ ├── CreateForm.Designer.cs
│ ├── CreateForm.cs
│ ├── CreateForm.resx
│ ├── Event.cs
│ ├── EventCoordinator.cs
│ ├── Manager.cs
│ ├── MessageEvent.cs
│ ├── PacketEvent.cs
│ ├── ProgressForm.Designer.cs
│ ├── ProgressForm.cs
│ └── ProgressForm.resx
├── Configuration
│ ├── ConfigManager.cs
│ ├── ParserConfigDialog.Designer.cs
│ ├── ParserConfigDialog.cs
│ ├── ParserConfigDialog.resx
│ └── ParserConfiguration.cs
├── ConversationsForm.Designer.cs
├── ConversationsForm.cs
├── ConversationsForm.resx
├── DebugForm.Designer.cs
├── DebugForm.cs
├── DebugForm.resx
├── Event
│ ├── SocketEventType.cs
│ └── TCPEvent.cs
├── ExtendedGraphics.cs
├── GroovyRichTextBox.cs
├── HeapAgent
│ ├── HeapAgent.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ └── oHeapAgent.csproj
├── IDrawToBitmapFull.cs
├── Images
│ ├── activesync.png
│ ├── connected.png
│ ├── disconnected.png
│ ├── donate.gif
│ ├── error.png
│ ├── event.png
│ ├── incoming.png
│ ├── info.png
│ ├── listening.png
│ ├── oSpy.ico
│ ├── oSpyLogoFull.png
│ ├── oSpyLogoImage.png
│ ├── oSpyLogoImageExt.png
│ ├── oSpyLogoSmall.png
│ ├── oSpyLogoText.png
│ ├── outgoing.png
│ ├── search.png
│ └── warning.png
├── InjectForm.Designer.cs
├── InjectForm.cs
├── InjectForm.resx
├── Listener.cs
├── MainForm.Designer.cs
├── MainForm.cs
├── MainForm.resx
├── MultiSessionView.cs
├── Net
│ ├── IPPacket.cs
│ ├── IPSession.cs
│ ├── PacketParser.cs
│ ├── PacketSlice.cs
│ ├── PacketStream.cs
│ └── ProtocolError.cs
├── NewVisualizationForm.Designer.cs
├── NewVisualizationForm.cs
├── NewVisualizationForm.resx
├── Parser
│ ├── HTTP.cs
│ ├── ITransactionFactory.cs
│ ├── MSN.cs
│ ├── Oracle.cs
│ ├── RAPI.cs
│ ├── RRAC.cs
│ ├── RemSync.cs
│ ├── TransactionFactory.cs
│ ├── TransactionNode.cs
│ ├── TransactionNodeConverter.cs
│ ├── TransactionNodeList.cs
│ └── XMPP.cs
├── Program.cs
├── ProgressForm.Designer.cs
├── ProgressForm.cs
├── ProgressForm.resx
├── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
├── PropertyBag.cs
├── README.txt
├── ScoutAgent
│ ├── DllMain.cpp
│ ├── Scout.cpp
│ ├── StdAfx.cpp
│ ├── StdAfx.hpp
│ └── oScoutAgent.vcproj
├── SearchBox.cs
├── ShareSuccessForm.Designer.cs
├── ShareSuccessForm.cs
├── ShareSuccessForm.resx
├── ShareVisualizationForm.Designer.cs
├── ShareVisualizationForm.cs
├── ShareVisualizationForm.resx
├── SoftwallForm.Designer.cs
├── SoftwallForm.cs
├── SoftwallForm.resx
├── Tests
│ └── PacketStream
│ │ ├── Program.cs
│ │ ├── Properties
│ │ └── AssemblyInfo.cs
│ │ └── TestPacketStream.csproj
├── TextView.Designer.cs
├── TextView.cs
├── TextView.resx
├── TimelineNavigatorForm.Designer.cs
├── TimelineNavigatorForm.cs
├── TimelineNavigatorForm.resx
├── Util
│ ├── Constants.cs
│ ├── IDebugLogger.cs
│ ├── SoftwareRelease.cs
│ ├── Util.cs
│ └── XML.cs
├── VisualSession.cs
├── VisualTransaction.cs
├── VisualTransaction.resx
├── WBXML.cs
├── Web References
│ └── oSpyRepository
│ │ ├── Reference.map
│ │ └── Repository.wsdl
├── WelcomeForm.Designer.cs
├── WelcomeForm.cs
├── WelcomeForm.resx
├── WinApi.cs
├── app.config
├── oSpy.csproj
├── oSpy.ico
├── oSpy.snk
├── oSpy1.sln
└── udis86-1.7
│ ├── libudis86.vcproj
│ ├── libudis86
│ ├── decode.c
│ ├── decode.h
│ ├── extern.h
│ ├── input.c
│ ├── input.h
│ ├── itab.c
│ ├── itab.h
│ ├── syn-att.c
│ ├── syn-intel.c
│ ├── syn.c
│ ├── syn.h
│ ├── types.h
│ └── udis86.c
│ └── udis86.h
├── oSpyAgent
├── Agent.cpp
├── Agent.h
├── AgentPlugin.h
├── BinaryLogger.cpp
├── BinaryLogger.h
├── Plugins
│ ├── AsyncIO
│ │ ├── AsyncIO.cpp
│ │ └── AsyncIO.vcproj
│ ├── MSNP2P
│ │ ├── MSNP2P.cpp
│ │ └── MSNP2P.vcproj
│ └── Template
│ │ ├── Template.cpp
│ │ └── Template.vcproj
├── ReadMe.txt
├── config.xml
├── oSpyAgent.vcproj
├── stdafx.cpp
└── stdafx.h
├── oSpyClassic
├── AboutBoxForm.Designer.cs
├── AboutBoxForm.cs
├── AboutBoxForm.resx
├── BacktraceForm.Designer.cs
├── BacktraceForm.cs
├── BacktraceForm.resx
├── CaptureForm.Designer.cs
├── CaptureForm.cs
├── CaptureForm.resx
├── Configuration
│ ├── ConfigManager.cs
│ ├── ParserConfigDialog.Designer.cs
│ ├── ParserConfigDialog.cs
│ ├── ParserConfigDialog.resx
│ └── ParserConfiguration.cs
├── ConversationsForm.Designer.cs
├── ConversationsForm.cs
├── ConversationsForm.resx
├── DataAnalysisForm.Designer.cs
├── DataAnalysisForm.cs
├── DataAnalysisForm.resx
├── DebugForm.Designer.cs
├── DebugForm.cs
├── DebugForm.resx
├── Deps
│ └── ICSharpCode.SharpZipLib.dll
├── Event
│ ├── SocketEventType.cs
│ └── TCPEvent.cs
├── ExtendedGraphics.cs
├── GroovyRichTextBox.cs
├── IDrawToBitmapFull.cs
├── Images
│ ├── activesync.png
│ ├── connected.png
│ ├── disconnected.png
│ ├── error.png
│ ├── event.png
│ ├── incoming.png
│ ├── info.png
│ ├── listening.png
│ ├── outgoing.png
│ └── warning.png
├── InjectForm.Designer.cs
├── InjectForm.cs
├── InjectForm.resx
├── Listener.cs
├── MainForm.Designer.cs
├── MainForm.cs
├── MainForm.resx
├── MultiSessionView.cs
├── Net
│ ├── IPEndpoint.cs
│ ├── IPPacket.cs
│ ├── IPSession.cs
│ ├── PacketParser.cs
│ ├── PacketSlice.cs
│ ├── PacketStream.cs
│ └── ProtocolError.cs
├── NewVisualizationForm.Designer.cs
├── NewVisualizationForm.cs
├── NewVisualizationForm.resx
├── Parser
│ ├── HTTP.cs
│ ├── ITransactionFactory.cs
│ ├── MSN.cs
│ ├── Oracle.cs
│ ├── RAPI.cs
│ ├── RRAC.cs
│ ├── RemSync.cs
│ ├── TransactionFactory.cs
│ ├── TransactionNode.cs
│ ├── TransactionNodeConverter.cs
│ ├── TransactionNodeList.cs
│ └── XMPP.cs
├── Program.cs
├── ProgressForm.Designer.cs
├── ProgressForm.cs
├── ProgressForm.resx
├── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
├── PropertyBag.cs
├── ShareSuccessForm.Designer.cs
├── ShareSuccessForm.cs
├── ShareSuccessForm.resx
├── ShareVisualizationForm.Designer.cs
├── ShareVisualizationForm.cs
├── ShareVisualizationForm.resx
├── SoftwallForm.Designer.cs
├── SoftwallForm.cs
├── SoftwallForm.resx
├── TextView.Designer.cs
├── TextView.cs
├── TextView.resx
├── TimelineNavigatorForm.Designer.cs
├── TimelineNavigatorForm.cs
├── TimelineNavigatorForm.resx
├── Util
│ ├── Constants.cs
│ ├── IDebugLogger.cs
│ ├── Util.cs
│ └── XML.cs
├── VisualSession.cs
├── VisualTransaction.cs
├── VisualTransaction.resx
├── WBXML.cs
├── Web References
│ └── oSpyRepository
│ │ ├── Reference.cs
│ │ ├── Reference.map
│ │ └── Repository.wsdl
├── app.config
└── oSpyClassic.csproj
├── oSpyDriverAgent
├── Agent.cpp
├── Agent.h
├── DriverEntry.cpp
├── Event.cpp
├── Event.h
├── Logger.cpp
├── Logger.h
├── Urb.cpp
├── Urb.h
└── oSpyDriverAgent.vcproj
├── oSpyStudio
├── AssemblyInfo.cs
├── EventNode.cs
├── EventNodeRenderer.cs
├── EventTimelineModel.cs
├── GLibSynchronizationContext.cs
├── Main.cs
├── MainWindow.cs
├── Widgets
│ ├── AssemblyInfo.cs
│ ├── INode.cs
│ ├── INodeRenderer.cs
│ ├── ITimelineModel.cs
│ ├── Point.cs
│ ├── Size.cs
│ ├── Tests
│ │ ├── AssemblyInfo.cs
│ │ ├── TestModel.cs
│ │ ├── TestNode.cs
│ │ ├── TestRenderer.cs
│ │ ├── TimelineLayoutTest.cs
│ │ ├── TimelineViewTest.cs
│ │ └── oSpyStudio.Widgets.Tests.csproj
│ ├── TimelineLayoutManager.cs
│ ├── TimelineView.cs
│ └── oSpyStudio.Widgets.csproj
├── app.desktop
├── gtk-gui
│ ├── MainWindow.cs
│ ├── generated.cs
│ └── gui.stetic
└── oSpyStudio.csproj
├── oSpyStudioTranslation
├── messages.po
├── nb.po
└── oSpyStudioTranslation.mdproj
├── old
├── UniHook
│ ├── Alloc.cpp
│ ├── Alloc.h
│ ├── SigMatch.cpp
│ ├── SigMatch.h
│ ├── UniHook.cpp
│ ├── UniHook.sln
│ ├── UniHook.vcproj
│ ├── Util.cpp
│ ├── Util.h
│ ├── stdafx.cpp
│ └── stdafx.h
└── oSpy
│ ├── AboutBoxForm.Designer.cs
│ ├── AboutBoxForm.cs
│ ├── AboutBoxForm.resx
│ ├── Agent
│ ├── Agent.h
│ ├── BinaryLogger.cpp
│ ├── BinaryLogger.h
│ ├── InterceptPPTest
│ │ ├── InterceptPPTest.cpp
│ │ └── InterceptPPTest.vcproj
│ ├── ObsoleteCode
│ │ ├── byte_buffer.cpp
│ │ ├── byte_buffer.h
│ │ ├── hookgenerator.pyw
│ │ ├── hooking.cpp
│ │ ├── hooking.h
│ │ ├── hooks.h
│ │ ├── hooks_activesync.cpp
│ │ ├── hooks_crypt.cpp
│ │ ├── hooks_httpapi.cpp
│ │ ├── hooks_kernel32.cpp
│ │ ├── hooks_msn.cpp
│ │ ├── hooks_secur32.cpp
│ │ ├── hooks_wininet.cpp
│ │ ├── hooks_winsock.cpp
│ │ ├── httpapi_util.cpp
│ │ ├── httpapi_util.h
│ │ ├── logging_old.cpp
│ │ ├── logging_old.h
│ │ ├── overlapped.cpp
│ │ ├── overlapped.h
│ │ ├── softwall.cpp
│ │ ├── softwall.h
│ │ ├── util.cpp
│ │ └── util.h
│ ├── ReadMe.txt
│ ├── SocketSpyAgent.vcproj
│ ├── agent.cpp
│ ├── config.xml
│ ├── stdafx.cpp
│ └── stdafx.h
│ ├── BacktraceForm.Designer.cs
│ ├── BacktraceForm.cs
│ ├── BacktraceForm.resx
│ ├── Capture
│ ├── ChooseForm.Designer.cs
│ ├── ChooseForm.cs
│ ├── ChooseForm.resx
│ ├── Converter.cs
│ ├── DumpFile.cs
│ ├── Manager.cs
│ ├── ProgressForm.Designer.cs
│ ├── ProgressForm.cs
│ └── ProgressForm.resx
│ ├── Configuration
│ ├── ConfigManager.cs
│ ├── ParserConfigDialog.Designer.cs
│ ├── ParserConfigDialog.cs
│ ├── ParserConfigDialog.resx
│ └── ParserConfiguration.cs
│ ├── ConversationsForm.Designer.cs
│ ├── ConversationsForm.cs
│ ├── ConversationsForm.resx
│ ├── DataAnalysisForm.Designer.cs
│ ├── DataAnalysisForm.cs
│ ├── DataAnalysisForm.resx
│ ├── DebugForm.Designer.cs
│ ├── DebugForm.cs
│ ├── DebugForm.resx
│ ├── Event
│ ├── SocketEventType.cs
│ └── TCPEvent.cs
│ ├── ExtendedGraphics.cs
│ ├── GroovyRichTextBox.cs
│ ├── IDrawToBitmapFull.cs
│ ├── Images
│ ├── activesync.png
│ ├── connected.png
│ ├── disconnected.png
│ ├── error.png
│ ├── event.png
│ ├── incoming.png
│ ├── info.png
│ ├── listening.png
│ ├── outgoing.png
│ └── warning.png
│ ├── Listener.cs
│ ├── MainForm.Designer.cs
│ ├── MainForm.cs
│ ├── MainForm.resx
│ ├── MultiSessionView.cs
│ ├── Net
│ ├── IPEndpoint.cs
│ ├── IPPacket.cs
│ ├── IPSession.cs
│ ├── PacketParser.cs
│ ├── PacketSlice.cs
│ ├── PacketStream.cs
│ └── ProtocolError.cs
│ ├── NewVisualizationForm.Designer.cs
│ ├── NewVisualizationForm.cs
│ ├── NewVisualizationForm.resx
│ ├── Parser
│ ├── HTTP.cs
│ ├── ITransactionFactory.cs
│ ├── MSN.cs
│ ├── Oracle.cs
│ ├── RAPI.cs
│ ├── RRAC.cs
│ ├── RemSync.cs
│ ├── TransactionFactory.cs
│ ├── TransactionNode.cs
│ ├── TransactionNodeConverter.cs
│ ├── TransactionNodeList.cs
│ └── XMPP.cs
│ ├── Program.cs
│ ├── ProgressForm.Designer.cs
│ ├── ProgressForm.cs
│ ├── ProgressForm.resx
│ ├── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
│ ├── PropertyBag.cs
│ ├── README.txt
│ ├── ShareSuccessForm.Designer.cs
│ ├── ShareSuccessForm.cs
│ ├── ShareSuccessForm.resx
│ ├── ShareVisualizationForm.Designer.cs
│ ├── ShareVisualizationForm.cs
│ ├── ShareVisualizationForm.resx
│ ├── SoftwallForm.Designer.cs
│ ├── SoftwallForm.cs
│ ├── SoftwallForm.resx
│ ├── Tests
│ └── PacketStream
│ │ ├── Program.cs
│ │ ├── Properties
│ │ └── AssemblyInfo.cs
│ │ └── TestPacketStream.csproj
│ ├── TextView.Designer.cs
│ ├── TextView.cs
│ ├── TextView.resx
│ ├── TimelineNavigatorForm.Designer.cs
│ ├── TimelineNavigatorForm.cs
│ ├── TimelineNavigatorForm.resx
│ ├── Util
│ ├── Constants.cs
│ ├── IDebugLogger.cs
│ ├── Util.cs
│ └── XML.cs
│ ├── VisualSession.cs
│ ├── VisualTransaction.cs
│ ├── VisualTransaction.resx
│ ├── WBXML.cs
│ ├── Web References
│ └── oSpyRepository
│ │ ├── Reference.map
│ │ └── Repository.wsdl
│ ├── app.config
│ ├── oSpy.csproj
│ └── oSpy.sln
├── udis86
├── .bzrignore
├── CHANGES
├── COPYING
├── CVS
│ ├── Entries
│ ├── Entries.Extra
│ ├── Entries.Extra.Old
│ ├── Entries.Old
│ ├── Repository
│ └── Root
├── LICENSE
├── Makefile.in
├── Makefile.win32
├── README
├── config.h.in
├── config.status
├── configure
├── configure.in
├── docs
│ ├── CVS
│ │ ├── Entries
│ │ ├── Entries.Extra
│ │ ├── Entries.Extra.Old
│ │ ├── Entries.Old
│ │ ├── Repository
│ │ └── Root
│ ├── doc.html
│ ├── index.html
│ ├── ss.jpg
│ └── style.css
├── install-sh
├── libudis86.vcproj
├── libudis86
│ ├── CVS
│ │ ├── Entries
│ │ ├── Entries.Extra
│ │ ├── Entries.Extra.Old
│ │ ├── Entries.Old
│ │ ├── Repository
│ │ └── Root
│ ├── Makefile.in
│ ├── Makefile.standalone
│ ├── Makefile.win32
│ ├── decode.c
│ ├── extern.h
│ ├── input.c
│ ├── input.h
│ ├── mnemonics.c
│ ├── mnemonics.dat
│ ├── mnemonics.h
│ ├── mnemonics.pl
│ ├── opcmap.c
│ ├── opcmap.h
│ ├── syn-att.c
│ ├── syn-intel.c
│ ├── syn.c
│ ├── syn.h
│ ├── types.h
│ └── udis86.c
├── mkinstalldirs
├── tests
│ ├── CVS
│ │ ├── Entries
│ │ ├── Entries.Extra
│ │ ├── Entries.Extra.Old
│ │ ├── Entries.Old
│ │ ├── Repository
│ │ └── Root
│ ├── Makefile
│ ├── Makefile.win32
│ ├── bufovrrun.c
│ ├── gen.c
│ ├── randtest.raw
│ ├── randtest16.ref
│ ├── randtest32.ref
│ ├── randtest64.ref
│ ├── test16.asm
│ ├── test32.asm
│ ├── test64.asm
│ ├── testjmp.asm
│ └── testjmp.ref
├── udcli
│ ├── CVS
│ │ ├── Entries
│ │ ├── Entries.Extra
│ │ ├── Entries.Extra.Old
│ │ ├── Entries.Old
│ │ ├── Repository
│ │ └── Root
│ ├── Makefile.in
│ ├── Makefile.win32
│ └── udcli.c
└── udis86.h
└── vsprops
├── Common-Win32.vsprops
├── Common-x64.vsprops
├── Common.vsprops
├── Debug-Win32.vsprops
├── Debug-x64.vsprops
├── Release-Win32.vsprops
├── Release-x64.vsprops
├── ReleaseWdkCrt-Win32.vsprops
├── ReleaseWdkCrt-x64.vsprops
└── oSpyAgentPlugin.vsprops
/EasyHook/DriverShared/ASM/ILD_x64.asm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/EasyHook/DriverShared/ASM/ILD_x64.asm
--------------------------------------------------------------------------------
/EasyHook/DriverShared/ASM/ILD_x86.asm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/EasyHook/DriverShared/ASM/ILD_x86.asm
--------------------------------------------------------------------------------
/EasyHook/EasyHook/StrongName.snk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/EasyHook/EasyHook/StrongName.snk
--------------------------------------------------------------------------------
/EasyHook/EasyHookDll/AUX_ULIB_x64.LIB:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/EasyHook/EasyHookDll/AUX_ULIB_x64.LIB
--------------------------------------------------------------------------------
/EasyHook/EasyHookDll/AUX_ULIB_x86.LIB:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/EasyHook/EasyHookDll/AUX_ULIB_x86.LIB
--------------------------------------------------------------------------------
/EasyHook/EasyHookDll/GS_x64.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/EasyHook/EasyHookDll/GS_x64.lib
--------------------------------------------------------------------------------
/EasyHook/EasyHookDll/GS_x86.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/EasyHook/EasyHookDll/GS_x86.lib
--------------------------------------------------------------------------------
/EasyHook/EasyHookSvc/InjectionService.designer.cs:
--------------------------------------------------------------------------------
1 | namespace EasyHookSvc
2 | {
3 | partial class InjectionService
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | /// true if managed resources should be disposed; otherwise, false.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Component Designer generated code
24 |
25 | ///
26 | /// Required method for Designer support - do not modify
27 | /// the contents of this method with the code editor.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | components = new System.ComponentModel.Container();
32 | }
33 |
34 | #endregion
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/EasyHook/EasyHookSvc/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("EasyHookSvc")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("Microsoft")]
12 | [assembly: AssemblyProduct("EasyHookSvc")]
13 | [assembly: AssemblyCopyright("Copyright © Microsoft 2008")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("357cd24e-2c31-4360-9325-baacd4f090cf")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | [assembly: AssemblyVersion("1.0.0.0")]
33 | [assembly: AssemblyFileVersion("1.0.0.0")]
34 |
--------------------------------------------------------------------------------
/EasyHook/EasyHookSvc/StrongName.snk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/EasyHook/EasyHookSvc/StrongName.snk
--------------------------------------------------------------------------------
/EasyHook/EasyHookSys.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 10.00
3 | # Visual Studio 2008
4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "EasyHookSys", "EasyHookSys\EasyHookSys.vcproj", "{FBD0F846-1AAE-4019-9ED2-11D725C99999}"
5 | EndProject
6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TestDriver", "Examples\TestDriver\TestDriver.vcproj", "{F852CED2-5956-4CC1-88D5-4BE1BC745000}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Win32 = Debug|Win32
11 | Debug|x64 = Debug|x64
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {FBD0F846-1AAE-4019-9ED2-11D725C99999}.Debug|Win32.ActiveCfg = Debug|Win32
15 | {FBD0F846-1AAE-4019-9ED2-11D725C99999}.Debug|Win32.Build.0 = Debug|Win32
16 | {FBD0F846-1AAE-4019-9ED2-11D725C99999}.Debug|x64.ActiveCfg = Debug|x64
17 | {FBD0F846-1AAE-4019-9ED2-11D725C99999}.Debug|x64.Build.0 = Debug|x64
18 | {F852CED2-5956-4CC1-88D5-4BE1BC745000}.Debug|Win32.ActiveCfg = Debug|Win32
19 | {F852CED2-5956-4CC1-88D5-4BE1BC745000}.Debug|Win32.Build.0 = Debug|Win32
20 | {F852CED2-5956-4CC1-88D5-4BE1BC745000}.Debug|x64.ActiveCfg = Debug|x64
21 | {F852CED2-5956-4CC1-88D5-4BE1BC745000}.Debug|x64.Build.0 = Debug|x64
22 | EndGlobalSection
23 | GlobalSection(SolutionProperties) = preSolution
24 | HideSolutionNode = FALSE
25 | EndGlobalSection
26 | EndGlobal
27 |
--------------------------------------------------------------------------------
/EasyHook/EasyHookSys/stdafx.h:
--------------------------------------------------------------------------------
1 | /*
2 | EasyHook - The reinvention of Windows API hooking
3 |
4 | Copyright (C) 2009 Christoph Husse
5 |
6 | This library is free software; you can redistribute it and/or
7 | modify it under the terms of the GNU Lesser General Public
8 | License as published by the Free Software Foundation; either
9 | version 2.1 of the License, or (at your option) any later version.
10 |
11 | This library is distributed in the hope that it will be useful,
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 | Lesser General Public License for more details.
15 |
16 | You should have received a copy of the GNU Lesser General Public
17 | License along with this library; if not, write to the Free Software
18 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 |
20 | Please visit http://www.codeplex.com/easyhook for more information
21 | about the project and latest updates.
22 | */
23 | #ifndef _STDAFX_H_
24 | #define _STDAFX_H_
25 |
26 | #include "easyhook.h"
27 | #include "drivershared.h"
28 |
29 | #define RTL_SUCCESS(ntstatus) NT_SUCCESS(ntstatus)
30 |
31 | EASYHOOK_NT_INTERNAL RunTestSuite();
32 | void LhBarrierThreadDetach();
33 | NTSTATUS LhBarrierProcessAttach();
34 | void LhBarrierProcessDetach();
35 |
36 | extern BOOLEAN LhModuleListChanged;
37 |
38 | #endif
--------------------------------------------------------------------------------
/EasyHook/EasyHookTestCert.cer:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/EasyHook/EasyHookTestCert.cer
--------------------------------------------------------------------------------
/EasyHook/Examples/FileMon/Examples.snk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/EasyHook/Examples/FileMon/Examples.snk
--------------------------------------------------------------------------------
/EasyHook/Examples/FileMon/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("FileMon")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("Microsoft")]
12 | [assembly: AssemblyProduct("FileMon")]
13 | [assembly: AssemblyCopyright("Copyright © Microsoft 2008")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("945059ee-646f-4be6-8d29-e452861393d1")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | [assembly: AssemblyVersion("1.0.0.0")]
33 | [assembly: AssemblyFileVersion("1.0.0.0")]
34 |
--------------------------------------------------------------------------------
/EasyHook/Examples/FileMonInject/Examples.snk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/EasyHook/Examples/FileMonInject/Examples.snk
--------------------------------------------------------------------------------
/EasyHook/Examples/FileMonInject/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("FileMonInject")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("Microsoft")]
12 | [assembly: AssemblyProduct("FileMonInject")]
13 | [assembly: AssemblyCopyright("Copyright © Microsoft 2008")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("36a45e55-9bef-4585-8a0d-a1a91cc71cb1")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Revision and Build Numbers
33 | // by using the '*' as shown below:
34 | [assembly: AssemblyVersion("1.0.0.0")]
35 | [assembly: AssemblyFileVersion("1.0.0.0")]
36 |
--------------------------------------------------------------------------------
/EasyHook/Examples/ProcMonInject/Examples.snk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/EasyHook/Examples/ProcMonInject/Examples.snk
--------------------------------------------------------------------------------
/EasyHook/Examples/ProcMonInject/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("ProcMonInject")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("Microsoft")]
12 | [assembly: AssemblyProduct("ProcMonInject")]
13 | [assembly: AssemblyCopyright("Copyright © Microsoft 2008")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("a66c07bb-6935-4e67-bb5d-e18da28ce543")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Revision and Build Numbers
33 | // by using the '*' as shown below:
34 | [assembly: AssemblyVersion("1.0.0.0")]
35 | [assembly: AssemblyFileVersion("1.0.0.0")]
36 |
--------------------------------------------------------------------------------
/EasyHook/Examples/ProcessMonitor/Examples.snk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/EasyHook/Examples/ProcessMonitor/Examples.snk
--------------------------------------------------------------------------------
/EasyHook/Examples/ProcessMonitor/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Windows.Forms;
4 | using System.Text;
5 | using EasyHook;
6 |
7 | namespace ProcessMonitor
8 | {
9 | static class Program
10 | {
11 | ///
12 | /// The main entry point for the application.
13 | ///
14 | [STAThread]
15 | static void Main()
16 | {
17 | try
18 | {
19 | Config.Register(
20 | "A simple ProcessMonitor based on EasyHook!",
21 | "ProcMonInject.dll",
22 | "ProcessMonitor.exe");
23 | }
24 | catch (ApplicationException)
25 | {
26 | MessageBox.Show("This is an administrative task!", "Permission denied...", MessageBoxButtons.OK);
27 |
28 | System.Diagnostics.Process.GetCurrentProcess().Kill();
29 | }
30 |
31 | Application.EnableVisualStyles();
32 | Application.SetCompatibleTextRenderingDefault(false);
33 | Application.Run(new Form1());
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/EasyHook/Examples/ProcessMonitor/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("ProcessMonitor")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("Microsoft")]
12 | [assembly: AssemblyProduct("ProcessMonitor")]
13 | [assembly: AssemblyCopyright("Copyright © Microsoft 2008")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("57cd4a0a-9083-43e8-bdb9-88f361a2a073")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | [assembly: AssemblyVersion("1.0.0.0")]
33 | [assembly: AssemblyFileVersion("1.0.0.0")]
34 |
--------------------------------------------------------------------------------
/EasyHook/Test/ManagedTarget/Form1.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace ManagedTarget
2 | {
3 | partial class Form1
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | /// true if managed resources should be disposed; otherwise, false.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Windows Form Designer generated code
24 |
25 | ///
26 | /// Required method for Designer support - do not modify
27 | /// the contents of this method with the code editor.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | this.components = new System.ComponentModel.Container();
32 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
33 | this.Text = "Form1";
34 | }
35 |
36 | #endregion
37 | }
38 | }
39 |
40 |
--------------------------------------------------------------------------------
/EasyHook/Test/ManagedTarget/Form1.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.Text;
7 | using System.Windows.Forms;
8 |
9 | namespace ManagedTarget
10 | {
11 | public partial class Form1 : Form
12 | {
13 | public Form1()
14 | {
15 | InitializeComponent();
16 | }
17 | }
18 | }
--------------------------------------------------------------------------------
/EasyHook/Test/ManagedTarget/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Windows.Forms;
4 |
5 | namespace ManagedTarget
6 | {
7 | static class Program
8 | {
9 | ///
10 | /// The main entry point for the application.
11 | ///
12 | [STAThread]
13 | static void Main()
14 | {
15 | Application.EnableVisualStyles();
16 | Application.SetCompatibleTextRenderingDefault(false);
17 | Application.Run(new Form1());
18 | }
19 | }
20 | }
--------------------------------------------------------------------------------
/EasyHook/Test/ManagedTarget/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("ManagedTarget")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("Microsoft")]
12 | [assembly: AssemblyProduct("ManagedTarget")]
13 | [assembly: AssemblyCopyright("Copyright © Microsoft 2009")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("21acdbe5-7fb9-44b9-817b-f6997bd5ff6e")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | [assembly: AssemblyVersion("1.0.0.0")]
33 | [assembly: AssemblyFileVersion("1.0.0.0")]
34 |
--------------------------------------------------------------------------------
/EasyHook/Test/ManagedTarget/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:2.0.50727.4927
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace ManagedTarget.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "9.0.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/EasyHook/Test/ManagedTarget/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/EasyHook/Test/ManagedTest/Main.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Examples
6 | {
7 | public class Program
8 | {
9 | public static void Main()
10 | {
11 | //RHTest.Run();
12 | LHTest.Run();
13 |
14 | Console.ReadLine();
15 | }
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/EasyHook/Test/ManagedTest/ManagedTest.idc:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/EasyHook/Test/ManagedTest/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("ManagedTest")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("Microsoft")]
12 | [assembly: AssemblyProduct("ManagedTest")]
13 | [assembly: AssemblyCopyright("Copyright © Microsoft 2008")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("c57ab125-d46b-419a-a543-fb32edd7b3aa")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | [assembly: AssemblyVersion("1.0.0.0")]
33 | [assembly: AssemblyFileVersion("1.0.0.0")]
34 |
--------------------------------------------------------------------------------
/EasyHook/Test/ManagedTest/StrongName.snk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/EasyHook/Test/ManagedTest/StrongName.snk
--------------------------------------------------------------------------------
/IDAScripts/apply_osym.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/IDAScripts/apply_osym.py
--------------------------------------------------------------------------------
/IDAScripts/find_unmapped_funcs.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/IDAScripts/find_unmapped_funcs.py
--------------------------------------------------------------------------------
/IDAScripts/osym_from_debug.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/IDAScripts/osym_from_debug.py
--------------------------------------------------------------------------------
/IDAScripts/util.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/IDAScripts/util.py
--------------------------------------------------------------------------------
/InterceptPP/Alloc.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/InterceptPP/Alloc.cpp
--------------------------------------------------------------------------------
/InterceptPP/Alloc.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/InterceptPP/Alloc.h
--------------------------------------------------------------------------------
/InterceptPP/ConsoleLogger.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/InterceptPP/ConsoleLogger.cpp
--------------------------------------------------------------------------------
/InterceptPP/ConsoleLogger.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/InterceptPP/ConsoleLogger.h
--------------------------------------------------------------------------------
/InterceptPP/Core.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/InterceptPP/Core.cpp
--------------------------------------------------------------------------------
/InterceptPP/Core.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/InterceptPP/Core.h
--------------------------------------------------------------------------------
/InterceptPP/DLL.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/InterceptPP/DLL.cpp
--------------------------------------------------------------------------------
/InterceptPP/DLL.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/InterceptPP/DLL.h
--------------------------------------------------------------------------------
/InterceptPP/Errors.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/InterceptPP/Errors.h
--------------------------------------------------------------------------------
/InterceptPP/HookManager.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/InterceptPP/HookManager.cpp
--------------------------------------------------------------------------------
/InterceptPP/HookManager.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/InterceptPP/HookManager.h
--------------------------------------------------------------------------------
/InterceptPP/InterceptPP.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/InterceptPP/InterceptPP.h
--------------------------------------------------------------------------------
/InterceptPP/Logging.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/InterceptPP/Logging.cpp
--------------------------------------------------------------------------------
/InterceptPP/Logging.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/InterceptPP/Logging.h
--------------------------------------------------------------------------------
/InterceptPP/Marshallers.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/InterceptPP/Marshallers.cpp
--------------------------------------------------------------------------------
/InterceptPP/Marshallers.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/InterceptPP/Marshallers.h
--------------------------------------------------------------------------------
/InterceptPP/NullLogger.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/InterceptPP/NullLogger.h
--------------------------------------------------------------------------------
/InterceptPP/ReadMe.txt:
--------------------------------------------------------------------------------
1 | Intercept++
2 | -----------
3 |
4 | Library that deals with runtime-interception of APIs. [FIXME: Write a proper README.]
--------------------------------------------------------------------------------
/InterceptPP/STL.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/InterceptPP/STL.h
--------------------------------------------------------------------------------
/InterceptPP/Signature.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/InterceptPP/Signature.cpp
--------------------------------------------------------------------------------
/InterceptPP/Signature.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/InterceptPP/Signature.h
--------------------------------------------------------------------------------
/InterceptPP/Tests/HookManagerTest.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/InterceptPP/Tests/HookManagerTest.cpp
--------------------------------------------------------------------------------
/InterceptPP/Tests/SignatureTest.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/InterceptPP/Tests/SignatureTest.cpp
--------------------------------------------------------------------------------
/InterceptPP/Tests/UDis86Test.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/InterceptPP/Tests/UDis86Test.cpp
--------------------------------------------------------------------------------
/InterceptPP/Util.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/InterceptPP/Util.cpp
--------------------------------------------------------------------------------
/InterceptPP/Util.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/InterceptPP/Util.h
--------------------------------------------------------------------------------
/InterceptPP/VTable.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/InterceptPP/VTable.cpp
--------------------------------------------------------------------------------
/InterceptPP/VTable.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/InterceptPP/VTable.h
--------------------------------------------------------------------------------
/SharpZipLib/ICSharpCode.SharpZipLib.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/SharpZipLib/ICSharpCode.SharpZipLib.dll
--------------------------------------------------------------------------------
/oSpy.SharpDumpLib/Dump.cs:
--------------------------------------------------------------------------------
1 | //
2 | // Copyright (c) 2009 Ole André Vadla Ravnås
3 | //
4 | // This library is free software: you can redistribute it and/or modify
5 | // it under the terms of the GNU General Public License as published by
6 | // the Free Software Foundation, either version 3 of the License, or
7 | // (at your option) any later version.
8 | //
9 | // This library is distributed in the hope that it will be useful,
10 | // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | // GNU General Public License for more details.
13 | //
14 | // You should have received a copy of the GNU General Public License
15 | // along with this program. If not, see .
16 | //
17 |
18 | using System;
19 | using System.Collections.Generic;
20 |
21 | namespace oSpy.SharpDumpLib
22 | {
23 | public class Dump
24 | {
25 | private SortedDictionary m_events = new SortedDictionary();
26 |
27 | public SortedDictionary Events
28 | {
29 | get
30 | {
31 | return m_events;
32 | }
33 | }
34 |
35 | public void AddEvent(Event ev)
36 | {
37 | if (m_events.ContainsKey(ev.Id))
38 | throw new System.IO.InvalidDataException(String.Format("id {0} is already in the dump", ev.Id));
39 | m_events[ev.Id] = ev;
40 | }
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/oSpy.SharpDumpLib/IDataTransfer.cs:
--------------------------------------------------------------------------------
1 | //
2 | // Copyright (c) 2009 Ole André Vadla Ravnås
3 | //
4 | // This library is free software: you can redistribute it and/or modify
5 | // it under the terms of the GNU General Public License as published by
6 | // the Free Software Foundation, either version 3 of the License, or
7 | // (at your option) any later version.
8 | //
9 | // This library is distributed in the hope that it will be useful,
10 | // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | // GNU General Public License for more details.
13 | //
14 | // You should have received a copy of the GNU General Public License
15 | // along with this program. If not, see .
16 | //
17 |
18 | using System;
19 |
20 | namespace oSpy.SharpDumpLib
21 | {
22 | public interface IDataTransfer
23 | {
24 | DataTransferDirection Direction
25 | {
26 | get;
27 | }
28 |
29 | byte[] IncomingData
30 | {
31 | get;
32 | }
33 |
34 | byte[] OutgoingData
35 | {
36 | get;
37 | }
38 | }
39 |
40 | public enum DataTransferDirection
41 | {
42 | Incoming,
43 | Outgoing,
44 | Both
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/oSpy.SharpDumpLib/ITag.cs:
--------------------------------------------------------------------------------
1 | //
2 | // Copyright (c) 2009 Ole André Vadla Ravnås
3 | //
4 | // This library is free software: you can redistribute it and/or modify
5 | // it under the terms of the GNU General Public License as published by
6 | // the Free Software Foundation, either version 3 of the License, or
7 | // (at your option) any later version.
8 | //
9 | // This library is distributed in the hope that it will be useful,
10 | // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | // GNU General Public License for more details.
13 | //
14 | // You should have received a copy of the GNU General Public License
15 | // along with this program. If not, see .
16 | //
17 |
18 | using System;
19 |
20 | namespace oSpy.SharpDumpLib
21 | {
22 | public interface ITag
23 | {
24 | string Name
25 | {
26 | get;
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/oSpy.SharpDumpLib/ITagFactory.cs:
--------------------------------------------------------------------------------
1 | //
2 | // Copyright (c) 2009 Ole André Vadla Ravnås
3 | //
4 | // This library is free software: you can redistribute it and/or modify
5 | // it under the terms of the GNU General Public License as published by
6 | // the Free Software Foundation, either version 3 of the License, or
7 | // (at your option) any later version.
8 | //
9 | // This library is distributed in the hope that it will be useful,
10 | // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | // GNU General Public License for more details.
13 | //
14 | // You should have received a copy of the GNU General Public License
15 | // along with this program. If not, see .
16 | //
17 |
18 | using System;
19 |
20 | namespace oSpy.SharpDumpLib
21 | {
22 | public interface ITagFactory
23 | {
24 | ITag[] GetTags(Event ev);
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/oSpy.SharpDumpLib/ResourceTag.cs:
--------------------------------------------------------------------------------
1 | //
2 | // Copyright (c) 2009 Ole André Vadla Ravnås
3 | //
4 | // This library is free software: you can redistribute it and/or modify
5 | // it under the terms of the GNU General Public License as published by
6 | // the Free Software Foundation, either version 3 of the License, or
7 | // (at your option) any later version.
8 | //
9 | // This library is distributed in the hope that it will be useful,
10 | // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | // GNU General Public License for more details.
13 | //
14 | // You should have received a copy of the GNU General Public License
15 | // along with this program. If not, see .
16 | //
17 |
18 | using System;
19 |
20 | namespace oSpy.SharpDumpLib
21 | {
22 | public abstract class ResourceTag : ITag
23 | {
24 | protected uint m_resourceHandle;
25 |
26 | public abstract string Name
27 | {
28 | get;
29 | }
30 |
31 | public uint ResourceHandle
32 | {
33 | get
34 | {
35 | return m_resourceHandle;
36 | }
37 | }
38 |
39 | public ResourceTag(uint handle)
40 | {
41 | m_resourceHandle = handle;
42 | }
43 | }
44 | }
45 |
--------------------------------------------------------------------------------
/oSpy.SharpDumpLib/Socket/ResourceTag.cs:
--------------------------------------------------------------------------------
1 | //
2 | // Copyright (c) 2009 Ole André Vadla Ravnås
3 | //
4 | // This library is free software: you can redistribute it and/or modify
5 | // it under the terms of the GNU General Public License as published by
6 | // the Free Software Foundation, either version 3 of the License, or
7 | // (at your option) any later version.
8 | //
9 | // This library is distributed in the hope that it will be useful,
10 | // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | // GNU General Public License for more details.
13 | //
14 | // You should have received a copy of the GNU General Public License
15 | // along with this program. If not, see .
16 | //
17 |
18 | using System;
19 |
20 | namespace oSpy.SharpDumpLib.Socket
21 | {
22 | public class SocketResourceTag : ResourceTag
23 | {
24 | public override string Name
25 | {
26 | get
27 | {
28 | return "Socket";
29 | }
30 | }
31 |
32 | public SocketResourceTag(uint handle)
33 | : base(handle)
34 | {
35 | }
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/oSpy.SharpDumpLib/Tests/XmlString.cs:
--------------------------------------------------------------------------------
1 | //
2 | // Copyright (c) 2009 Ole André Vadla Ravnås
3 | //
4 | // This program is free software: you can redistribute it and/or modify
5 | // it under the terms of the GNU General Public License as published by
6 | // the Free Software Foundation, either version 3 of the License, or
7 | // (at your option) any later version.
8 | //
9 | // This program is distributed in the hope that it will be useful,
10 | // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | // GNU General Public License for more details.
13 | //
14 | // You should have received a copy of the GNU General Public License
15 | // along with this program. If not, see .
16 | //
17 |
18 | using System.Xml;
19 |
20 | namespace oSpy.SharpDumpLib.Tests
21 | {
22 | public class XmlString
23 | {
24 | public static string Canonicalize(string xml)
25 | {
26 | XmlDocument doc = new XmlDocument();
27 | doc.LoadXml(xml);
28 | doc.Normalize();
29 | return doc.DocumentElement.OuterXml;
30 | }
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/oSpy.SharpDumpLib/Tests/events2cs.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 |
3 | import sys
4 |
5 | inputfile = sys.argv[1]
6 | selectedindex = int(sys.argv[2])
7 |
8 | f = open(inputfile)
9 | buf = ''
10 | i = 0
11 | while True:
12 | startidx = buf.find('')
14 | if startidx < 0 or endidx < 0:
15 | chunk = f.read(16384)
16 | if chunk == '': break
17 | buf += chunk
18 | continue
19 | endidx += 8
20 |
21 | if i == selectedindex:
22 | eventxml = buf[startidx:endidx]
23 | lines = eventxml.split('\n')
24 | lines[0] = '\t' + lines[0]
25 | result = []
26 | for line in lines:
27 | convertedline = line
28 | if convertedline[0] == '\t':
29 | convertedline = convertedline[1:]
30 | prefix = ' '
31 | if result: prefix += '+'
32 | else: prefix += ' '
33 | indentspaces = ''
34 | for c in convertedline:
35 | if c == '\t':
36 | indentspaces += ' '
37 | else:
38 | break
39 | content = convertedline.replace('"', '\\"').replace('\t', '')
40 | convertedline = prefix + '%s"%s"' % (indentspaces, content)
41 | result.append(convertedline)
42 |
43 | result[-1] += ';'
44 | print "\n".join(result)
45 | break
46 |
47 | buf = buf[endidx:]
48 | i += 1
49 |
--------------------------------------------------------------------------------
/oSpy.SharpDumpLib/oSpy.SharpDumpLib.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 9.00
3 | # Visual Studio 2005
4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "oSpy.SharpDumpLib", "oSpy.SharpDumpLib.csproj", "{4888CEE7-9E21-4558-89EB-7D2D2838B48B}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|Any CPU = Debug|Any CPU
9 | Release|Any CPU = Release|Any CPU
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {4888CEE7-9E21-4558-89EB-7D2D2838B48B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
13 | {4888CEE7-9E21-4558-89EB-7D2D2838B48B}.Debug|Any CPU.Build.0 = Debug|Any CPU
14 | {4888CEE7-9E21-4558-89EB-7D2D2838B48B}.Release|Any CPU.ActiveCfg = Release|Any CPU
15 | {4888CEE7-9E21-4558-89EB-7D2D2838B48B}.Release|Any CPU.Build.0 = Release|Any CPU
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | EndGlobal
21 |
--------------------------------------------------------------------------------
/oSpy.SharpDumpLib/oSpy.SharpDumpLib.userprefs:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/oSpy/AboutBoxForm.Designer.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy/AboutBoxForm.Designer.cs
--------------------------------------------------------------------------------
/oSpy/AboutBoxForm.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy/AboutBoxForm.cs
--------------------------------------------------------------------------------
/oSpy/Capture/ChooseForm.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy/Capture/ChooseForm.cs
--------------------------------------------------------------------------------
/oSpy/Capture/Devices.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy/Capture/Devices.cs
--------------------------------------------------------------------------------
/oSpy/Capture/ProgressForm.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy/Capture/ProgressForm.cs
--------------------------------------------------------------------------------
/oSpy/Constants.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy/Constants.cs
--------------------------------------------------------------------------------
/oSpy/Images/error.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy/Images/error.png
--------------------------------------------------------------------------------
/oSpy/Images/event.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy/Images/event.png
--------------------------------------------------------------------------------
/oSpy/Images/info.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy/Images/info.png
--------------------------------------------------------------------------------
/oSpy/Images/warning.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy/Images/warning.png
--------------------------------------------------------------------------------
/oSpy/MainForm.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy/MainForm.cs
--------------------------------------------------------------------------------
/oSpy/Playground/ExtendedGraphics.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy/Playground/ExtendedGraphics.cs
--------------------------------------------------------------------------------
/oSpy/Playground/IDrawToBitmapFull.cs:
--------------------------------------------------------------------------------
1 | //
2 | // Copyright (c) 2007 Ole André Vadla Ravnås
3 | //
4 | // This program is free software: you can redistribute it and/or modify
5 | // it under the terms of the GNU General Public License as published by
6 | // the Free Software Foundation, either version 3 of the License, or
7 | // (at your option) any later version.
8 | //
9 | // This program is distributed in the hope that it will be useful,
10 | // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | // GNU General Public License for more details.
13 | //
14 | // You should have received a copy of the GNU General Public License
15 | // along with this program. If not, see .
16 | //
17 |
18 | using System;
19 | using System.Collections.Generic;
20 | using System.Text;
21 | using System.Drawing;
22 |
23 | namespace oSpy.Playground
24 | {
25 | public interface IDrawToBitmapFull
26 | {
27 | void DrawToBitmapFull(Bitmap bitmap, int x, int y);
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/oSpy/Playground/MultiSessionView.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy/Playground/MultiSessionView.cs
--------------------------------------------------------------------------------
/oSpy/Playground/VisualSession.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy/Playground/VisualSession.cs
--------------------------------------------------------------------------------
/oSpy/Playground/VisualTransaction.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy/Playground/VisualTransaction.cs
--------------------------------------------------------------------------------
/oSpy/Program.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy/Program.cs
--------------------------------------------------------------------------------
/oSpy/ProgressForm.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy/ProgressForm.cs
--------------------------------------------------------------------------------
/oSpy/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:2.0.50727.1434
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace oSpy.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "9.0.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/oSpy/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/oSpy/SoftwallForm.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy/SoftwallForm.cs
--------------------------------------------------------------------------------
/oSpy/app.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/oSpy1/AboutBoxForm.Designer.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/AboutBoxForm.Designer.cs
--------------------------------------------------------------------------------
/oSpy1/AboutBoxForm.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/AboutBoxForm.cs
--------------------------------------------------------------------------------
/oSpy1/Agent/AssemblyInfo.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Agent/AssemblyInfo.cpp
--------------------------------------------------------------------------------
/oSpy1/Agent/Controller.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Agent/Controller.cpp
--------------------------------------------------------------------------------
/oSpy1/Agent/Controller.hpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Agent/Controller.hpp
--------------------------------------------------------------------------------
/oSpy1/Agent/Hooks/Monitor.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Agent/Hooks/Monitor.cpp
--------------------------------------------------------------------------------
/oSpy1/Agent/Hooks/Monitor.hpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Agent/Hooks/Monitor.hpp
--------------------------------------------------------------------------------
/oSpy1/Agent/Hooks/OpenGL.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Agent/Hooks/OpenGL.cpp
--------------------------------------------------------------------------------
/oSpy1/Agent/Hooks/OpenGL.hpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Agent/Hooks/OpenGL.hpp
--------------------------------------------------------------------------------
/oSpy1/Agent/IEventLogger.hpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Agent/IEventLogger.hpp
--------------------------------------------------------------------------------
/oSpy1/Agent/Legacy/agent.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Agent/Legacy/agent.cpp
--------------------------------------------------------------------------------
/oSpy1/Agent/Legacy/alloc.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Agent/Legacy/alloc.h
--------------------------------------------------------------------------------
/oSpy1/Agent/Legacy/byte_buffer.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Agent/Legacy/byte_buffer.cpp
--------------------------------------------------------------------------------
/oSpy1/Agent/Legacy/byte_buffer.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Agent/Legacy/byte_buffer.h
--------------------------------------------------------------------------------
/oSpy1/Agent/Legacy/hookgenerator.pyw:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Agent/Legacy/hookgenerator.pyw
--------------------------------------------------------------------------------
/oSpy1/Agent/Legacy/hooking.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Agent/Legacy/hooking.cpp
--------------------------------------------------------------------------------
/oSpy1/Agent/Legacy/hooking.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Agent/Legacy/hooking.h
--------------------------------------------------------------------------------
/oSpy1/Agent/Legacy/hooks.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Agent/Legacy/hooks.h
--------------------------------------------------------------------------------
/oSpy1/Agent/Legacy/hooks_activesync.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Agent/Legacy/hooks_activesync.cpp
--------------------------------------------------------------------------------
/oSpy1/Agent/Legacy/hooks_crypt.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Agent/Legacy/hooks_crypt.cpp
--------------------------------------------------------------------------------
/oSpy1/Agent/Legacy/hooks_httpapi.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Agent/Legacy/hooks_httpapi.cpp
--------------------------------------------------------------------------------
/oSpy1/Agent/Legacy/hooks_msn.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Agent/Legacy/hooks_msn.cpp
--------------------------------------------------------------------------------
/oSpy1/Agent/Legacy/hooks_secur32.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Agent/Legacy/hooks_secur32.cpp
--------------------------------------------------------------------------------
/oSpy1/Agent/Legacy/hooks_wininet.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Agent/Legacy/hooks_wininet.cpp
--------------------------------------------------------------------------------
/oSpy1/Agent/Legacy/hooks_winsock.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Agent/Legacy/hooks_winsock.cpp
--------------------------------------------------------------------------------
/oSpy1/Agent/Legacy/httpapi_util.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Agent/Legacy/httpapi_util.cpp
--------------------------------------------------------------------------------
/oSpy1/Agent/Legacy/httpapi_util.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Agent/Legacy/httpapi_util.h
--------------------------------------------------------------------------------
/oSpy1/Agent/Legacy/logging.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Agent/Legacy/logging.cpp
--------------------------------------------------------------------------------
/oSpy1/Agent/Legacy/logging.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Agent/Legacy/logging.h
--------------------------------------------------------------------------------
/oSpy1/Agent/Legacy/overlapped.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Agent/Legacy/overlapped.cpp
--------------------------------------------------------------------------------
/oSpy1/Agent/Legacy/overlapped.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Agent/Legacy/overlapped.h
--------------------------------------------------------------------------------
/oSpy1/Agent/Legacy/softwall.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Agent/Legacy/softwall.cpp
--------------------------------------------------------------------------------
/oSpy1/Agent/Legacy/softwall.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Agent/Legacy/softwall.h
--------------------------------------------------------------------------------
/oSpy1/Agent/Legacy/util.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Agent/Legacy/util.cpp
--------------------------------------------------------------------------------
/oSpy1/Agent/Legacy/util.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Agent/Legacy/util.h
--------------------------------------------------------------------------------
/oSpy1/Agent/Stdafx.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Agent/Stdafx.cpp
--------------------------------------------------------------------------------
/oSpy1/Capture/AttachForm.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Capture/AttachForm.cs
--------------------------------------------------------------------------------
/oSpy1/Capture/PacketEvent.cs:
--------------------------------------------------------------------------------
1 | //
2 | // Copyright (c) 2009 Ole André Vadla Ravnås
3 | //
4 | // This program is free software: you can redistribute it and/or modify
5 | // it under the terms of the GNU General Public License as published by
6 | // the Free Software Foundation, either version 3 of the License, or
7 | // (at your option) any later version.
8 | //
9 | // This program is distributed in the hope that it will be useful,
10 | // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | // GNU General Public License for more details.
13 | //
14 | // You should have received a copy of the GNU General Public License
15 | // along with this program. If not, see .
16 | //
17 |
18 | using System;
19 |
20 | namespace oSpy.Capture
21 | {
22 | [Serializable]
23 | public class PacketEvent : Event
24 | {
25 | public PacketEvent(EventCoordinator coordinator, InvocationOrigin invocationOrigin)
26 | : base(coordinator, invocationOrigin)
27 | {
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/oSpy1/Capture/ProgressForm.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Capture/ProgressForm.cs
--------------------------------------------------------------------------------
/oSpy1/ConversationsForm.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/ConversationsForm.cs
--------------------------------------------------------------------------------
/oSpy1/DebugForm.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/DebugForm.cs
--------------------------------------------------------------------------------
/oSpy1/Event/SocketEventType.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Event/SocketEventType.cs
--------------------------------------------------------------------------------
/oSpy1/Event/TCPEvent.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Event/TCPEvent.cs
--------------------------------------------------------------------------------
/oSpy1/IDrawToBitmapFull.cs:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (C) 2007 Ole André Vadla Ravnås
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; either version 2 of the License, or
7 | * (at your option) any later version.
8 | *
9 | * This program is distributed in the hope that it will be useful,
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | * GNU General Public License for more details.
13 | *
14 | * You should have received a copy of the GNU General Public License
15 | * along with this program; if not, write to the Free Software
16 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17 | */
18 |
19 |
20 | using System;
21 | using System.Collections.Generic;
22 | using System.Text;
23 | using System.Drawing;
24 |
25 | namespace oSpy
26 | {
27 | public interface IDrawToBitmapFull
28 | {
29 | void DrawToBitmapFull(Bitmap bitmap, int x, int y);
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/oSpy1/Images/activesync.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Images/activesync.png
--------------------------------------------------------------------------------
/oSpy1/Images/connected.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Images/connected.png
--------------------------------------------------------------------------------
/oSpy1/Images/disconnected.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Images/disconnected.png
--------------------------------------------------------------------------------
/oSpy1/Images/donate.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Images/donate.gif
--------------------------------------------------------------------------------
/oSpy1/Images/error.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Images/error.png
--------------------------------------------------------------------------------
/oSpy1/Images/event.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Images/event.png
--------------------------------------------------------------------------------
/oSpy1/Images/incoming.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Images/incoming.png
--------------------------------------------------------------------------------
/oSpy1/Images/info.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Images/info.png
--------------------------------------------------------------------------------
/oSpy1/Images/listening.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Images/listening.png
--------------------------------------------------------------------------------
/oSpy1/Images/oSpy.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Images/oSpy.ico
--------------------------------------------------------------------------------
/oSpy1/Images/oSpyLogoFull.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Images/oSpyLogoFull.png
--------------------------------------------------------------------------------
/oSpy1/Images/oSpyLogoImage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Images/oSpyLogoImage.png
--------------------------------------------------------------------------------
/oSpy1/Images/oSpyLogoImageExt.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Images/oSpyLogoImageExt.png
--------------------------------------------------------------------------------
/oSpy1/Images/oSpyLogoSmall.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Images/oSpyLogoSmall.png
--------------------------------------------------------------------------------
/oSpy1/Images/oSpyLogoText.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Images/oSpyLogoText.png
--------------------------------------------------------------------------------
/oSpy1/Images/outgoing.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Images/outgoing.png
--------------------------------------------------------------------------------
/oSpy1/Images/search.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Images/search.png
--------------------------------------------------------------------------------
/oSpy1/Images/warning.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Images/warning.png
--------------------------------------------------------------------------------
/oSpy1/InjectForm.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/InjectForm.cs
--------------------------------------------------------------------------------
/oSpy1/Listener.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Listener.cs
--------------------------------------------------------------------------------
/oSpy1/MainForm.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/MainForm.cs
--------------------------------------------------------------------------------
/oSpy1/MultiSessionView.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/MultiSessionView.cs
--------------------------------------------------------------------------------
/oSpy1/Net/IPPacket.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Net/IPPacket.cs
--------------------------------------------------------------------------------
/oSpy1/Net/IPSession.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Net/IPSession.cs
--------------------------------------------------------------------------------
/oSpy1/Net/PacketParser.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Net/PacketParser.cs
--------------------------------------------------------------------------------
/oSpy1/Net/PacketSlice.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace oSpy.Net
6 | {
7 | [Serializable()]
8 | public class PacketSlice : IComparable
9 | {
10 | public IPPacket Packet;
11 | public int Offset;
12 | public int Length;
13 | public int Tag;
14 |
15 | public PacketSlice(PacketSlice srcSlice)
16 | {
17 | Packet = srcSlice.Packet;
18 | Offset = srcSlice.Offset;
19 | Length = srcSlice.Length;
20 | Tag = srcSlice.Tag;
21 | }
22 |
23 | public PacketSlice(IPPacket packet, int offset, int length)
24 | {
25 | Initialize(packet, offset, length, -1);
26 | }
27 |
28 | public PacketSlice(IPPacket packet, int offset, int length, int tag)
29 | {
30 | Initialize(packet, offset, length, tag);
31 | }
32 |
33 | private void Initialize(IPPacket packet, int offset, int length, int tag)
34 | {
35 | Packet = packet;
36 | Offset = offset;
37 | Length = length;
38 | Tag = tag;
39 | }
40 |
41 | public int CompareTo(Object obj)
42 | {
43 | PacketSlice otherSlice = obj as PacketSlice;
44 |
45 | int result = Packet.Index.CompareTo(otherSlice.Packet.Index);
46 | if (result != 0)
47 | return result;
48 |
49 | return Offset.CompareTo(otherSlice.Offset);
50 | }
51 | }
52 | }
53 |
--------------------------------------------------------------------------------
/oSpy1/Net/PacketStream.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Net/PacketStream.cs
--------------------------------------------------------------------------------
/oSpy1/Net/ProtocolError.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Net/ProtocolError.cs
--------------------------------------------------------------------------------
/oSpy1/Parser/HTTP.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Parser/HTTP.cs
--------------------------------------------------------------------------------
/oSpy1/Parser/ITransactionFactory.cs:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (C) 2006 Frode Hus
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; either version 2 of the License, or
7 | * (at your option) any later version.
8 | *
9 | * This program is distributed in the hope that it will be useful,
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | * GNU General Public License for more details.
13 | *
14 | * You should have received a copy of the GNU General Public License
15 | * along with this program; if not, write to the Free Software
16 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17 | */
18 |
19 | using System;
20 | using oSpy.Parser;
21 | using oSpy.Util;
22 | using oSpy.Net;
23 |
24 | namespace oSpy
25 | {
26 | interface ITransactionFactory
27 | {
28 | bool HandleSession(IPSession session);
29 | DebugLogger Logger { get; }
30 | string Name();
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/oSpy1/Parser/MSN.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Parser/MSN.cs
--------------------------------------------------------------------------------
/oSpy1/Parser/RAPI.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Parser/RAPI.cs
--------------------------------------------------------------------------------
/oSpy1/Parser/RRAC.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Parser/RRAC.cs
--------------------------------------------------------------------------------
/oSpy1/Parser/RemSync.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Parser/RemSync.cs
--------------------------------------------------------------------------------
/oSpy1/Parser/TransactionFactory.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Parser/TransactionFactory.cs
--------------------------------------------------------------------------------
/oSpy1/Parser/TransactionNode.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Parser/TransactionNode.cs
--------------------------------------------------------------------------------
/oSpy1/Parser/TransactionNodeConverter.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Parser/TransactionNodeConverter.cs
--------------------------------------------------------------------------------
/oSpy1/Parser/TransactionNodeList.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Parser/TransactionNodeList.cs
--------------------------------------------------------------------------------
/oSpy1/Program.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Program.cs
--------------------------------------------------------------------------------
/oSpy1/ProgressForm.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/ProgressForm.cs
--------------------------------------------------------------------------------
/oSpy1/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("oSpy")]
9 | [assembly: AssemblyDescription ("Advanced reverse-engineering tool for spying on Windows software")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany ("Ravnås Consulting")]
12 | [assembly: AssemblyProduct("oSpy")]
13 | [assembly: AssemblyCopyright("Copyright © 2006-2009 Ole André Vadla Ravnås ")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("7916d79d-b593-4fba-a757-8f1c6a629f51")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | [assembly: AssemblyVersion("1.10.4.1")]
33 | [assembly: AssemblyFileVersion("1.10.4.1")]
34 |
--------------------------------------------------------------------------------
/oSpy1/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:2.0.50727.3082
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace oSpy.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "9.0.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/oSpy1/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/oSpy1/README.txt:
--------------------------------------------------------------------------------
1 | oSpy
2 | ----
3 |
4 | FIXME: Write some docs here.
5 |
6 |
7 | BUILDING
8 | --------
9 |
10 | You need a recent version of libwbxml [1] and SharpZipLib [2]. The quickest
11 | approach is to simply download the latest oSpy binary release and extract the
12 | following files into bin\Debug:
13 |
14 | libwbxml2.dll
15 | leaktrack.dll
16 | libexpat.dll
17 | ICSharpCode.SharpZipLib.dll
18 |
19 | [1] http://libwbxml.aymerick.com
20 | [2] http://www.icsharpcode.net/OpenSource/SharpZipLib/Default.aspx
--------------------------------------------------------------------------------
/oSpy1/ScoutAgent/DllMain.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/ScoutAgent/DllMain.cpp
--------------------------------------------------------------------------------
/oSpy1/ScoutAgent/Scout.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/ScoutAgent/Scout.cpp
--------------------------------------------------------------------------------
/oSpy1/ScoutAgent/StdAfx.cpp:
--------------------------------------------------------------------------------
1 | #include "StdAfx.hpp"
2 |
--------------------------------------------------------------------------------
/oSpy1/ScoutAgent/StdAfx.hpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/ScoutAgent/StdAfx.hpp
--------------------------------------------------------------------------------
/oSpy1/ShareSuccessForm.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.Text;
7 | using System.Windows.Forms;
8 |
9 | namespace oSpy
10 | {
11 | public partial class ShareSuccessForm : Form
12 | {
13 | public ShareSuccessForm(string permalink)
14 | {
15 | InitializeComponent();
16 |
17 | permalinkTextBox.Text = permalink;
18 | }
19 |
20 | private void richTextBox1_LinkClicked(object sender, LinkClickedEventArgs e)
21 | {
22 | System.Diagnostics.Process.Start(e.LinkText);
23 | }
24 | }
25 | }
--------------------------------------------------------------------------------
/oSpy1/SoftwallForm.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/SoftwallForm.cs
--------------------------------------------------------------------------------
/oSpy1/Tests/PacketStream/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("TestPacketStream")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("TestPacketStream")]
13 | [assembly: AssemblyCopyright("Copyright © 2006")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("557e809a-4475-445c-bd28-0addadbf174b")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | [assembly: AssemblyVersion("1.0.0.0")]
33 | [assembly: AssemblyFileVersion("1.0.0.0")]
34 |
--------------------------------------------------------------------------------
/oSpy1/TextView.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/TextView.cs
--------------------------------------------------------------------------------
/oSpy1/Util/Constants.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Util/Constants.cs
--------------------------------------------------------------------------------
/oSpy1/Util/IDebugLogger.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Util/IDebugLogger.cs
--------------------------------------------------------------------------------
/oSpy1/Util/Util.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/Util/Util.cs
--------------------------------------------------------------------------------
/oSpy1/VisualSession.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/VisualSession.cs
--------------------------------------------------------------------------------
/oSpy1/VisualTransaction.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/VisualTransaction.cs
--------------------------------------------------------------------------------
/oSpy1/WBXML.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/WBXML.cs
--------------------------------------------------------------------------------
/oSpy1/Web References/oSpyRepository/Reference.map:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/oSpy1/app.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/oSpy1/oSpy.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/oSpy.ico
--------------------------------------------------------------------------------
/oSpy1/oSpy.snk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpy1/oSpy.snk
--------------------------------------------------------------------------------
/oSpy1/udis86-1.7/libudis86/input.h:
--------------------------------------------------------------------------------
1 | /* -----------------------------------------------------------------------------
2 | * input.h
3 | *
4 | * Copyright (c) 2006, Vivek Mohan
5 | * All rights reserved. See LICENSE
6 | * -----------------------------------------------------------------------------
7 | */
8 | #ifndef UD_INPUT_H
9 | #define UD_INPUT_H
10 |
11 | #include "types.h"
12 |
13 | uint8_t inp_next(struct ud*);
14 | uint8_t inp_peek(struct ud*);
15 | uint8_t inp_uint8(struct ud*);
16 | uint16_t inp_uint16(struct ud*);
17 | uint32_t inp_uint32(struct ud*);
18 | uint64_t inp_uint64(struct ud*);
19 | void inp_move(struct ud*, size_t);
20 | void inp_back(struct ud*);
21 |
22 | /* inp_init() - Initializes the input system. */
23 | #define inp_init(u) \
24 | do { \
25 | u->inp_curr = 0; \
26 | u->inp_fill = 0; \
27 | u->inp_ctr = 0; \
28 | u->inp_end = 0; \
29 | } while (0)
30 |
31 | /* inp_start() - Should be called before each de-code operation. */
32 | #define inp_start(u) u->inp_ctr = 0
33 |
34 | /* inp_back() - Resets the current pointer to its position before the current
35 | * instruction disassembly was started.
36 | */
37 | #define inp_reset(u) \
38 | do { \
39 | u->inp_curr -= u->inp_ctr; \
40 | u->inp_ctr = 0; \
41 | } while (0)
42 |
43 | /* inp_sess() - Returns the pointer to current session. */
44 | #define inp_sess(u) (u->inp_sess)
45 |
46 | /* inp_cur() - Returns the current input byte. */
47 | #define inp_curr(u) ((u)->inp_cache[(u)->inp_curr])
48 |
49 | #endif
50 |
--------------------------------------------------------------------------------
/oSpy1/udis86-1.7/libudis86/syn.h:
--------------------------------------------------------------------------------
1 | /* -----------------------------------------------------------------------------
2 | * syn.h
3 | *
4 | * Copyright (c) 2006, Vivek Mohan
5 | * All rights reserved. See LICENSE
6 | * -----------------------------------------------------------------------------
7 | */
8 | #ifndef UD_SYN_H
9 | #define UD_SYN_H
10 |
11 | #include
12 | #include
13 | #include "types.h"
14 |
15 | extern const char* ud_reg_tab[];
16 |
17 | static void mkasm(struct ud* u, const char* fmt, ...)
18 | {
19 | va_list ap;
20 | va_start(ap, fmt);
21 | u->insn_fill += vsprintf((char*) u->insn_buffer + u->insn_fill, fmt, ap);
22 | va_end(ap);
23 | }
24 |
25 | #endif
26 |
--------------------------------------------------------------------------------
/oSpy1/udis86-1.7/udis86.h:
--------------------------------------------------------------------------------
1 | /* -----------------------------------------------------------------------------
2 | * udis86.h
3 | *
4 | * Copyright (c) 2002, 2003, 2004 Vivek Mohan
5 | * All rights reserved. See (LICENSE)
6 | * -----------------------------------------------------------------------------
7 | */
8 |
9 | #ifndef UDIS86_H
10 | #define UDIS86_H
11 |
12 | #include "libudis86/types.h"
13 | #include "libudis86/extern.h"
14 | #include "libudis86/itab.h"
15 |
16 | #endif
17 |
--------------------------------------------------------------------------------
/oSpyAgent/Agent.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyAgent/Agent.cpp
--------------------------------------------------------------------------------
/oSpyAgent/Agent.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyAgent/Agent.h
--------------------------------------------------------------------------------
/oSpyAgent/AgentPlugin.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyAgent/AgentPlugin.h
--------------------------------------------------------------------------------
/oSpyAgent/BinaryLogger.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyAgent/BinaryLogger.cpp
--------------------------------------------------------------------------------
/oSpyAgent/BinaryLogger.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyAgent/BinaryLogger.h
--------------------------------------------------------------------------------
/oSpyAgent/Plugins/Template/Template.cpp:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | class TemplatePlugin : public oSpy::AgentPlugin
4 | {
5 | public:
6 | virtual bool Open ()
7 | {
8 | return false; // unload the plugin, no need to stay resident
9 | }
10 |
11 | virtual void Close ()
12 | {
13 | }
14 | };
15 |
16 | OSPY_AGENT_PLUGIN_DEFINE (1, L"Template", L"Template plugin", Template);
17 |
--------------------------------------------------------------------------------
/oSpyAgent/ReadMe.txt:
--------------------------------------------------------------------------------
1 | oSpyAgent
2 | ---------
3 |
4 | The DLL that gets injected into arbitrary processes and logs intercepted
5 | data to a temporary file, communicating with the UI through a shared
6 | memory area and event objects.
--------------------------------------------------------------------------------
/oSpyAgent/stdafx.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyAgent/stdafx.cpp
--------------------------------------------------------------------------------
/oSpyAgent/stdafx.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyAgent/stdafx.h
--------------------------------------------------------------------------------
/oSpyClassic/AboutBoxForm.Designer.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyClassic/AboutBoxForm.Designer.cs
--------------------------------------------------------------------------------
/oSpyClassic/CaptureForm.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyClassic/CaptureForm.cs
--------------------------------------------------------------------------------
/oSpyClassic/ConversationsForm.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyClassic/ConversationsForm.cs
--------------------------------------------------------------------------------
/oSpyClassic/DataAnalysisForm.cs:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (C) 2007 Ole André Vadla Ravnås
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; either version 2 of the License, or
7 | * (at your option) any later version.
8 | *
9 | * This program is distributed in the hope that it will be useful,
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | * GNU General Public License for more details.
13 | *
14 | * You should have received a copy of the GNU General Public License
15 | * along with this program; if not, write to the Free Software
16 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17 | */
18 |
19 | using System;
20 | using System.Collections.Generic;
21 | using System.ComponentModel;
22 | using System.Data;
23 | using System.Drawing;
24 | using System.Text;
25 | using System.Windows.Forms;
26 |
27 | namespace oSpyClassic
28 | {
29 | public partial class DataAnalysisForm : Form
30 | {
31 | public DataAnalysisForm()
32 | {
33 | InitializeComponent();
34 | }
35 | }
36 | }
--------------------------------------------------------------------------------
/oSpyClassic/DebugForm.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyClassic/DebugForm.cs
--------------------------------------------------------------------------------
/oSpyClassic/Deps/ICSharpCode.SharpZipLib.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyClassic/Deps/ICSharpCode.SharpZipLib.dll
--------------------------------------------------------------------------------
/oSpyClassic/Event/SocketEventType.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyClassic/Event/SocketEventType.cs
--------------------------------------------------------------------------------
/oSpyClassic/Event/TCPEvent.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyClassic/Event/TCPEvent.cs
--------------------------------------------------------------------------------
/oSpyClassic/IDrawToBitmapFull.cs:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (C) 2007 Ole André Vadla Ravnås
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; either version 2 of the License, or
7 | * (at your option) any later version.
8 | *
9 | * This program is distributed in the hope that it will be useful,
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | * GNU General Public License for more details.
13 | *
14 | * You should have received a copy of the GNU General Public License
15 | * along with this program; if not, write to the Free Software
16 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17 | */
18 |
19 |
20 | using System;
21 | using System.Collections.Generic;
22 | using System.Text;
23 | using System.Drawing;
24 |
25 | namespace oSpyClassic
26 | {
27 | public interface IDrawToBitmapFull
28 | {
29 | void DrawToBitmapFull(Bitmap bitmap, int x, int y);
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/oSpyClassic/Images/activesync.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyClassic/Images/activesync.png
--------------------------------------------------------------------------------
/oSpyClassic/Images/connected.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyClassic/Images/connected.png
--------------------------------------------------------------------------------
/oSpyClassic/Images/disconnected.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyClassic/Images/disconnected.png
--------------------------------------------------------------------------------
/oSpyClassic/Images/error.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyClassic/Images/error.png
--------------------------------------------------------------------------------
/oSpyClassic/Images/event.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyClassic/Images/event.png
--------------------------------------------------------------------------------
/oSpyClassic/Images/incoming.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyClassic/Images/incoming.png
--------------------------------------------------------------------------------
/oSpyClassic/Images/info.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyClassic/Images/info.png
--------------------------------------------------------------------------------
/oSpyClassic/Images/listening.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyClassic/Images/listening.png
--------------------------------------------------------------------------------
/oSpyClassic/Images/outgoing.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyClassic/Images/outgoing.png
--------------------------------------------------------------------------------
/oSpyClassic/Images/warning.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyClassic/Images/warning.png
--------------------------------------------------------------------------------
/oSpyClassic/InjectForm.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyClassic/InjectForm.cs
--------------------------------------------------------------------------------
/oSpyClassic/Listener.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyClassic/Listener.cs
--------------------------------------------------------------------------------
/oSpyClassic/MainForm.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyClassic/MainForm.cs
--------------------------------------------------------------------------------
/oSpyClassic/MultiSessionView.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyClassic/MultiSessionView.cs
--------------------------------------------------------------------------------
/oSpyClassic/Net/IPEndpoint.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace oSpyClassic.Net
6 | {
7 | [Serializable()]
8 | public class IPEndpoint
9 | {
10 | protected string address;
11 | public string Address
12 | {
13 | get
14 | {
15 | return address;
16 | }
17 | }
18 |
19 | protected int port;
20 | public int Port
21 | {
22 | get
23 | {
24 | return port;
25 | }
26 | }
27 |
28 | public IPEndpoint(string address, int port)
29 | {
30 | this.address = LookupAddress(address);
31 | this.port = port;
32 | }
33 |
34 | public override string ToString()
35 | {
36 | if (address.Length > 0 && port > 0)
37 | {
38 | return String.Format("{0}:{1}", address, port);
39 | }
40 | else
41 | {
42 | return "";
43 | }
44 | }
45 |
46 | protected static string LookupAddress(string addr)
47 | {
48 | if (addr == "169.254.2.1")
49 | return "PDA";
50 | else if (addr == "169.254.2.2")
51 | return "HOST";
52 | else
53 | return addr;
54 | }
55 | }
56 | }
57 |
--------------------------------------------------------------------------------
/oSpyClassic/Net/IPPacket.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyClassic/Net/IPPacket.cs
--------------------------------------------------------------------------------
/oSpyClassic/Net/IPSession.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyClassic/Net/IPSession.cs
--------------------------------------------------------------------------------
/oSpyClassic/Net/PacketParser.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyClassic/Net/PacketParser.cs
--------------------------------------------------------------------------------
/oSpyClassic/Net/PacketStream.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyClassic/Net/PacketStream.cs
--------------------------------------------------------------------------------
/oSpyClassic/Net/ProtocolError.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyClassic/Net/ProtocolError.cs
--------------------------------------------------------------------------------
/oSpyClassic/Parser/HTTP.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyClassic/Parser/HTTP.cs
--------------------------------------------------------------------------------
/oSpyClassic/Parser/ITransactionFactory.cs:
--------------------------------------------------------------------------------
1 | /**
2 | * Copyright (C) 2006 Frode Hus
3 | *
4 | * This program is free software; you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation; either version 2 of the License, or
7 | * (at your option) any later version.
8 | *
9 | * This program is distributed in the hope that it will be useful,
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | * GNU General Public License for more details.
13 | *
14 | * You should have received a copy of the GNU General Public License
15 | * along with this program; if not, write to the Free Software
16 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17 | */
18 |
19 | using System;
20 | using oSpyClassic.Parser;
21 | using oSpyClassic.Util;
22 | using oSpyClassic.Net;
23 |
24 | namespace oSpyClassic
25 | {
26 | interface ITransactionFactory
27 | {
28 | bool HandleSession(IPSession session);
29 | DebugLogger Logger { get; }
30 | string Name();
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/oSpyClassic/Parser/MSN.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyClassic/Parser/MSN.cs
--------------------------------------------------------------------------------
/oSpyClassic/Parser/RAPI.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyClassic/Parser/RAPI.cs
--------------------------------------------------------------------------------
/oSpyClassic/Parser/RRAC.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyClassic/Parser/RRAC.cs
--------------------------------------------------------------------------------
/oSpyClassic/Parser/RemSync.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyClassic/Parser/RemSync.cs
--------------------------------------------------------------------------------
/oSpyClassic/Parser/TransactionFactory.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyClassic/Parser/TransactionFactory.cs
--------------------------------------------------------------------------------
/oSpyClassic/Parser/TransactionNode.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyClassic/Parser/TransactionNode.cs
--------------------------------------------------------------------------------
/oSpyClassic/Parser/TransactionNodeConverter.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyClassic/Parser/TransactionNodeConverter.cs
--------------------------------------------------------------------------------
/oSpyClassic/Parser/TransactionNodeList.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyClassic/Parser/TransactionNodeList.cs
--------------------------------------------------------------------------------
/oSpyClassic/Program.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyClassic/Program.cs
--------------------------------------------------------------------------------
/oSpyClassic/ProgressForm.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyClassic/ProgressForm.cs
--------------------------------------------------------------------------------
/oSpyClassic/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("oSpy")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("Ravnås Consulting")]
12 | [assembly: AssemblyProduct("oSpy")]
13 | [assembly: AssemblyCopyright("Copyright © 2006 Ole André Vadla Ravnås ")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("7916d79d-b593-4fba-a757-8f1c6a629f51")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | [assembly: AssemblyVersion("1.9.6.0")]
33 | [assembly: AssemblyFileVersion("1.9.6.0")]
34 |
--------------------------------------------------------------------------------
/oSpyClassic/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | http://projects.collabora.co.uk/~oleavr/oSpy/repository/api.php
7 |
8 |
9 |
--------------------------------------------------------------------------------
/oSpyClassic/ShareSuccessForm.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.Text;
7 | using System.Windows.Forms;
8 |
9 | namespace oSpyClassic
10 | {
11 | public partial class ShareSuccessForm : Form
12 | {
13 | public ShareSuccessForm(string permalink)
14 | {
15 | InitializeComponent();
16 |
17 | permalinkTextBox.Text = permalink;
18 | }
19 |
20 | private void richTextBox1_LinkClicked(object sender, LinkClickedEventArgs e)
21 | {
22 | System.Diagnostics.Process.Start(e.LinkText);
23 | }
24 | }
25 | }
--------------------------------------------------------------------------------
/oSpyClassic/SoftwallForm.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyClassic/SoftwallForm.cs
--------------------------------------------------------------------------------
/oSpyClassic/TextView.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyClassic/TextView.cs
--------------------------------------------------------------------------------
/oSpyClassic/Util/Constants.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyClassic/Util/Constants.cs
--------------------------------------------------------------------------------
/oSpyClassic/Util/IDebugLogger.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyClassic/Util/IDebugLogger.cs
--------------------------------------------------------------------------------
/oSpyClassic/Util/Util.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyClassic/Util/Util.cs
--------------------------------------------------------------------------------
/oSpyClassic/VisualSession.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyClassic/VisualSession.cs
--------------------------------------------------------------------------------
/oSpyClassic/VisualTransaction.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyClassic/VisualTransaction.cs
--------------------------------------------------------------------------------
/oSpyClassic/WBXML.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyClassic/WBXML.cs
--------------------------------------------------------------------------------
/oSpyClassic/Web References/oSpyRepository/Reference.map:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/oSpyClassic/app.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 | http://projects.collabora.co.uk/~oleavr/oSpy/repository/api.php
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/oSpyDriverAgent/Agent.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyDriverAgent/Agent.cpp
--------------------------------------------------------------------------------
/oSpyDriverAgent/Agent.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyDriverAgent/Agent.h
--------------------------------------------------------------------------------
/oSpyDriverAgent/DriverEntry.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyDriverAgent/DriverEntry.cpp
--------------------------------------------------------------------------------
/oSpyDriverAgent/Event.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyDriverAgent/Event.cpp
--------------------------------------------------------------------------------
/oSpyDriverAgent/Event.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyDriverAgent/Event.h
--------------------------------------------------------------------------------
/oSpyDriverAgent/Logger.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyDriverAgent/Logger.cpp
--------------------------------------------------------------------------------
/oSpyDriverAgent/Logger.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyDriverAgent/Logger.h
--------------------------------------------------------------------------------
/oSpyDriverAgent/Urb.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyDriverAgent/Urb.cpp
--------------------------------------------------------------------------------
/oSpyDriverAgent/Urb.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/oSpyDriverAgent/Urb.h
--------------------------------------------------------------------------------
/oSpyStudio/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 |
4 | // Information about this assembly is defined by the following attributes.
5 | // Change them to the values specific to your project.
6 |
7 | [assembly: AssemblyTitle("oSpyStudio")]
8 | [assembly: AssemblyDescription("")]
9 | [assembly: AssemblyConfiguration("")]
10 | [assembly: AssemblyCompany("")]
11 | [assembly: AssemblyProduct("")]
12 | [assembly: AssemblyCopyright("")]
13 | [assembly: AssemblyTrademark("")]
14 | [assembly: AssemblyCulture("")]
15 |
16 | // The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
17 | // The form "{Major}.{Minor}.*" will automatically update the build and revision,
18 | // and "{Major}.{Minor}.{Build}.*" will update just the revision.
19 |
20 | [assembly: AssemblyVersion("1.0.*")]
21 |
22 | // The following attributes are used to specify the signing key for the assembly,
23 | // if desired. See the Mono documentation for more information about signing.
24 |
25 | [assembly: AssemblyDelaySign(false)]
26 | [assembly: AssemblyKeyFile("")]
27 |
--------------------------------------------------------------------------------
/oSpyStudio/Main.cs:
--------------------------------------------------------------------------------
1 | //
2 | // Copyright (c) 2009 Ole André Vadla Ravnås
3 | //
4 | // This program is free software: you can redistribute it and/or modify
5 | // it under the terms of the GNU General Public License as published by
6 | // the Free Software Foundation, either version 3 of the License, or
7 | // (at your option) any later version.
8 | //
9 | // This program is distributed in the hope that it will be useful,
10 | // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | // GNU General Public License for more details.
13 | //
14 | // You should have received a copy of the GNU General Public License
15 | // along with this program. If not, see .
16 | //
17 |
18 | using System;
19 | using Gtk;
20 |
21 | namespace oSpyStudio
22 | {
23 | class MainClass
24 | {
25 | public static void Main(string[] args)
26 | {
27 | Application.Init();
28 | System.ComponentModel.AsyncOperationManager.SynchronizationContext = new GLibSynchronizationContext();
29 |
30 | MainWindow win = new MainWindow();
31 | win.Show();
32 |
33 | Application.Run();
34 | }
35 | }
36 | }
--------------------------------------------------------------------------------
/oSpyStudio/Widgets/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 |
4 | // Information about this assembly is defined by the following attributes.
5 | // Change them to the values specific to your project.
6 |
7 | [assembly: AssemblyTitle("oSpyStudio.Widgets")]
8 | [assembly: AssemblyDescription("")]
9 | [assembly: AssemblyConfiguration("")]
10 | [assembly: AssemblyCompany("")]
11 | [assembly: AssemblyProduct("")]
12 | [assembly: AssemblyCopyright("")]
13 | [assembly: AssemblyTrademark("")]
14 | [assembly: AssemblyCulture("")]
15 |
16 | // The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
17 | // The form "{Major}.{Minor}.*" will automatically update the build and revision,
18 | // and "{Major}.{Minor}.{Build}.*" will update just the revision.
19 |
20 | [assembly: AssemblyVersion("1.0.*")]
21 |
22 | // The following attributes are used to specify the signing key for the assembly,
23 | // if desired. See the Mono documentation for more information about signing.
24 |
25 | [assembly: AssemblyDelaySign(false)]
26 | [assembly: AssemblyKeyFile("")]
27 |
--------------------------------------------------------------------------------
/oSpyStudio/Widgets/INode.cs:
--------------------------------------------------------------------------------
1 | //
2 | // Copyright (c) 2009 Ole André Vadla Ravnås
3 | //
4 | // This library is free software: you can redistribute it and/or modify
5 | // it under the terms of the GNU General Public License as published by
6 | // the Free Software Foundation, either version 3 of the License, or
7 | // (at your option) any later version.
8 | //
9 | // This library is distributed in the hope that it will be useful,
10 | // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | // GNU General Public License for more details.
13 | //
14 | // You should have received a copy of the GNU General Public License
15 | // along with this program. If not, see .
16 | //
17 |
18 | using System;
19 |
20 | namespace oSpyStudio.Widgets
21 | {
22 | public interface INode
23 | {
24 | uint Timestamp
25 | {
26 | get;
27 | }
28 |
29 | object Context
30 | {
31 | get;
32 | }
33 |
34 | Size Allocation
35 | {
36 | get;
37 | }
38 |
39 | Point Position
40 | {
41 | get;
42 | set;
43 | }
44 | }
45 | }
--------------------------------------------------------------------------------
/oSpyStudio/Widgets/INodeRenderer.cs:
--------------------------------------------------------------------------------
1 | //
2 | // Copyright (c) 2009 Ole André Vadla Ravnås
3 | //
4 | // This library is free software: you can redistribute it and/or modify
5 | // it under the terms of the GNU General Public License as published by
6 | // the Free Software Foundation, either version 3 of the License, or
7 | // (at your option) any later version.
8 | //
9 | // This library is distributed in the hope that it will be useful,
10 | // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | // GNU General Public License for more details.
13 | //
14 | // You should have received a copy of the GNU General Public License
15 | // along with this program. If not, see .
16 | //
17 |
18 | using System;
19 |
20 | namespace oSpyStudio.Widgets
21 | {
22 | public interface INodeRenderer
23 | {
24 | Gtk.Widget Render(INode node);
25 | }
26 | }
--------------------------------------------------------------------------------
/oSpyStudio/Widgets/ITimelineModel.cs:
--------------------------------------------------------------------------------
1 | //
2 | // Copyright (c) 2009 Ole André Vadla Ravnås
3 | //
4 | // This library is free software: you can redistribute it and/or modify
5 | // it under the terms of the GNU General Public License as published by
6 | // the Free Software Foundation, either version 3 of the License, or
7 | // (at your option) any later version.
8 | //
9 | // This library is distributed in the hope that it will be useful,
10 | // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | // GNU General Public License for more details.
13 | //
14 | // You should have received a copy of the GNU General Public License
15 | // along with this program. If not, see .
16 | //
17 |
18 | using System;
19 | using System.Collections.Generic;
20 |
21 | namespace oSpyStudio.Widgets
22 | {
23 | public interface ITimelineModel
24 | {
25 | IEnumerable Nodes
26 | {
27 | get;
28 | }
29 |
30 | IEnumerable NodesReverse
31 | {
32 | get;
33 | }
34 | }
35 | }
--------------------------------------------------------------------------------
/oSpyStudio/Widgets/Point.cs:
--------------------------------------------------------------------------------
1 | //
2 | // Copyright (c) 2009 Ole André Vadla Ravnås
3 | //
4 | // This library is free software: you can redistribute it and/or modify
5 | // it under the terms of the GNU General Public License as published by
6 | // the Free Software Foundation, either version 3 of the License, or
7 | // (at your option) any later version.
8 | //
9 | // This library is distributed in the hope that it will be useful,
10 | // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | // GNU General Public License for more details.
13 | //
14 | // You should have received a copy of the GNU General Public License
15 | // along with this program. If not, see .
16 | //
17 |
18 | using System;
19 |
20 | namespace oSpyStudio.Widgets
21 | {
22 | public struct Point
23 | {
24 | public readonly uint X;
25 | public readonly uint Y;
26 |
27 | public Point(uint x, uint y)
28 | {
29 | X = x;
30 | Y = y;
31 | }
32 |
33 | public override string ToString()
34 | {
35 | return string.Format("[Point ({0}, {1})]", X, Y);
36 | }
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/oSpyStudio/Widgets/Size.cs:
--------------------------------------------------------------------------------
1 | //
2 | // Copyright (c) 2009 Ole André Vadla Ravnås
3 | //
4 | // This library is free software: you can redistribute it and/or modify
5 | // it under the terms of the GNU General Public License as published by
6 | // the Free Software Foundation, either version 3 of the License, or
7 | // (at your option) any later version.
8 | //
9 | // This library is distributed in the hope that it will be useful,
10 | // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | // GNU General Public License for more details.
13 | //
14 | // You should have received a copy of the GNU General Public License
15 | // along with this program. If not, see .
16 | //
17 |
18 | using System;
19 |
20 | namespace oSpyStudio.Widgets
21 | {
22 | public struct Size
23 | {
24 | public readonly uint Width;
25 | public readonly uint Height;
26 |
27 | public Size(uint width, uint height)
28 | {
29 | Width = width;
30 | Height = height;
31 | }
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/oSpyStudio/Widgets/Tests/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 |
4 | // Information about this assembly is defined by the following attributes.
5 | // Change them to the values specific to your project.
6 |
7 | [assembly: AssemblyTitle("oSpyStudio.Widgets.Tests")]
8 | [assembly: AssemblyDescription("")]
9 | [assembly: AssemblyConfiguration("")]
10 | [assembly: AssemblyCompany("")]
11 | [assembly: AssemblyProduct("")]
12 | [assembly: AssemblyCopyright("")]
13 | [assembly: AssemblyTrademark("")]
14 | [assembly: AssemblyCulture("")]
15 |
16 | // The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
17 | // The form "{Major}.{Minor}.*" will automatically update the build and revision,
18 | // and "{Major}.{Minor}.{Build}.*" will update just the revision.
19 |
20 | [assembly: AssemblyVersion("1.0.*")]
21 |
22 | // The following attributes are used to specify the signing key for the assembly,
23 | // if desired. See the Mono documentation for more information about signing.
24 |
25 | [assembly: AssemblyDelaySign(false)]
26 | [assembly: AssemblyKeyFile("")]
27 |
--------------------------------------------------------------------------------
/oSpyStudio/Widgets/Tests/TestRenderer.cs:
--------------------------------------------------------------------------------
1 | //
2 | // Copyright (c) 2009 Ole André Vadla Ravnås
3 | //
4 | // This program is free software: you can redistribute it and/or modify
5 | // it under the terms of the GNU General Public License as published by
6 | // the Free Software Foundation, either version 3 of the License, or
7 | // (at your option) any later version.
8 | //
9 | // This program is distributed in the hope that it will be useful,
10 | // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | // GNU General Public License for more details.
13 | //
14 | // You should have received a copy of the GNU General Public License
15 | // along with this program. If not, see .
16 | //
17 |
18 | using System;
19 |
20 | namespace oSpyStudio.Widgets.Tests
21 | {
22 | public class TestRenderer : INodeRenderer
23 | {
24 | public Gtk.Widget Render(INode node)
25 | {
26 | Gtk.Button button = new Gtk.Button();
27 | button.SetSizeRequest((int) node.Allocation.Width, (int) node.Allocation.Height);
28 | return button;
29 | }
30 | }
31 | }
--------------------------------------------------------------------------------
/oSpyStudio/app.desktop:
--------------------------------------------------------------------------------
1 | [Desktop Entry]
2 | Encoding=UTF-8
3 | Type=Application
4 | Name=oSpyStudio
5 | Exec=ospystudio
6 | Terminal=false
7 |
--------------------------------------------------------------------------------
/oSpyStudio/gtk-gui/generated.cs:
--------------------------------------------------------------------------------
1 | // ------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | //
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | // ------------------------------------------------------------------------------
10 |
11 | namespace Stetic {
12 |
13 |
14 | internal class Gui {
15 |
16 | private static bool initialized;
17 |
18 | internal static void Initialize(Gtk.Widget iconRenderer) {
19 | if ((Stetic.Gui.initialized == false)) {
20 | Stetic.Gui.initialized = true;
21 | }
22 | }
23 | }
24 |
25 | internal class ActionGroups {
26 |
27 | public static Gtk.ActionGroup GetActionGroup(System.Type type) {
28 | return Stetic.ActionGroups.GetActionGroup(type.FullName);
29 | }
30 |
31 | public static Gtk.ActionGroup GetActionGroup(string name) {
32 | return null;
33 | }
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/oSpyStudioTranslation/messages.po:
--------------------------------------------------------------------------------
1 | msgid ""
2 | msgstr ""
3 | "X-Generator: MonoDevelop Gettext addin\n"
4 | "Language-Team: \n"
5 | "PO-Revision-Date: 2009-04-18 22:10:58+0200\n"
6 | "POT-Creation-Date: 2009-04-18 22:10:58+0200\n"
7 | "Project-Id-Version: \n"
8 | "MIME-Version: 1.0\n"
9 | "Content-Transfer-Encoding: 8bit\n"
10 | "Last-Translator: oleavr\n"
11 | "Content-Type: text/plain; charset=utf-8\n"
12 |
13 | #: ../oSpy.SharpDumpLib/Tests/Properties/Resources.Designer.cs:82
14 | msgid "IoCtlKs"
15 | msgstr ""
16 |
17 |
--------------------------------------------------------------------------------
/oSpyStudioTranslation/nb.po:
--------------------------------------------------------------------------------
1 | msgid ""
2 | msgstr ""
3 | "X-Generator: MonoDevelop Gettext addin\n"
4 | "Language-Team: \n"
5 | "PO-Revision-Date: 2009-04-18 22:10:58+0200\n"
6 | "POT-Creation-Date: 2009-04-18 22:10:58+0200\n"
7 | "Project-Id-Version: \n"
8 | "MIME-Version: 1.0\n"
9 | "Content-Transfer-Encoding: 8bit\n"
10 | "Last-Translator: oleavr\n"
11 | "Content-Type: text/plain; charset=utf-8\n"
12 |
13 | #: ../oSpy.SharpDumpLib/Tests/Properties/Resources.Designer.cs:82
14 | msgid "IoCtlKs"
15 | msgstr ""
16 |
17 |
--------------------------------------------------------------------------------
/oSpyStudioTranslation/oSpyStudioTranslation.mdproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | TranslationProject
5 | 9.0.21022
6 | 2.0
7 | {854E4B7B-C330-4FD2-901A-88E880E3D8AB}
8 |
9 |
10 |
11 |
12 |
13 | RelativeToOutput
14 |
15 |
16 |
--------------------------------------------------------------------------------
/old/UniHook/Alloc.cpp:
--------------------------------------------------------------------------------
1 | //
2 | // This program is free software: you can redistribute it and/or modify
3 | // it under the terms of the GNU General Public License as published by
4 | // the Free Software Foundation, either version 3 of the License, or
5 | // (at your option) any later version.
6 | //
7 | // This program is distributed in the hope that it will be useful,
8 | // but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | // GNU General Public License for more details.
11 | //
12 | // You should have received a copy of the GNU General Public License
13 | // along with this program. If not, see .
14 | //
15 |
16 | #include "stdafx.h"
17 |
18 | void *
19 | ospy_malloc(size_t size)
20 | {
21 | return HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, size);
22 | }
23 |
24 | void *
25 | ospy_realloc(void *ptr, size_t new_size)
26 | {
27 | return HeapReAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, ptr, new_size);
28 | }
29 |
30 | void
31 | ospy_free(void *ptr)
32 | {
33 | HeapFree(GetProcessHeap(), 0, ptr);
34 | }
35 |
36 | char *
37 | ospy_strdup(const char *str)
38 | {
39 | char *s;
40 | size_t size = strlen(str) + 1;
41 |
42 | s = (char *) ospy_malloc(size);
43 | memcpy(s, str, size);
44 |
45 | return s;
46 | }
47 |
--------------------------------------------------------------------------------
/old/UniHook/SigMatch.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/old/UniHook/SigMatch.cpp
--------------------------------------------------------------------------------
/old/UniHook/SigMatch.h:
--------------------------------------------------------------------------------
1 | //
2 | // This program is free software: you can redistribute it and/or modify
3 | // it under the terms of the GNU General Public License as published by
4 | // the Free Software Foundation, either version 3 of the License, or
5 | // (at your option) any later version.
6 | //
7 | // This program is distributed in the hope that it will be useful,
8 | // but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | // GNU General Public License for more details.
11 | //
12 | // You should have received a copy of the GNU General Public License
13 | // along with this program. If not, see .
14 | //
15 |
16 | #pragma once
17 |
18 | typedef struct {
19 | char *module_name;
20 | char *signature;
21 | } FunctionSignature;
22 |
23 | BOOL find_signature_in_range(const FunctionSignature *sig, LPVOID base, DWORD size, LPVOID *first_match, DWORD *num_matches, char **error);
24 | BOOL find_unique_signature_in_module(const FunctionSignature *sig, const char *module_name, LPVOID *address, char **error);
25 | BOOL find_unique_signature(const FunctionSignature *sig, LPVOID *address, char **error);
26 |
--------------------------------------------------------------------------------
/old/UniHook/UniHook.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/old/UniHook/UniHook.cpp
--------------------------------------------------------------------------------
/old/UniHook/UniHook.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 9.00
3 | # Visual Studio 2005
4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "UniHook", "UniHook.vcproj", "{52CBACB1-AEE3-4B6E-9177-CBFF9EC9D4C5}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|Win32 = Debug|Win32
9 | Release|Win32 = Release|Win32
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {52CBACB1-AEE3-4B6E-9177-CBFF9EC9D4C5}.Debug|Win32.ActiveCfg = Debug|Win32
13 | {52CBACB1-AEE3-4B6E-9177-CBFF9EC9D4C5}.Debug|Win32.Build.0 = Debug|Win32
14 | {52CBACB1-AEE3-4B6E-9177-CBFF9EC9D4C5}.Release|Win32.ActiveCfg = Release|Win32
15 | {52CBACB1-AEE3-4B6E-9177-CBFF9EC9D4C5}.Release|Win32.Build.0 = Release|Win32
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | EndGlobal
21 |
--------------------------------------------------------------------------------
/old/UniHook/Util.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oleavr/ospy/a7707aa64b91dfde7d90c3cc1d936515343c417d/old/UniHook/Util.cpp
--------------------------------------------------------------------------------
/old/UniHook/Util.h:
--------------------------------------------------------------------------------
1 | //
2 | // This program is free software: you can redistribute it and/or modify
3 | // it under the terms of the GNU General Public License as published by
4 | // the Free Software Foundation, either version 3 of the License, or
5 | // (at your option) any later version.
6 | //
7 | // This program is distributed in the hope that it will be useful,
8 | // but WITHOUT ANY WARRANTY; without even the implied warranty of
9 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 | // GNU General Public License for more details.
11 | //
12 | // You should have received a copy of the GNU General Public License
13 | // along with this program. If not, see .
14 | //
15 |
16 | #pragma once
17 |
18 | #include