Page 1 of 1

HxD does not respond after editing and checking a file with alternate streams.

Posted: 24 Jun 2021 22:30
by Ekopalypse
How to reproduce:
Execute the following in a cmd shell to create a file with two alternate streams and display that it has been created

Code: Select all

type nul > test_ads.txt && echo "text1 in stream" > test_ads.txt:stream1 && echo "text2 in stream" > test_ads.txt:stream2 && dir /r test_ads.txt
Should result in something like this

Code: Select all

24.06.2021  22:13                 0 test_ads.txt
                                 21 test_ads.txt:stream1:$DATA
                                 21 test_ads.txt:stream2:$DATA
Open the file with HxD, modify it by adding 65 (e) and save it. Go back to cmd and type

Code: Select all

dir /r test_ads.txt
Go back to Hxd -> hangs/unresponsive. Needs to be killed using task manager.