I have this output from p0f, a passive fingerprinting tool. I want to insert them into a database
The output from p0f is a text file:
**See attachment
What I would like:
1st choice: If possible, select only the OS and put in to a mysql table
2nd choice:If not,read from the file and put everything into a table: The important part here is that the OS type should be in one of the field.
Eg in the table, field-OS type, in that column it should contain:
Windows 2000 SP2+, XP SP1
Linux 2.4/2.6
Windows XP Pro SP1, 2000 SP3
Windows 2000 SP4, XP SP1
................etccc.
Then I just grab this field from the table and display.This is the important part
How can I do this? I am unsure how.
Pls advise and provide an example on how I can do this.
Thanks a million
James