question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Having an issue with compressed bitmaps

See original GitHub issue

I’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:closed
  • Created 6 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
nitrogenccommented, Feb 10, 2022

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.

0reactions
Sankgreallcommented, Feb 10, 2022

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!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Consistently faster and smaller compressed bitmaps ... - arXiv
Many bitmap compression techniques have been proposed, almost all relying primarily on run-length encoding (RLE). However, on unsorted data, we can get superior ......
Read more >
A better compressed bitset - Roaring Bitmaps
Bitsets, also called bitmaps, are commonly used as fast data structures. Unfortunately, they can use too much memory. To compensate, we often use...
Read more >
Consistently faster and smaller compressed bitmaps ... - CORE
Many bitmap compression techniques have been proposed, almost all relying primarily on run-length encoding (RLE). However, on unsorted data, we can get superior ......
Read more >
Compressing bitmap fails (Python implementation)
I have an application that uses bitmaps for image ...
Read more >
Compressing Bitmap Indexes for Faster Search ... - OSTI.gov
pressed bitmap. To address this performance issue, a num- ber of special algorithms have been proposed. Johnson and colleagues have conducted extensive ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found