madasraka Posted October 23, 2010 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
enaiman Posted October 24, 2010 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 :)
madasraka Posted October 25, 2010 Author 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
enaiman Posted October 25, 2010 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 :)
water Posted October 26, 2010 Posted October 26, 2010 This script might help . _GetAllConnections(). My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki
engjcowi Posted October 26, 2010 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
madasraka Posted October 27, 2010 Author 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
engjcowi Posted November 5, 2010 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
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