Please who can point me in the right direction with regards to auto generating a ruleset text string from a list of url's.
I get a list of URL's in the format:
I would like to be able to read the url's into memory and then construct a text file with entries like
alert tcp any any -> any any (content:"example.com"; uricontent:"/firstplace/secondplace.jpg"; nocase; sid:17000001; rev:1;)
Please note the URL is split in 2 starting from the first slash, and the other texts are auto generated including an alphanumeric incremental number sid:17000001 which i'd like to auto increment per line.
Please any pointers will be well received.