License for information security software

I need to select a license that would allow the use of the provided open source code only for information security studies. Are there any sites with templates ?