When you review a Flexera Inventory (.ndi) file, you might see OracleFMW ScriptResult elements that contain unreadable text. This data is encoded and compressed to ensure it fits safely in XML files and to reduce file size.
Decoding this content helps you inspect Oracle Fusion Middleware inventory details for troubleshooting, validation, or deeper analysis. This article shows you how to decode and decompress the data using common tools.
Before you begin
In the .ndi file, look for a ScriptResult block similar to the following:
<ScriptResult RecognitionRuleID="OracleCPURule" Revision="86">
H4sICGWxJ2IAA09yYWNsZV9GTVcudGFyAOxd63fitrb....
</ScriptResult>
or:
<ScriptResult RecognitionRuleID="OracleFMWRule" Revision="86">
H4sICGWxJ2IAA09yYWNsZV9GTVcudGFyAOxd63fitrb....
</ScriptResult>
This confirms that:
- The OracleFMW or Oracle CPU inventory scan ran successfully.
- The agent used recognition rules from InventorySettings.xml revision 86.
- The content is Base64-encoded and GZIP-compressed (the H4sI prefix indicates GZIP).
To read the data, you must first decode it from Base64 and then decompress it.
Option 1: Decode using CyberChef (easiest option)
- Open CyberChef
- Paste the encoded text from the .ndi file into the Input panel.
- In the Operations search box, find From Base64 and drag it into the recipe area.
- Find Gunzip Decompress and drag it under From Base64.
- Review the decoded XML in the Output panel.
This option is recommended if you want a quick result without using the command line.
Option 2: Decode using Linux or macOS
- Save the encoded text to a file, for example: scriptresult.txt.
- Open a terminal.
- Run the following command:
cat scriptresult.txt | base64 --decode | gunzip
The command outputs the decoded XML directly to the terminal.
Option 3: Decode using PowerShell on Windows
- Save the encoded text to a file, for example scriptresult.txt.
- Download and save the attached PowerShell Script (Decoder.ps1)
- Open PowerShell and navigate to the folder where the script and content file are located.
- Run the script using the command:
.\DecodeFlexera.ps1
- Provide the file name when prompted.
This will generate a decoded XML file.
Related Articles
Inventory NDI file from Kubernetes node is discarded if it is older than associated cluster inventory 11Number of Views FlexNet inventory (ndi) files fail to upload when the user name contains a hash (#) character 4Number of Views Generation of compressed inventory NDI files fails on French versions of Windows 4Number of Views The ndi files that fail to import via the inventory import task 14Number of Views Inventory NDI files fail to import and are saved in BadLogs folder on the inventory server if SoftwareFile_MT.SoftwareFile… 8Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago