Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
__init__.py
in order to expose appropriate API classes and functions directly todshell
logging.getLogger()
functions instead of passing along logging modules in classes.PacketPlugin
to dynamically pull data as a property and added a setter to allow updating the data.PacketPlugin
to keep track of the frame number. This makes it easier for debugging and reporting because we can more easily find the matching packet object in Wireshark.Connection
to be packet-based instead of blob-based and changedblobs
to be a dynamic property. This helps to simplify the codebase and provide more flexibility in the future.Blob
to dynamically pull raw data and added the ability to update the data which in turn updates the appropriatePacket
objects. This allows us to write out the decrypted traffic back into packet for either the next plugin to handle or to be written out with thepcapwriter
Blob
to be able to get the underlying packets for a specific offset range.Blob
to better handle out-of-order or retransmitted packets.feed_plugin_chain()
into the appropriate classes.process_files()
into a new function calledread_packets()
httpplugin
to gracefully throw an exception if a http plugin failed from a state it can't recover from.pcapwriter
to allow it to use the input file as part of its output file if an output file is not provided.