michaelmcdaniel / GuidgenConsole

C# Guidgen Console app generates, replaces, finds, and reformats GUIDs from the command line. Supports clipboard, | (pipes), and lots of formats.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update search/reformat for random guid by given byte order.

michaelmcdaniel opened this issue · comments

When reformatting first check byte order for b7=4[a-f0-9] and b8=[89ab][a-f0-9] for random guid in format of b3b2b1b0-b5b4-b7b6-b8b9-babbbcbdbebf
Then check b6=4[a-f0-9] and b8=[89ab][a-f0-9] for random guid in the format of b0b1b2b3-b4b5-b6b7-b8b9-babbbcbdbebf

This really only applies when no search format is specified.

This will give us an idea of the byte order for the given random GUID (FORMAT=G). If those are not present, then we will have to continue to make an assumption based on the search formats, because the GUID is in a non-standard format, like sequential.