IP address of Crestron device to replicate. h, -help show this help message and exit Python 2.7 (Haven't tried 3, but I think everything's written in a version-agnostic way).What it doĮstablishes a Crestron Toolbox Protocol (CTP) session via Paramiko SSH or basic TCP socket, creates a local pyftpdlib FTP server, does a recursive directory listing in the CTP session, creates a matching local directory structure, and calls the CTP FPUTfile command, telling the Crestron device to FTP found files to the local pyftpdlib FTP server. If anything, here's another script someone else can rip apart to make something better. One test device stopped FTP'ing files after a few days of testing. A few test devices had no issue surrendering all files. It's largely untested and could lead to general unresponsiveness. I went down a bunch of rabbit-holes while ripping appart Crestron Device Documenter and thinking about that Crestron presentation at the last DEFCON, losing sight of the end goal more than once. My hands got tired of copy-paste, so this abomination happened. What it isĪ highly cannibalized copy of "Crestron Device Documenter" (sorry for the comments, in advance), made to automate the process of copying files from a Crestron device to the local filesystem. A script for recursively pulling files from a Crestron device using CTP.
0 Comments
Leave a Reply. |