SCPRewriteCommand - A plugin for ssh-mitm that rewrites SCP commands.
This plugin is used to modify SCP commands, either by appending a string to the existing command or replacing the command with a different string. It can also be used to modify rsync and git commands. The new command is specified using the –scp-append-string and –scp-replace-string options, respectively.
- class sshmitm.plugins.scp.rewrite_command.SCPRewriteCommand(session: Session)
replace the file with another file
- classmethod parser_arguments() None
- rewrite_scp_command(command: str) str