Mast3rpyr0 Posted August 10, 2007 Share Posted August 10, 2007 (edited) Made this to work with COMODO firewall to automattically send ips of DDOS attackers (Some reason i get alot of them) to my isp. i kinda got bored of the project so all that got finished was the setup GUI, which works fine. Feel free to do what you will to it. expandcollapse popup#include <GUIConstants.au3> $MainWindow = GuiCreate("Comodo DDOS AutoDetect", 300, 270) $Config = @ProgramFilesDir & "\Comodo\AntiDDOS\Config.ini" GUICtrlCreateLabel("Configure Comodo DDOS AutoDetect", 60, 20) GUICtrlCreateLabel("Send Log To:", 10, 53) GUICtrlCreateLabel("Send Log From:", 10, 93) GUICtrlCreateLabel("Log Location:", 10, 133) GUICtrlCreateLabel("Check Every:", 10, 173) If FileExists($Config) Then $ConfigInfo = IniReadSection($Config, "ConfigInfo") $To = GUICtrlCreateInput($ConfigInfo[1][1], 90, 50, 150) $From = GUICtrlCreateInput($ConfigInfo[2][1], 90, 90, 150) $LogFile = GUICtrlCreateInput($ConfigInfo[3][1], 90, 130, 150) $Browse = GUICtrlCreateButton("Browse", 245, 127, 50) $update = GUICtrlCreateCombo($ConfigInfo[4][1], 90, 170, 75) GUICtrlSetData($update, "24 Hours|3 Days", "12 Hours") Else $To = GUICtrlCreateInput("", 90, 50, 150) $From = GUICtrlCreateInput("", 90, 90, 150) $LogFile = GUICtrlCreateInput("", 90, 130, 150) $Browse = GUICtrlCreateButton("Browse", 245, 127, 50) $update = GUICtrlCreateCombo("12 Hours", 90, 170, 75) GUICtrlSetData($update, "24 Hours|3 Days", "12 Hours") EndIf $Save = GUICtrlCreateButton("Save and Arm", 100, 230, 100) GUISetState(@SW_SHOW, $MainWindow) While 1 $msg = GUIGetMsg() Switch $msg Case $GUI_EVENT_CLOSE Exit Case $Save Save() Case $Browse $Browse2 = FileOpenDialog("Select a log file", @AppDataDir, "All(*.*)") $LogFile = GUICtrlRead($Browse2) EndSwitch WEnd Func Save() $To = GUICtrlRead($To) $From = GUICtrlRead($From) $LogFile = GUICtrlRead($LogFile) $Update = GUICtrlRead($Update) $WriteToFile = "[ConfigInfo]" & @CRLF & "To=" & $To & @CRLF & "From=" & $From & @CRLF & "LogFile=" & $LogFile & @CRLF & "Update=" & $Update $Config = @ProgramFilesDir & "\Comodo\AntiDDOS\Config.ini" $Config2 = FileOpen($Config, 2) FileWrite($Config2, $WriteToFile) FileClose($Config2) EndFunc Edited August 10, 2007 by Mast3rpyr0 My UDF's : _INetUpdateCheck() My Programs : GameLauncher vAlpha, InfoCrypt, WindowDesigner, ScreenCap, DailyRemindersPick3GeneratorBackupUtility! Other : Bored? Click Here! Link to comment Share on other sites More sharing options...
ptrex Posted August 10, 2007 Share Posted August 10, 2007 @Mast3rpyr0I am not using any COMODO Firewalls, but you might get some ideas from my Log Analyzer for XP.Firewall Log AnalyzerRegardsptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New Link to comment Share on other sites More sharing options...
JustinReno Posted August 10, 2007 Share Posted August 10, 2007 I use it, its pretty cool. Works nice.. Link to comment Share on other sites More sharing options...
Mast3rpyr0 Posted August 12, 2007 Author Share Posted August 12, 2007 @Mast3rpyr0I am not using any COMODO Firewalls, but you might get some ideas from my Log Analyzer for XP.Firewall Log AnalyzerRegardsptrexThats a pretty nice program, especially for your first. I think that will do just nicely thanks. My UDF's : _INetUpdateCheck() My Programs : GameLauncher vAlpha, InfoCrypt, WindowDesigner, ScreenCap, DailyRemindersPick3GeneratorBackupUtility! Other : Bored? Click Here! Link to comment Share on other sites More sharing options...
ptrex Posted August 13, 2007 Share Posted August 13, 2007 @Mast3rpyr0 You are welcome !! Regards, ptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now