It was just easier for me to put it in one file, cause I never thought I would need to split it.

have few functions which works with sockets (Like email checking, MySQL (server is located on my computer), etc....
I lately added a code that also testing the Invision Board 2.x exploit.... I took the original perl script and I wrote it in mIRC. The reason I did that is because my forum and lots of other forums on the net has been attacked, and I wanted to see what the exploit allows the attacker to do.... which is pratcially anything... as soon as I found out I fixed the problem on my forum and also tested with that script that the exploit is gone).

Anyway, it is not that unusual to see huge scripts, even in PHP...
Never the less, the script editor should not corrupt files.