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

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.

主站蜘蛛池模板: 长宁区| 佛坪县| 光山县| 堆龙德庆县| 和政县| 滨州市| 辽宁省| 曲阜市| 白朗县| 瑞昌市| 岳阳县| 渭源县| 四子王旗| 九台市| 金秀| 淅川县| 涿鹿县| 天台县| 龙江县| 黎城县| 巴中市| 普定县| 南靖县| 三明市| 通化市| 集安市| 凤翔县| 临朐县| 临沂市| 温泉县| 昭觉县| 瑞安市| 思南县| 高邑县| 修文县| 金溪县| 永吉县| 镇赉县| 浦江县| 房产| 元江|