This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
1. Install MS .NET Framework 2.0
2. Copy StopKiddie.exe on any folder of your server (you may consider to put in startup folder) of your IIS FTP server
3. Copy the ResetFTP.cmd in C:\ of your server.
The program looks for the last entry in the windows events every 60 seconds (to change it you must modify the source).
Every time it finds the string "The server was unable to logon the Windows NT account" a counter is increased.
When the counter is 2 the check interval is reduced to 1/5 of seconds (200 msec).
When the counter is greater than 5 the ResetFTP.CMD is called, an event is set in the event viewer, the check is suspended.
After that the counter is reset to 60 seconds and the attempt account to 0.
The ResetFTP in the sample stops the Windows FTP server for 5 minutes then start it again.