官术网_书友最值得收藏!

Challenge

For this chapter, we propose adding support for the Windows XP format of the setupapi.log. The user can supply a switch at the command line to indicate which type of log will be processed. For a more difficult task, our script could automatically identify the type of log file by fingerprinting unique structures found only in Windows XP versus the Windows 7 version.

Improving the deduplication process we used in this chapter would be a welcome addition. As we identified, some entries have UID values embedded in the device entry. This value is generally assigned by the manufacturer and could be used to deduplicate the entries. As you may note in the output, the UID can contain extra ampersand characters that may or may not be crucial to the UID structure and suggest their source. By applying some simple logic, possibly in a new function, we can improve deduplication based on UIDs. 

Lastly, we can consider our output format. While it is useful to display things in a console-friendly format, we should consider adding support for a CSV or other report. This may be a good feature to revisit after working through the rest of the chapters of this book.

主站蜘蛛池模板: 丹棱县| 阳山县| 华池县| 揭东县| 四平市| 蓝田县| 安西县| 乌鲁木齐县| 斗六市| 黎川县| 姜堰市| 承德市| 理塘县| 镇沅| 惠水县| 宜川县| 清新县| 花莲县| 天祝| 吉林市| 巴青县| 顺义区| 晴隆县| 山阳县| 沅江市| 怀来县| 廊坊市| 台江县| 科尔| 手机| 黎平县| 汕尾市| 秦皇岛市| 珲春市| 内乡县| 鄯善县| 光山县| 洪雅县| 嵩明县| 乌拉特中旗| 金山区|