Provides a dictionary with information about a blob. Useful for calls to a plugin's write() function, e.g. self.write(\\*\\*blob.info()) Returns: Dictionary with information
(self)
| 1868 | # return data |
| 1869 | |
| 1870 | def info(self): |
| 1871 | """ |
| 1872 | Provides a dictionary with information about a blob. Useful for |
| 1873 | calls to a plugin's write() function, e.g. self.write(\\*\\*blob.info()) |
| 1874 | |
| 1875 | Returns: |
| 1876 | Dictionary with information |
| 1877 | """ |
| 1878 | d = {k: v for k, v in self.__dict__.items() if not k.startswith('_')} |
| 1879 | del d['hidden'] |
| 1880 | del d['packets'] |
| 1881 | return d |
| 1882 | |
| 1883 | |
| 1884 | # TODO: Trying to determine if we should do this or take into account acknowledgement numbers |
no outgoing calls
no test coverage detected