sshmitm.tutorial.tutorials.sftp_download package

Tutorial: SFTP File Download Interception.

class sshmitm.tutorial.tutorials.sftp_download.SFTPDownloadTutorial

Bases: Tutorial

category: ClassVar[str] = 'File Transfer'
description: ClassVar[str] = 'Learn how SSH-MITM intercepts SFTP downloads and reveals which files a client copies from a server.'
docs: ClassVar[dict[str, str]] = {'File Transfers': 'https://docs.ssh-mitm.at/audit_guide/file_transfer.html', 'Logfile Inc. Assessment': 'https://docs.ssh-mitm.at/get_started/scenario.html'}
id: ClassVar[str] = '03-sftp-download'
lab_service_labels: ClassVar[dict[str, str]] = {'mock_port': 'files.logfileinc.internal'}
proxy_target

alias of Files

requires: ClassVar[list[Requirement]] = [<sshmitm.tutorial._requirements.RandomPassword object>, <sshmitm.tutorial._requirements.RandomChoice object>]
scenario

alias of LogfileIncScenario

steps: list[Step] = [Step(id='intro', title='What you will learn', content='', condition=<sshmitm.tutorial._conditions.TRUE object>, victim_action=None, command=None, copyable=[], hint_waiting='', hint_done='Introduction read. ✓'), Step(id='start-sshmitm', title='Start SSH-MITM', content='', condition=<sshmitm.tutorial._conditions.PortOpen object>, victim_action=None, command='ssh-mitm server --remote-host {proxy_target_address} --remote-port {mock_port} --listen-port {sshmitm_port}', copyable=[], hint_waiting='Waiting for SSH-MITM to start on port {sshmitm_port}…', hint_done='SSH-MITM is running on port {sshmitm_port}. ✓'), Step(id='intercept', title='Find the downloaded filename', content='', condition=<sshmitm.tutorial._conditions.UserInput object>, victim_action=<sshmitm.tutorial._client_actions.SFTPDownloadSessionAction object>, command=None, copyable=[], hint_waiting='A developer is downloading a file through SSH-MITM. Check the terminal and enter the filename above.', hint_done='Correct! You intercepted the file transfer. ✓')]
tags: ClassVar[list[str]] = ['SFTP', 'File Interception']
title: ClassVar[str] = 'SFTP File Download Interception'
victim

alias of MaxMorgan