sshmitm.plugins.scp.cve202229154 module

This plugin modifies the behavior of the rsync command in SCP. The rsync-inject-file argument can be specified to add an additional file to the rsync command sent to the server. The rewritten rsync command is logged for informational purposes.

class sshmitm.plugins.scp.cve202229154.CVE202229154(session)

Bases: SCPForwarder

inject additional files in rsync

Parameters:

session (Session)

classmethod parser_arguments()
Return type:

None

rewrite_scp_command(command)
Parameters:

command (str)

Return type:

str