关于文本以及EXCEL的操作
如何从一个文件夹下面的几万个文本中取出相应的字段并写入到EXCEL文件中
比如其中一个的文本内容是
script_id(17289);
script_version ("$Revision: 1.5 $");
script_bugtraq_id(88);
script_name(english:"Default password ('synnet') for 'debug' account");
desc["english"] = "
The account 'debug' has the password 'synnet'
An attacker may use it to gain further privileges on this system
Risk factor : High
Solution : Set a strong password for this account or disable it.
This may disable dependant applications so beware";
想取出ID 17289
Risk factor : High输入到excel中