Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Written by Ricardo Garcia.
Released to the public domain.

flashcmd is a short and simple Python script designed to work in Linux. It lets
you run commands on possibly deleted Flash video files currently opened by your
browser's Flash plugin. For this purpose, it parses the output of lsof to find
out the plugin's PID and the file descriptor number of the video file. With
them, a /proc/PID/fd/FD file path is formed and a command can be run on it.

Usage example:

	$ flashcmd
	
	(1) /tmp/FlashXXRzNy1W
	
	You choose number: 1
	
	Command to run. @@ will be replaced by the file name:
	> cp @@ ~/video.flv

... and the video is copied to your home directory.

About

Run commands on possibly deleted Flash video files opened by your web browser

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors