Parses and extracts files from the Carbonite app SMS Backup & Restore
The SMS Backup & Restore app has the option to embed images, videos, etc that are in MMS messages into its backup file. The backup XML file it generates will contain the base64 encoded data and usually be rather large. Unfortunately the app itself doesn't give the easy ability to extract the encoded files from the XML file. This app serves to fill that gap.
For now, the types this application looks for to extract are: png, jpeg, gif, and 3gpp. If you know your way around the code, just add more types as you find them. These are the only types I found in a few different backups so far.
Note
You must remove the following XSL stylesheet line from your XML file, as TinyXML2 (the parser used in this app) does not handle this.
<?xml-stylesheet type="text/xsl" href="sms.xsl"?>
CMake >= 2.8.11
Linux
mkdir build
cd build
cmake ..
make
Windows
- Run the CMake GUI
- Choose the source (location of the
CMakeLists.txt
file) - Choose the binary directories (usually just append
\build
) - Click Configure (and choose your installed C++ compiler)
- Click Generate
- Navigate to the binary directory and open your generated project files
SMSBackupParser -d <destination_directory> XML_FILE