I never wrote a license or a readme for a program. This is my readme.txt inside the folder of the program that gets downloaded :
ATTENTION: HACKING IS ILLEGAL USE THIS AT YOUR OWN GMAIL ACCOUNTS THE PROGRAM DEVELOPER IS NOT RESPONSIBLE FOR ANY DAMAGE CAUSED BY THE PROGRAM
contact program Developer at email@example.com .
My program does illegal stuff but it can be used on yourself without inflicting any damage to others, I saw many other programs that can be used for illegal purposes but are published normally, for example: nmap, hydra and Jhon the ripper.
Is this enough to make it legal to publish? If not what should I do?