0

While doing Penetration Tests, it could be useful to consult security bugs grouped by distribution versions. More specifically, I would like to fetch Ubuntu Security Notices from a python script.

My idea was to use urllib2 to fetch the data and BeautifulSoup to clean up the results.

Does anybody think of a cleaner way to achieve this result?

** UPDATE **

As pointed out by Omnikrys and John Mee, Atom and RSS are more easy format to work with, but AFAIK they only refer to newer distros, while I need a broader database.

4

1 回答 1

1

不,你在正确的轨道上。尽管解析供程序消费的 RSS(或Atom )提要可能比用汤解构供人类消费的网页更容易。

于 2012-09-14T09:20:27.753 回答