无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站广告联系 微信:wuyouceo QQ:184822951
楼主: wintoflash
打印 上一主题 下一主题

[分享] 开源的硬件信息工具nwinfo [20240416]

    [复制链接]
1#
发表于 2023-1-26 21:06:33 | 显示全部楼层
回复

使用道具 举报

2#
发表于 2023-9-1 13:09:23 | 显示全部楼层
本帖最后由 pda8888 于 2023-9-1 13:36 编辑

报告楼主:nwinfo_x86(或x64)执行 --no-smart --disk,有很小的机率返回空内容,而且,第一次返回空内容之后,再执行,也是空内容。此时执行一次只带 --disk ,不带 --no-smart ,就能得到正确结果,但是没有 --no-smart,要等上几秒,当然不返回空内容的时候不带 --no-smart参数,也是要等几秒的。我的硬件环境:
ASUS B760M-AYW WIFI D4 (Ver:1030)|06/09/2023
12th Gen Intel(R) Core(TM) i5-12400
King Tiger Technology|Tigo-8G-3200|DDR4 3200 8GB|Controller0-ChannelA-DIMM0
King Tiger Technology|Tigo-8G-3200|DDR4 3200 8GB|Controller1-ChannelA-DIMM0
XPG GAMMIX S11L @ NVMe 477GB
HP SSD EX900 500GB @ NVMe 466GB
Intel Corporation Alder Lake-S GT1 [UHD Graphics 730]

顺带说一句:您这作品配合jq,非常的好用,我列表的,就是这样得来的。

点评

是完全不输出任何字符吗?那可能是程序崩溃了。 请执行 nwinfo --no-smart --disk --sys --output=report.yaml ,把报告发上来。如果里面包含了敏感项目(比如用户名、序列号等),可以把这些项目删掉。  详情 回复 发表于 2023-9-1 14:17
回复

使用道具 举报

3#
发表于 2023-9-1 15:21:09 来自手机 | 显示全部楼层
好的我多试试,争取把这个现象再试验出来,生成报告发上来

点评

https://github.com/a1ive/nwinfo/releases/tag/latest 使用这个版本,执行 nwinfo --disk --no-smart --sys --debug > report.log  详情 回复 发表于 2023-9-1 19:58
不是的,就是正常情况下生成  详情 回复 发表于 2023-9-1 15:38
回复

使用道具 举报

4#
发表于 2023-9-2 07:19:07 | 显示全部楼层
好的,用您指定的版本(其实就是0.83,好像,本来也是用的这个版本),执行了:
nwinfo_x64 --disk --no-smart --sys --debug > report.log
报告在这里:https://fast.uc.cn/s/00194e50b5e64  密码:wx35
回复

使用道具 举报

5#
发表于 2023-9-2 07:21:15 | 显示全部楼层
奇怪的是再也没有试出来空白的报告了。
我高度怀疑是不是我有一个固态盘当时有问题了,作妖中,但是不是一直都显现有问题。
这次的报告,还多了一个USB固态。
回复

使用道具 举报

6#
发表于 2023-9-2 07:38:55 | 显示全部楼层
本帖最后由 pda8888 于 2023-9-2 07:54 编辑

刚才在另一台pve7.1下的win10虚拟机执行了多次
nwinfo_x64 --disk --no-smart --sys --debug > qemu.log,生成的 qemu.log 是 0字节文件
又执行多次不带 > qemu.log,也是空白输出,最后终于有一次显示了json文件。

  1. C:\Greensoft\tools>nwinfo_x64 --disk --no-smart --sys --debug > qemu.log

  2. C:\Greensoft\tools>nwinfo_x64 --disk --no-smart --sys --debug

  3. C:\Greensoft\tools>nwinfo_x64 --disk --no-smart --sys --debug

  4. C:\Greensoft\tools>nwinfo_x64 --disk --no-smart --sys --debug

  5. C:\Greensoft\tools>nwinfo_x64 --disk --no-smart --sys --debug

  6. C:\Greensoft\tools>nwinfo_x64 --disk --no-smart --sys --debug
  7. ---
  8. NWinfo:
  9.     Build Time: 'Aug 20 2023 02:02:09'
  10.     libnw: 'v0.8.3.0'
  11.     MSVC Version: '193532217'
  12.     Driver: 'HwRwDrv'
  13.     Driver Path: 'C:\Greensoft\tools\HwRwDrvx64.sys'
  14.     Driver Version: '1.0.6.0'
  15.     Language ID: '2052'
  16.     libcpuid: '0.6.3'
  17.     CrystalDiskInfo: '9.1.1'
  18.     PCI ID: '2023.08.10'
  19.     USB ID: '2023.08.18'
  20.     PNP ID: '2023.08.20'
  21.     JEP106 ID: '2022.10.27'
  22.     Error: [ '~' ]
  23.     Disks:
  24.         - Disk:
  25.             Path: '\\.\PhysicalDrive0'
  26.             HWID: 'SCSI\Disk&Ven_QEMU&Prod_HARDDISK\4&35424867&0&000000'
  27.             HW Name: 'QEMU HARDDISK'
  28.             Product ID: 'QEMU HARDDISK'
  29.             Product Rev: '2.5+'
  30.             Serial Number: 'QM00001'
  31.             Type: 'SATA'
  32.             Removable: No
  33.             Size: 168577466368
  34.             Partition Table: 'MBR'
  35.             MBR Signature: '6C BC E1 88'
  36.             Volumes:
  37.                 - Volume:
  38.                     Path: '\Device\HarddiskVolume1'
  39.                     Volume GUID: '\\?\Volume{88e1bc6c-0000-0000-0000-200000000000}'
  40.                     Starting LBA: 4096
  41.                     Partition Number: 1
  42.                     Partition Type: '0x07'
  43.                     Partition ID: '{88E1BC6C-0000-0000-0000-200000000000}'
  44.                     Boot Indicator: Yes
  45.                     Partition Flag: 'PRIMARY'
  46.                     Label: 'Win 10 Pro x64'
  47.                     Filesystem: 'NTFS'
  48.                     Free Space: 34947223552
  49.                     Total Space: 168573267968
  50.                     Usage: '79.27%'
  51.                     Volume Path Names:
  52.                         - Mount Point:
  53.                             Drive Letter: 'C:\'
  54.     System:
  55.         OS: 'Windows 10 22H2'
  56.         Build Number: '10.0.19045'
  57.         Computer Name: 'SKY-20220906OBY'
  58.         Username: 'James Wang'
  59.         DNS Domain: '~'
  60.         DNS Hostname: 'SKY-20220906OBY'
  61.         System Directory: 'C:\windows\system32'
  62.         Windows Directory: 'C:\windows'
  63.         Uptime: '4d 3h 24m 48s'
  64.         Processor Architecture: 'x64'
  65.         Computer Hardware Id: '{16c2701b-26b5-51c1-904c-50688039261d}'
  66.         Safe Mode: No
  67.         DBCS Enabled: Yes
  68.         Debug Version: No
  69.         Slow Processor: No
  70.         Network Presence: Yes
  71.         Boot Device: '\Device\HarddiskVolume1'
  72.         System Device: '\Device\HarddiskVolume1'
  73.         Start Options: ' NOEXECUTE=OPTIN'
  74.         BitLocker Boot: No
  75.         Firmware: 'Legacy BIOS'
  76.         TPM: 'NOT FOUND'
  77.         Page Size: 4096
  78.         Memory Usage: '62%'
  79.         Paging File Usage: '0%'
  80.         Physical Memory:
  81.             Free: 10070765568
  82.             Total: 26842955776
  83.         Paging File:
  84.             Free: 0
  85.             Total: 0

  86. C:\Greensoft\tools>
复制代码

点评

不一样。 你在这个虚拟机上用的不是我指定的版本。 如果用的是我指定的版本,不可能没任何输出的。 [attachimg]531155[/attachimg]  详情 回复 发表于 2023-9-2 08:22
回复

使用道具 举报

7#
发表于 2023-9-2 07:50:54 | 显示全部楼层
本帖最后由 pda8888 于 2023-9-2 07:58 编辑

另外,在这台虚拟机上,我用以下命令:

  1. nwinfo_x64.exe --cpu --smbios --no-smart --disk --pci=03 --sys --output=qemu.yaml
复制代码

得到的qemu.yaml文件内容如下:

  1. ---
  2. NWinfo:
  3.     Build Time: 'Sep  1 2023 12:45:33'
  4.     libnw: 'v0.8.3.0'
  5.     MSVC Version: '193632538'
  6.     Driver: 'HwRwDrv'
  7.     Driver Path: 'C:\Greensoft\tools\nwinfo\HwRwDrvx64.sys'
  8.     Driver Version: '1.0.6.0'
  9.     Language ID: '2052'
  10.     libcpuid: '0.6.3'
  11.     CrystalDiskInfo: '9.1.1'
  12.     PCI ID: '2023.08.10'
  13.     USB ID: '2023.08.24'
  14.     PNP ID: '2023.09.01'
  15.     JEP106 ID: '2023.05.04'
  16.     Error: [ '~' ]
  17.     CPUID:
  18.         Total CPUs: 6
  19.         Hypervisor: 'Microsoft Hyper-V'
  20.         Hypervisor Signature: 'Microsoft Hv'
  21.         Processor Count: 1
  22.         CPU Clock (MHz): 1800
  23.         CPU0:
  24.             Purpose: 'general'
  25.             Vendor: 'GenuineIntel'
  26.             Vendor Name: 'Intel'
  27.             Brand: 'Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz'
  28.             Code Name: 'Kaby Lake-R (Core i5)'
  29.             Family: '06h'
  30.             Model: '0Eh'
  31.             Stepping: '0Bh'
  32.             Ext.Family: '06h'
  33.             Ext.Model: '8Eh'
  34.             Cores: 6
  35.             Logical CPUs: 6
  36.             Affinity Mask: '0000003F'
  37.             SSE Units: '128 bits (non-authoritative)'
  38.             Multiplier: '3.0 (0 - 0)'
  39.             Core Voltage (V): 0.12
  40.             Features: [ 'fpu', 'vme', 'de', 'pse', 'tsc', 'msr', 'pae', 'mce', 'cx8', 'apic', 'mtrr', 'sep', 'pge', 'mca', 'cmov', 'pat', 'pse36', 'clflush', 'mmx', 'fxsr', 'sse', 'sse2', 'ss', 'ht', 'pni', 'pclmul', 'vmx', 'ssse3', 'cx16', 'pdcm', 'sse4_1', 'sse4_2', 'syscall', 'xd', 'movbe', 'popcnt', 'aes', 'xsave', 'osxsave', 'avx', 'rdtscp', 'lm', 'lahf_lm', 'abm', 'fma3', 'f16c', 'rdrand', 'x2apic', 'avx2', 'bmi1', 'bmi2', 'rdseed', 'adx', 'hypervisor' ]
  41.             Cache:
  42.                 L1 D: '32 KB, 8-way'
  43.                 L1 I: '32 KB, 8-way'
  44.                 L2: '4.00 MB, 16-way'
  45.                 L3: '16.00 MB, 16-way'
  46.     Disks:
  47.         - Disk:
  48.             Path: '\\.\PhysicalDrive0'
  49.             HWID: 'SCSI\Disk&Ven_QEMU&Prod_HARDDISK\4&35424867&0&000000'
  50.             HW Name: 'QEMU HARDDISK'
  51.             Product ID: 'QEMU HARDDISK'
  52.             Product Rev: '2.5+'
  53.             Serial Number: 'QM00001'
  54.             Type: 'SATA'
  55.             Removable: No
  56.             Size: 168577466368
  57.             Partition Table: 'MBR'
  58.             MBR Signature: '6C BC E1 88'
  59.             Volumes:
  60.                 - Volume:
  61.                     Path: '\Device\HarddiskVolume1'
  62.                     Volume GUID: '\\?\Volume{88e1bc6c-0000-0000-0000-200000000000}'
  63.                     Starting LBA: 4096
  64.                     Partition Number: 1
  65.                     Partition Type: '0x07'
  66.                     Partition ID: '{88E1BC6C-0000-0000-0000-200000000000}'
  67.                     Boot Indicator: Yes
  68.                     Partition Flag: 'EXTENDED'
  69.                     Label: 'Win 10 Pro x64'
  70.                     Filesystem: 'NTFS'
  71.                     Free Space: 34937597952
  72.                     Total Space: 168573267968
  73.                     Usage: '79.27%'
  74.                     Volume Path Names:
  75.                         - Mount Point:
  76.                             Drive Letter: 'C:\'
  77.     PCI:
  78.         - Device:
  79.             HWID: 'PCI\VEN_8086&DEV_3EA0&SUBSYS_22128086&REV_00'
  80.             Class Code: '030000'
  81.             Class: 'Display controller'
  82.             Subclass: 'VGA compatible controller'
  83.             Prog IF: 'VGA controller'
  84.             Vendor ID: '8086'
  85.             Device ID: '3EA0'
  86.             Vendor: 'Intel Corporation'
  87.             Device: 'WhiskeyLake-U GT2 [UHD Graphics 620]'
  88.         - Device:
  89.             HWID: 'PCI\VEN_1AF4&DEV_1050&SUBSYS_11001AF4&REV_01'
  90.             Class Code: '030000'
  91.             Class: 'Display controller'
  92.             Subclass: 'VGA compatible controller'
  93.             Prog IF: 'VGA controller'
  94.             Vendor ID: '1AF4'
  95.             Device ID: '1050'
  96.             Vendor: 'Red Hat, Inc.'
  97.             Device: 'Virtio 1.0 GPU'
  98.     SMBIOS:
  99.         - DMI:
  100.             SMBIOS Version: '2.8'
  101.             DMI Reversion: 0
  102.             SMBIOS Length: 484
  103.         - Table:
  104.             Table Type: 0
  105.             Table Length: 24
  106.             Table Handle: 0
  107.             Description: 'BIOS Information'
  108.             Vendor: 'SeaBIOS'
  109.             Version: 'rel-1.16.0-0-gd239552ce722-prebuilt.qemu.org'
  110.             Starting Segment: 'E800h'
  111.             Release Date: '04/01/2014'
  112.             Image Size (K): 64
  113.             BIOS Characteristics: '0x0000000000000008'
  114.             System BIOS Version: '0.0'
  115.         - Table:
  116.             Table Type: 1
  117.             Table Length: 27
  118.             Table Handle: 256
  119.             Description: 'System Information'
  120.             Manufacturer: 'QEMU'
  121.             Product Name: 'Standard PC (Q35 + ICH9, 2009)'
  122.             Version: 'pc-q35-7.0'
  123.             Serial Number: 'NULL'
  124.             UUID: '610CE4DF-A387-3246-9533-12558F66AF21'
  125.             Wake-up Type: 'Power Switch'
  126.             SKU Number: 'NULL'
  127.             Family: 'NULL'
  128.         - Table:
  129.             Table Type: 3
  130.             Table Length: 22
  131.             Table Handle: 768
  132.             Description: 'System Enclosure Information'
  133.             Type: 'Other'
  134.             Manufacturer: 'QEMU'
  135.             Version: 'pc-q35-7.0'
  136.             Serial Number: 'NULL'
  137.             Asset Tag: 'NULL'
  138.             Boot-up State: 'Safe'
  139.             Power Supply State: 'Safe'
  140.             Thermal State: 'Safe'
  141.             Security Status: 'Unknown'
  142.             OEM-defined: 0
  143.         - Table:
  144.             Table Type: 4
  145.             Table Length: 42
  146.             Table Handle: 1024
  147.             Description: 'Processor Information'
  148.             Socket Designation: 'CPU 0'
  149.             Type: 'Central Processor'
  150.             Processor Family: 'Unknown'
  151.             Processor Manufacturer: 'QEMU'
  152.             Processor Version: 'pc-q35-7.0'
  153.             Max Speed (MHz): 2000
  154.             Current Speed (MHz): 2000
  155.             Serial Number: 'NULL'
  156.             Asset Tag: 'NULL'
  157.             Part Number: 'NULL'
  158.             Core Count: 6
  159.             Core Enabled: 6
  160.             Thread Count: 1
  161.             Processor Characteristics: '0x0002'
  162.         - Table:
  163.             Table Type: 16
  164.             Table Length: 23
  165.             Table Handle: 4096
  166.             Description: 'Memory Array'
  167.             Location: 'Other'
  168.             Function: 'System memory'
  169.             Error Correction: 'Multi-bit ECC'
  170.             Max Capacity: 26843545600
  171.             Number of Slots: 2
  172.         - Table:
  173.             Table Type: 17
  174.             Table Length: 40
  175.             Table Handle: 4352
  176.             Description: 'Memory Device'
  177.             Device Locator: 'DIMM 0'
  178.             Bank Locator: 'NULL'
  179.             Form Factor: 'DIMM'
  180.             Total Width (bits): 65535
  181.             Data Width (bits): 65535
  182.             Device Size: 17179869184
  183.             Device Type: 'RAM'
  184.             Manufacturer: 'QEMU'
  185.             Serial Number: 'NULL'
  186.             Asset Tag Number: 'NULL'
  187.             Part Number: 'NULL'
  188.         - Table:
  189.             Table Type: 17
  190.             Table Length: 40
  191.             Table Handle: 4353
  192.             Description: 'Memory Device'
  193.             Device Locator: 'DIMM 1'
  194.             Bank Locator: 'NULL'
  195.             Form Factor: 'DIMM'
  196.             Total Width (bits): 65535
  197.             Data Width (bits): 65535
  198.             Device Size: 9663676416
  199.             Device Type: 'RAM'
  200.             Manufacturer: 'QEMU'
  201.             Serial Number: 'NULL'
  202.             Asset Tag Number: 'NULL'
  203.             Part Number: 'NULL'
  204.         - Table:
  205.             Table Type: 19
  206.             Table Length: 31
  207.             Table Handle: 4864
  208.             Description: 'Memory Array Mapped Address'
  209.             Starting Address: '0x0000000000000000'
  210.             Ending Address: '0x00000000001FFFFF'
  211.             Memory Array Handle: 4096
  212.             Partition Width: '0x1'
  213.         - Table:
  214.             Table Type: 19
  215.             Table Length: 31
  216.             Table Handle: 4865
  217.             Description: 'Memory Array Mapped Address'
  218.             Starting Address: '0x0000000000400000'
  219.             Ending Address: '0x0000000001AFFFFF'
  220.             Memory Array Handle: 4096
  221.             Partition Width: '0x1'
  222.         - Table:
  223.             Table Type: 32
  224.             Table Length: 11
  225.             Table Handle: 8192
  226.             Description: 'System Boot Information'
  227.         - Table:
  228.             Table Type: 127
  229.             Table Length: 4
  230.             Table Handle: 32512
  231.             Description: 'End-of-Table'
  232.     System:
  233.         OS: 'Windows 10 22H2'
  234.         Build Number: '10.0.19045'
  235.         Computer Name: 'SKY-20220906OBY'
  236.         Username: 'James Wang'
  237.         DNS Domain: '~'
  238.         DNS Hostname: 'SKY-20220906OBY'
  239.         System Directory: 'C:\windows\system32'
  240.         Windows Directory: 'C:\windows'
  241.         Uptime: '4d 3h 31m 13s'
  242.         Processor Architecture: 'x64'
  243.         Computer Hardware Id: '{16c2701b-26b5-51c1-904c-50688039261d}'
  244.         Safe Mode: No
  245.         DBCS Enabled: Yes
  246.         Debug Version: No
  247.         Slow Processor: No
  248.         Network Presence: Yes
  249.         Boot Device: '\Device\HarddiskVolume1'
  250.         System Device: '\Device\HarddiskVolume1'
  251.         Start Options: ' NOEXECUTE=OPTIN'
  252.         BitLocker Boot: No
  253.         Firmware: 'Legacy BIOS'
  254.         TPM: 'NOT FOUND'
  255.         Page Size: 4096
  256.         Memory Usage: '62%'
  257.         Paging File Usage: '0%'
  258.         Physical Memory:
  259.             Free: 10093998080
  260.             Total: 26842955776
  261.         Paging File:
  262.             Free: 0
  263.             Total: 0
复制代码

可以看出,.SMBIOS[]项下缺失 "Table Type": 2 ,按SMBIOS的规范,这项是报告主板的型号。在真机上,.SMBIOS[]项下有"Table Type": 2, 其中的 "Product Name": "B760M-AYW WIFI D4"即为主板型号。这是我虚拟机的硬件列表,好像的确也没看到主板型号这一行。





点评

[attachimg]531156[/attachimg] 怎么在同一个虚拟机上,前后测试用的nwinfo版本不一样?  详情 回复 发表于 2023-9-2 08:27
回复

使用道具 举报

8#
发表于 2023-9-2 12:17:28 | 显示全部楼层
本帖最后由 pda8888 于 2023-9-2 12:24 编辑

可能我大意了,以为在github下载到的跟您所提供的是一样的,其实您提供我也下载了的。
我再用您指定的版本再试。BTW:看清楚了,您指定的版本是9月1号的,之所以出现混淆,是在不同的版本目录下开都开了命令窗口,执行的时候没注意是在哪个版本的命令窗口下。

点评

找到一个小 bug。请重新下载测试 (下载链接不变)。 [attachimg]531188[/attachimg]  详情 回复 发表于 2023-9-3 10:04
回复

使用道具 举报

9#
发表于 2023-9-3 13:01:28 | 显示全部楼层
感谢,我下载来试试 。
回复

使用道具 举报

10#
发表于 2023-9-11 16:29:40 | 显示全部楼层
本帖最后由 pda8888 于 2023-9-11 18:22 编辑

今天有一台电脑,用命令:
  1. nwinfo_x86.exe --cpu --smbios --no-smart --disk --pci=03 --format=json
复制代码

得到的json文本:
  1. ……
  2.       "Volumes": [
  3.         {
  4.           "Path": "\\Device\\HarddiskVolume7",
  5.           "Volume GUID": "\\\\?\\Volume{62f44054-0000-0000-0000-100000000000}",
  6.           "Starting LBA": 2048,
  7.           "Partition Number": 1,
  8.           "Partition Type": "0x07",
  9.           "Partition ID": "{62F44054-0000-0000-0000-100000000000}",
  10.           "Boot Indicator": "No",
  11.           "Partition Flag": "EXTENDED",
  12.           "Label": "f0e\n e\r7",
  13.           "Filesystem": "NTFS",
  14.           "Free Space": 465978781696,
  15.           "Total Space": 500104687616,
  16.           "Usage": "6.82%",
  17.           "Volume Path Names": [
  18.             {
  19.               "Drive Letter": "D:\"
  20.             }
  21.           ]
  22.         }
  23.       ]
  24. ……
复制代码

某盘的卷标有汉字的情况下,JSON文本里面的Label,"f0e\n e\r7",有乱码,在notepad++16进制模式下看,是0x16,会导致jq解析时报错:
  1. jq: parse error: Invalid string: control characters from U+0000 through U+001F must be escaped at line 99, column 32
  2. exit status 5
复制代码

回复

使用道具 举报

11#
发表于 2023-9-11 16:36:43 | 显示全部楼层
本帖最后由 pda8888 于 2023-9-11 16:42 编辑

电脑已经格式化了,没办法得到原本的label了。nwinfo是9月3号的版本。
Label的乱码,粘贴到本论坛回帖框里是"f0e\n e\r7",实际上里面的在Notepad++里面显示的是SYN,二进制是0x16

回复

使用道具 举报

12#
发表于 2023-9-11 16:53:35 | 显示全部楼层
本帖最后由 pda8888 于 2023-9-11 16:55 编辑

我自己实验了,只要label里面有汉字(GB2312),用 --disk --format=json 的参数得到的json文本里,Label字段就有0x10几的非法字符。
比如,我把C:盘label改为“我好”,得到的JSON文本的Label字段的是这样的:
在Notepad++的16进制显示模式下是这样的:
  1. 20 20 20 22 4c 61 62 65 6c 22 3a 20 22 11 65 25       "Label": ".  e%
  2. 3d 22 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 22    =", ..           "  
复制代码

注意里面有0x11的非法字符。
回复

使用道具 举报

13#
发表于 2023-9-11 18:08:04 | 显示全部楼层
本帖最后由 pda8888 于 2023-9-11 18:09 编辑

刚才下载了最新的0.84,执行:
  1. nwinfo_x86.exe --no-smart --disk --format=json|find /i "label"
复制代码

结果是:
  1.           "Label": "e%=",
  2.           "Label": "EFI_BOOT",
  3.           "Label": "Ventoy_James",
复制代码

还是有乱码
我的C盘的Label是"我好"
  1. label c:
  2. 驱动器 C: 中的卷是 我好
  3. 卷序列号为 B224-3134
  4. 卷标(32 个字符;如果没有,请按 Enter)?
复制代码

点评

已更新 v0.8.5,修复编码问题。 目前如果输出到 stdout,采用 ANSI 编码 (CP_ACP)。如果指定输出文件 (--output=xxx.json),则为 UTF-8 编码。 [attachimg]531499[/attachimg] [attachimg]531500[/attachimg]  详情 回复 发表于 2023-9-11 20:13
回复

使用道具 举报

14#
发表于 2023-9-12 14:08:40 | 显示全部楼层
本帖最后由 pda8888 于 2023-9-12 18:01 编辑

已测试0.8.5,采用 ANSI 编码 (CP_ACP)输出到stdout,已经搞定:
  1. nwinfo_x86.exe --no-smart --disk --format=json|find /i "label"
  2.           "Label": "我好",
  3.           "Label": "EFI_BOOT",
  4.           "Label": "Ventoy_James",
复制代码

感谢老大及时更新!jq 解析 json 是按UTF-8 编码,
回复

使用道具 举报

15#
发表于 2023-12-12 14:17:53 | 显示全部楼层
如果gnwinfo的字体和项目可以自定义就好了。

点评

字体可以自定义的。可以看下gnwinfo.ini里面注释掉的Font项目。  详情 回复 发表于 2023-12-12 15:21
回复

使用道具 举报

16#
发表于 2023-12-12 14:33:03 | 显示全部楼层


这个不知道是怎么回事。也没说它是病毒,就是说是严重威胁。

点评

信不过的话,可以自己下载源码编译。  详情 回复 发表于 2023-12-12 15:07

评分

参与人数 1无忧币 +1 收起 理由
smss + 1 用UPX脱壳一下就不报毒了

查看全部评分

回复

使用道具 举报

17#
发表于 2023-12-13 11:37:45 | 显示全部楼层
wintoflash 发表于 2023-12-12 15:07
信不过的话,可以自己下载源码编译。
如果信不过闭源驱动,可以自己下载WinRing0的代码编译。

您误会了。
我只是反应这个现象,没别的意思。

点评

不是这个意思。 这个程序用的驱动确实是通过非正规途径获得的 "易受攻击驱动程序",位于微软 Win11 黑名单中。  详情 回复 发表于 2023-12-13 20:05
回复

使用道具 举报

18#
发表于 2024-2-7 09:42:54 | 显示全部楼层
感谢大佬,一直更新。
回复

使用道具 举报

19#
发表于 2024-4-17 10:55:18 | 显示全部楼层
本帖最后由 pda8888 于 2024-4-17 11:03 编辑

感谢老大勤更!

0.9.5升级到0.9.6的更新:
1、将 microsoft/setup-msbuild 从 1.3 升级到 2,作者:@dependabot
2、使用setup API 枚举磁盘

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2024-5-9 17:28

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表