USB ripper

research the author… it’s really simple from there. The “logical” way just requires some scripting to find patterns.