简体   繁体   中英

What's the best way of searching for Flash content in git repositories?

Given that Flash is now obsolete, I want to search a bunch of git repositories to look for where we might have stored Flash content so that we can expunge it. I know how to search git, but the question is: what kind of patterns should I look for in the repositories?

For example, if I were looking for PDFs then I could search for %PDF as a string. Are there such signatures that stand out for Flash content?

As explained in SWF file format specification or this older spec flash files ( *.swf ) start with FWS , CWS or ZWS headers ( SWF , SWC and SWZ spelled backward).

Flash Video ( *.flv ) start with FLV . Not sure about Flash Audio ( *.fla ).

Here is source code for libmagic , it lists the same headers and nothing more.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM