Module refinery.units.formats.pe.dotnet.dnblob

Expand source code Browse git
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from .... import Unit
from .....lib.dotnet.header import DotNetHeader


class dnblob(Unit):
    """
    Extracts all blobs defined in the `#Blob` stream of .NET executables.
    """
    def process(self, data):
        header = DotNetHeader(data, parse_resources=False)
        for blob in header.meta.Streams.Blob.values():
            yield blob

Classes

class dnblob

Extracts all blobs defined in the #Blob stream of .NET executables.

Expand source code Browse git
class dnblob(Unit):
    """
    Extracts all blobs defined in the `#Blob` stream of .NET executables.
    """
    def process(self, data):
        header = DotNetHeader(data, parse_resources=False)
        for blob in header.meta.Streams.Blob.values():
            yield blob

Ancestors

Inherited members