Hongmu Notes

🧩 Hexadecimal to text

Restores one character for every two digits of hexadecimal, automatically ignoring whitespace.

Hexadecimal to text

Instructions for use

  • It will automatically restore after pasting the hexadecimal string. You can also click "Restore" to execute it again.
  • Every two digits are restored to one character, and spaces and newlines in the input will be ignored.
  • Suitable for ASCII and Latin characters; UTF-8 Chinese will be reduced to garbled characters

Log hex restore

Only after restoring the string of codes in the log can we understand what happened at that time.

common sources

Encoding strings in interface logs, gateway logs, and debug output.

Just take the hexadecimal part and paste it in the same line.

Mixed processing

Do not stick the log prefix and timestamp together.

Only keep the parts 0-9 and a-f to avoid prompting illegal characters.

Check method

After restoration, compare it with the request content in the log to confirm that it is consistent.

When the field values do not match, first confirm whether the original string has been truncated.

Truncation

Logs are often truncated by line, and a prompt will be given if half a bit is missing.

Multiple lines can be concatenated and then restored, and the effective digits should be in pairs.

Usage suggestions

Save the restoration results together with the original logs for easy backtracking.

When sensitive content is involved, be sure to desensitize it before saving.

All keywords and tutorials 12

❓ FAQ

Why does the prompt contain illegal characters?
The letters or symbols in the log prefix are not in the range 0-9 and a-f.
Can truncated logs be restored?
It can restore the complete paired parts, and the half position will give a prompt.