Having an issue with compressed bitmaps
See original GitHub issueI’m new to this tool, and I was testing it RDP from Server 2008 -> server 2003. This is the output:
`C:\Users\Administrator>python bmc-tools.py -d extracted -s “C:\Users\Administrat or\AppData\Local\Microsoft\Terminal Server Client\Cache” -v [+++] Processing a directory… [—] File ‘C:\Users\Administrator\AppData\Local\Microsoft\Terminal Server Clien t\Cache\bcache22.bmc’ has been found. [===] Successfully loaded ‘C:\Users\Administrator\AppData\Local\Microsoft\Termin al Server Client\Cache\bcache22.bmc’ as a .BMC container. [!!!] Tile data is compressed (5632 bytes compressed in 25 bytes); skipping. [!!!] Tile data is compressed (16384 bytes compressed in 1107 bytes); skipping. [!!!] Tile data is compressed (16384 bytes compressed in 1276 bytes); skipping. [!!!] Tile data is compressed (16384 bytes compressed in 879 bytes); skipping. [!!!] Tile data is compressed (16384 bytes compressed in 227 bytes); skipping. [!!!] Tile data is compressed (5120 bytes compressed in 128 bytes); skipping. [!!!] Tile data is compressed (5632 bytes compressed in 1149 bytes); skipping. [!!!] Tile data is compressed (5632 bytes compressed in 365 bytes); skipping. [!!!] Tile data is compressed (5632 bytes compressed in 1358 bytes); skipping. [!!!] Tile data is compressed (5632 bytes compressed in 170 bytes); skipping. [!!!] Tile data is compressed (5632 bytes compressed in 101 bytes); skipping. [!!!] Tile data is compressed (5632 bytes compressed in 26 bytes); skipping. [!!!] Tile data is compressed (5632 bytes compressed in 809 bytes); skipping. [!!!] Tile data is compressed (5120 bytes compressed in 127 bytes); skipping. [!!!] Tile data is compressed (5120 bytes compressed in 145 bytes); skipping. [!!!] Tile data is compressed (5120 bytes compressed in 128 bytes); skipping. [!!!] Tile data is compressed (5632 bytes compressed in 752 bytes); skipping. [!!!] Tile data is compressed (5632 bytes compressed in 122 bytes); skipping. [!!!] Tile data is compressed (5632 bytes compressed in 98 bytes); skipping. [!!!] Tile data is compressed (16384 bytes compressed in 24 bytes); skipping. [!!!] Tile data is compressed (16384 bytes compressed in 23 bytes); skipping. [!!!] Tile data is compressed (4864 bytes compressed in 23 bytes); skipping. [!!!] Tile data is compressed (5632 bytes compressed in 433 bytes); skipping. [!!!] Tile data is compressed (5632 bytes compressed in 513 bytes); skipping. [!!!] Tile data is compressed (5632 bytes compressed in 85 bytes); skipping. [!!!] Tile data is compressed (5632 bytes compressed in 288 bytes); skipping. [!!!] Tile data is compressed (5632 bytes compressed in 263 bytes); skipping. [!!!] Tile data is compressed (16384 bytes compressed in 25 bytes); skipping. [!!!] Tile data is compressed (16384 bytes compressed in 27 bytes); skipping. [!!!] Tile data is compressed (4864 bytes compressed in 25 bytes); skipping. [!!!] Tile data is compressed (16384 bytes compressed in 23 bytes); skipping. [!!!] Tile data is compressed (16384 bytes compressed in 1162 bytes); skipping. [!!!] Tile data is compressed (16384 bytes compressed in 1233 bytes); skipping. [!!!] Tile data is compressed (16384 bytes compressed in 21 bytes); skipping. [!!!] Tile data is compressed (15616 bytes compressed in 23 bytes); skipping. [!!!] Tile data is compressed (4352 bytes compressed in 120 bytes); skipping. [!!!] Tile data is compressed (4352 bytes compressed in 23 bytes); skipping. [!!!] Tile data is compressed (4352 bytes compressed in 21 bytes); skipping. [!!!] Tile data is compressed (16384 bytes compressed in 25 bytes); skipping. [!!!] Tile data is compressed (15616 bytes compressed in 25 bytes); skipping. [!!!] Tile data is compressed (7680 bytes compressed in 124 bytes); skipping. [!!!] Tile data is compressed (5632 bytes compressed in 1130 bytes); skipping. [!!!] Tile data is compressed (5632 bytes compressed in 363 bytes); skipping. [!!!] Tile data is compressed (5120 bytes compressed in 138 bytes); skipping. [!!!] Tile data is compressed (16384 bytes compressed in 1505 bytes); skipping. [!!!] Tile data is compressed (16384 bytes compressed in 1722 bytes); skipping. [!!!] Tile data is compressed (5632 bytes compressed in 642 bytes); skipping. [!!!] Tile data is compressed (5632 bytes compressed in 852 bytes); skipping. [!!!] Tile data is compressed (5632 bytes compressed in 42 bytes); skipping. [!!!] Tile data is compressed (5120 bytes compressed in 138 bytes); skipping. [!!!] Tile data is compressed (5632 bytes compressed in 788 bytes); skipping. [!!!] Tile data is compressed (5632 bytes compressed in 130 bytes); skipping. [!!!] Tile data is compressed (5632 bytes compressed in 44 bytes); skipping. [!!!] Tile data is compressed (16384 bytes compressed in 1752 bytes); skipping. [!!!] Tile data is compressed (16384 bytes compressed in 1369 bytes); skipping. [!!!] Tile data is compressed (16384 bytes compressed in 23 bytes); skipping. [!!!] Tile data is compressed (16384 bytes compressed in 27 bytes); skipping. [!!!] Tile data is compressed (16384 bytes compressed in 459 bytes); skipping. [!!!] Tile data is compressed (16384 bytes compressed in 284 bytes); skipping. [!!!] Tile data is compressed (4864 bytes compressed in 23 bytes); skipping. [!!!] Tile data is compressed (4864 bytes compressed in 27 bytes); skipping. [===] 0 tiles successfully extracted in the end. [===] Successfully exported 0 files.
C:\Users\Administrator> `
Is it not possible to extract compressed data?
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (3 by maintainers)
Top GitHub Comments
Hi !
Tile decompression has been implemented today with version 3.00 (commit d7dc673). All credits from [MS-RDPBCGR] 2.2.9.1.1.3.1.2.4 : https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-rdpbcgr/b3b60873-16a8-4cbc-8aaa-5f0a93083280
Since the enhancement has been implemented, I’m closing this issue.
Cheers.
Fantastic work here… I’ll admit this issue has had me stumped for quite some time. Will be spending today going over your commit to figure out where I was going wrong. Thank you for making the time to add this functionality!