Snort_AIPreproc/pymodule/test.py

9 lines
122 B
Python
Raw Permalink Normal View History

2011-02-04 00:43:59 +01:00
#!/usr/bin/python
import snortai
alerts = snortai.alerts()
for alert in alerts:
print alert.gid, alert.sid, alert.rev