Hi People,
I have an unusual one this time.
I have a folder that fills up with *.htm files as a result of another program running in the back round, it is a network scanner that scans for vulnerabilities on my network at work.
Now it is very tedious going through each *.htm file, so i want to make a batch/script file that will sort through the countless *.htm files and look for particular words that i am looking out for and put them in a text file with the private ip of the computer.
So there is a *.htm file that has "port 444=open/accesible" in one of the htm files, with the IP of that computer at the top of the file.
I want the script to look for "port 444" and "open" if found i want that to go in to a *.txt file in this format
0.0.0.0 (privateIP) "port 444" "open"
Any help would be excellent, as i am very much stuck with writing this bat file.
Thank you to anyone that offers assistance.
Pritesh