[BUG] Wrong hex search in Lister

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
stinf
Junior Member
Junior Member
Posts: 3
Joined: 2015-04-28, 09:12 UTC

[BUG] Wrong hex search in Lister

Post by *stinf »

Hello,
I found an error in the hex search function in Lister: in a binary file, with hex view, I was searching for the hex string "ED02" and Lister found a match with "CD02". In the same file, I noticed the same error when I search for "CD" and get a match with "ED". The same problem seems to be present with other patterns, too.

If necessary I can investigate further.

Thanks.
Stefano
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

It is a bit of feature: TC can search for hex values case insensitive or sensitive, so you have to check corresponding option too.
stinf
Junior Member
Junior Member
Posts: 3
Joined: 2015-04-28, 09:12 UTC

Post by *stinf »

Ok, I tried with case sensitiveness checked, and it seems to be all ok.

But, can you please explain more details about this topic? It is not clear to me why 0xED should match 0xCD with a case insensitive search...

Thanks again.
User avatar
Ovg
Power Member
Power Member
Posts: 755
Joined: 2014-01-06, 16:26 UTC

Post by *Ovg »

2stinf

0xCD - "Н"
0xED - "н"
It's impossible to lead us astray for we don't care even to choose the way.
#259941, TC 11.01 x64, Windows 7 SP1 x64
stinf
Junior Member
Junior Member
Posts: 3
Joined: 2015-04-28, 09:12 UTC

Post by *stinf »

Oh, thanks!

I did not realize you were talking about ASCII equivalents of the hex codes... to me it was just binary data! :)

Thanks again,
Stefano
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

stinf wrote:to me it was just binary data! :)
I also haven't expected such behaviour when noticed it for the first time years ago. :D
User avatar
Hacker
Moderator
Moderator
Posts: 13144
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

[mod]Moved to the English forum.

Hacker (Moderator)[/mod]
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Post Reply