madasraka Posted October 23, 2010 Share 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 Link to comment Share on other sites More sharing options...
enaiman Posted October 24, 2010 Share 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 script wannabe "Unbeatable" Tic-Tac-Toe Paper-Scissor-Rock ... try to beat it anyway :) Link to comment Share on other sites More sharing options...
madasraka Posted October 25, 2010 Author Share 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 Link to comment Share on other sites More sharing options...
enaiman Posted October 25, 2010 Share 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 script wannabe "Unbeatable" Tic-Tac-Toe Paper-Scissor-Rock ... try to beat it anyway :) Link to comment Share on other sites More sharing options...
water Posted October 26, 2010 Share Posted October 26, 2010 This script might help . _GetAllConnections(). My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki  Link to comment Share on other sites More sharing options...
engjcowi Posted October 26, 2010 Share 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 Link to comment Share on other sites More sharing options...
madasraka Posted October 27, 2010 Author Share 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 Link to comment Share on other sites More sharing options...
engjcowi Posted November 5, 2010 Share 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 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