madasraka 0 Posted October 23, 2010 (edited) How do u guys get list of connections made to or out of your computer? i want to make simple IP or URL blocking to HOSTS file but i gotta know what to add to it first. Thanks I was also wondering, what is the limit of character for guictrlcreateedit ? caz i noticed it wont take as much as my hosts file as so i cant relay edit it there no more. script and icon for my hosts editor is here. Added address is being searched against one stored and if hosts has to much data in it then it wont work right or read it all or something else (not sure) Thanks in advanceicon.icoQuick HOSTS Editor.au3 Edited October 23, 2010 by madasraka Share this post Link to post Share on other sites
enaiman 16 Posted October 24, 2010 "netstat" gives you a list of connections - that should get you started. SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example scriptwannabe "Unbeatable" Tic-Tac-ToePaper-Scissor-Rock ... try to beat it anyway :) Share this post Link to post Share on other sites
madasraka 0 Posted October 25, 2010 (edited) MsgBox(0,'',netstat) doesnt work or were you referring to netstat.exe in system32 folder how do i read its return value using autoit ? If so, then Thanks Edited October 25, 2010 by madasraka Share this post Link to post Share on other sites
enaiman 16 Posted October 25, 2010 I was referring exactly to "netstat.exe" You can capture the output using StdoutRead - there should be plenty of examples; not for netstat but for any DOS commands. SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example scriptwannabe "Unbeatable" Tic-Tac-ToePaper-Scissor-Rock ... try to beat it anyway :) Share this post Link to post Share on other sites
water 2,387 Posted October 26, 2010 This script might help . _GetAllConnections(). My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2020-10-10 - Version 1.5.2.1) - Download - General Help & Support - Example Scripts - WikiOutlookEX (NEW 2020-12-15 - Version 1.6.3.1) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2020-06-27 - Version 1.3.2.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsPowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & SupportExcel - Example Scripts - WikiWord - WikiTask Scheduler (2019-12-03 - Version 1.5.1.0) - Download - General Help & Support - WikiTutorials:ADO - Wiki, WebDriver - Wiki Share this post Link to post Share on other sites
engjcowi 1 Posted October 26, 2010 for your edit box if you use this code $Comconsole = GUICtrlCreateEdit("", 40, 184, 609, 265) GUICtrlSetData(-1, "") GUICtrlSetLimit(-1, 9999999) the guictrlsetlimit specifically Drunken Frat-Boy Monkey Garbage Share this post Link to post Share on other sites
madasraka 0 Posted October 27, 2010 so then what is the default limit then ? and how much is to make it infinite or what is the MAX i can specify ? Thanks much Share this post Link to post Share on other sites
engjcowi 1 Posted November 5, 2010 I honestly dont know. I was only able to help you as someone else literally helped me with the same problem days before Drunken Frat-Boy Monkey Garbage Share this post Link to post Share on other sites