I am aware this is an unusual question, but I'm wondering if it's possible to store data containing SQL injection attacks in a database without altering the data to remove the offensive parts?
Why? I am hoping to write data from my ModSecurity log file into a SQLite database, and then use that database to quickly select transactions that match a set of criteria (e.g. a specific URI, specific IP address etc.).
I really don't know anything about databases or sql injection yet, I'm just looking to find out if it's possible to do this before I spend hours writing/researching something that was doomed to failure from the start!
Thanks
Why? I am hoping to write data from my ModSecurity log file into a SQLite database, and then use that database to quickly select transactions that match a set of criteria (e.g. a specific URI, specific IP address etc.).
I really don't know anything about databases or sql injection yet, I'm just looking to find out if it's possible to do this before I spend hours writing/researching something that was doomed to failure from the start!
Thanks
Comment