Sign in to follow this  
Followers 0
madasraka

connections

8 posts in this topic

#1 ·  Posted (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 advance

icon.ico

Quick HOSTS Editor.au3

Edited by madasraka

Share this post


Link to post
Share on other sites



"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 :)

Share this post


Link to post
Share on other sites

#3 ·  Posted (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 by madasraka

Share this post


Link to post
Share on other sites

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 :)

Share this post


Link to post
Share on other sites

This script might help . _GetAllConnections().


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

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

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

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0