grr/server/grr_response_server/db.py
def ReadHashBlobReferences(self, hashes):
    """Reads blob references of a given set of hashes.

    Every file known to GRR has a history of PathInfos. Every PathInfo has a
    hash_entry corresponding to a known hash of a file (or a downloaded part
    of the file) at a given moment.

    GRR collects files by collecting individual data blobs from the client.
    Thus, in the end a file contents may be described as a sequence of blobs.
    We key this sequence of blobs not with the file name, but rather with a
    hash identifying file contents.

    This way for any given PathInfo we can look at the hash and say whether
    we have corresponding contents of the file by using ReadHashBlobRefernces.

    Args:
      hashes: An iterable of SHA256HashID objects.

    Returns:
      A dict where SHA256HashID objects are keys and iterables of BlobReference
      objects are values. If no blob references are found for a certain hash,
      None will be used as a value instead of a list.
    """
Reads blob references of a given set of hashes.

    Every file known to GRR has a history of PathInfos. Every PathInfo has a
    hash_entry corresponding to a known hash of a file (or a downloaded part
    of the file) at a given moment.

    GRR collects files by collecting individual data blobs from the client.
    Thus, in the end a file contents may be described as a sequence of blobs.
    We key this sequence of blobs not with the file name, but rather with a
    hash identifying file contents.

    This way for any given PathInfo we can look at the hash and say whether
    we have corresponding contents of the file by using ReadHashBlobRefernces.

    Args:
      hashes: An iterable of SHA256HashID objects.

    Returns:
      A dict where SHA256HashID objects are keys and iterables of BlobReference
      objects are values. If no blob references are found for a certain hash,
      None will be used as a value instead of a list.
    
Reads blob references of a given set of hashes.
Every file known to GRR has a history of PathInfos. Every PathInfo has a
hash_entry corresponding to a known hash of a file (or a downloaded part
of the file) at a given moment.

GRR collects files by collecting individual data blobs from the client.
Thus, in the end a file contents may be described as a sequence of blobs.
We key this sequence of blobs not with the file name, but rather with a
hash identifying file contents.

This way for any given PathInfo we can look at the hash and say whether
we have corresponding contents of the file by using ReadHashBlobRefernces.
Reads blob references of a given set of hashes . Every file known to GRR has a history of PathInfos . Every PathInfo has a hash_entry corresponding to a known hash of a file ( or a downloaded part of the file ) at a given moment . GRR collects files by collecting individual data blobs from the client . Thus in the end a file contents may be described as a sequence of blobs . We key this sequence of blobs not with the file name but rather with a hash identifying file contents . This way for any given PathInfo we can look at the hash and say whether we have corresponding contents of the file by using ReadHashBlobRefernces .
def ReadHashBlobReferences(self, hashes):
def ReadHashBlobReferences ( self , hashes ) :
Reads blob references of a given set of hashes.
Reads blob references of a given set of hashes .
"""Reads blob references of a given set of hashes.

    Every file known to GRR has a history of PathInfos. Every PathInfo has a
    hash_entry corresponding to a known hash of a file (or a downloaded part
    of the file) at a given moment.

    GRR collects files by collecting individual data blobs from the client.
    Thus, in the end a file contents may be described as a sequence of blobs.
    We key this sequence of blobs not with the file name, but rather with a
    hash identifying file contents.

    This way for any given PathInfo we can look at the hash and say whether
    we have corresponding contents of the file by using ReadHashBlobRefernces.

    Args:
      hashes: An iterable of SHA256HashID objects.

    Returns:
      A dict where SHA256HashID objects are keys and iterables of BlobReference
      objects are values. If no blob references are found for a certain hash,
      None will be used as a value instead of a list.
    """
A dict where SHA256HashID objects are keys and iterables of BlobReference
objects are values. If no blob references are found for a certain hash,
None will be used as a value instead of a list.
A dict where SHA256HashID objects are keys and iterables of BlobReference objects are values . If no blob references are found for a certain hash None will be used as a value instead of a list .
self
hashes
An iterable of SHA256HashID objects.
An iterable of SHA256HashID objects .