Skip to content
ANSSI-FRPublic

About

RDP Bitmap Cache parser

Resources

Stars

699 stars

Watchers

18 watching

Forks

Latest commit

 

History

38 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

BMC-Tools

RDP Bitmap Cache parser.

Input

bmc-tools processes bcache*.bmc and cache????.bin files found inside Windows user profiles.

Usage

./bmc-tools.py [-h] -s SRC -d DEST [-c COUNT] [-v] [-o] [-b] [-w WIDTH]

With the following arguments meaning:

  -h, --help              show this help message and exit
  -s SRC, --src SRC       Specify the BMCache file or directory to process.
  -d DEST, --dest DEST    Specify the directory where to store the extracted bitmaps.
  -c COUNT, --count COUNT Only extract the given number of bitmaps.
  -v, --verbose           Determine the amount of information displayed.
  -o, --old               Extract the old bitmap data found in the BMCache file.
  -b, --bitmap            Provide a collage bitmap aggregating all the tiles.
  -w WIDTH, --width WIDTH Specify the number of tiles per line of the aggregated bitmap (default=64).
  -k, --kape            Use this option to split out the different inputs into separate folders

Changelog

08/04/2026		3.05  Added support for old bitmap data in BMCache files.
01/12/2023		3.04  Fix memory usage for huge speed improvement
15/05/2023		3.03  Added KAPE output to split output into seperate folders
02/03/2023		3.02	Added destination folder existence check beforehand.
01/03/2023		3.01	Fixed old Bitmaps storage and export.
10/02/2022		3.00	Now performing tile decompression.
07/12/2020		2.11	Corrected minor string printing issue under Python3.
07/12/2020		2.10	Improved collage creation under Python3.
04/12/2020		2.00	Now compatible with both Python2 and Python3.
23/11/2020		1.04	Fixed Bitmap size field.
30/04/2018		1.03	Added extra aggregated bitmap/collage output.
22/04/2018		1.02	Added support for (old?) bcache23.bmc files.
25/11/2016		1.01	Compressed data handling improved.
25/11/2016		1.00c	Unused variable removed.
10/08/2016		1.00b	--dest parameter processing fixed.
01/07/2016		1.00a	cacheXXXX.bin header detection fixed.
27/06/2016		1.00	Initial release.

About

RDP Bitmap Cache parser

Resources

Stars

699 stars

Watchers

18 watching

Forks

Releases

Packages

Used by

Contributors

Languages