diff --git a/snippets/ndis.py b/snippets/ndis.py index 29b76c2..35d70a5 100644 --- a/snippets/ndis.py +++ b/snippets/ndis.py @@ -68,9 +68,9 @@ def printNdisObj(): while opn != 0: - openBlock = typedVar( "ndis", "_NDIS_OPEN_BLOCK", opn ) + openBlock = typedVar( "ndis!_NDIS_OPEN_BLOCK", opn ) - proto = typedVar( "ndis", "_NDIS_PROTOCOL_BLOCK", openBlock.ProtocolHandle ) + proto = typedVar( "ndis!_NDIS_PROTOCOL_BLOCK", openBlock.ProtocolHandle ) dprint( "%s \tNDIS_OPEN_BLOCK( %x )" % ( loadUnicodeString( proto.ProtocolCharacteristics.Name.getAddress() ), openBlock.getAddress(), openBlock.getAddress() ), True ) dprintln( "\tNDIS_PROTOCOL_BLOCK( %x )" % ( proto.getAddress(), proto.getAddress() ), True )