mirror of
https://github.com/gchq/CyberChef
synced 2025-12-17 16:53:45 +00:00
improve treatment of Hex(little endian) for Windows Filetime converter
This commit is contained in:
@@ -79,6 +79,9 @@ class UNIXTimestampToWindowsFiletime extends Operation {
|
||||
flipped += result.charAt(i);
|
||||
flipped += result.charAt(i + 1);
|
||||
}
|
||||
if (result.length % 2 !== 0) {
|
||||
flipped += "0" + result.charAt(0);
|
||||
}
|
||||
result = flipped;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user