I have a sample that returns as a PNG file using magic. However, it is in fact a rar file. I can unpack it with the rar command or with 7zip manually.
What would be the best way to pass the package type, rar in this case, to the unpacker.
I'm importing unpack from sflock currently.