Adding new common function for further refactoring
Merge branch 'master' of github.com:sqlmapproject/sqlmap