EvAsion Posted April 25, 2007 Share Posted April 25, 2007 Is it possible to block all outgoing (and/or inbound) traffic in autoit? And is there anyway of checking if an app is actually sending traffic? If anyone knows any UDFs or methods of doing it please post. =D Thanks. |-- Periodic Table --||-- Dynamic Class Timetable --||-- Navigation in Counter-Strike --| Link to comment Share on other sites More sharing options...
sandman Posted April 25, 2007 Share Posted April 25, 2007 By traffic you mean internet traffic, right? If so, you can probably just force close the process that controls your router (usually comes as a driver). There also may be a DLL for this or something, but I don't know about it. [center]"Yes, [our app] runs on Windows as well as Linux, but if you had a Picasso painting, would you put it in the bathroom?" -BitchX.com (IRC client)"I would change the world, but they won't give me the source code." -Unknownsite . blog . portfolio . claimidcode.is.poetry();[/center] Link to comment Share on other sites More sharing options...
SkinnyWhiteGuy Posted April 25, 2007 Share Posted April 25, 2007 I'd say use "ipconfig /release", that'd be the fastest way to remove network/internet connectivity Link to comment Share on other sites More sharing options...
EvAsion Posted April 26, 2007 Author Share Posted April 26, 2007 Thanks guys, i'll look into it. |-- Periodic Table --||-- Dynamic Class Timetable --||-- Navigation in Counter-Strike --| Link to comment Share on other sites More sharing options...
herewasplato Posted April 26, 2007 Share Posted April 26, 2007 I'd say use "ipconfig /release", that'd be the fastest way to remove network/internet connectivity...but I use a static IP on my laptop...But it would work for most users :-)There are some scripts around that enable/disable a Network Interface Card (NIC). I suppose it would be possible to enumerate all NICs and disable all of them. [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
EvAsion Posted April 27, 2007 Author Share Posted April 27, 2007 (edited) ...but I use a static IP on my laptop...But it would work for most users :-)There are some scripts around that enable/disable a Network Interface Card (NIC). I suppose it would be possible to enumerate all NICs and disable all of them.ipconfig /release and /renew works great, but i'll try your method aswell. I might do a bit of research on how firewalls actually block apps from sending packets, and see if i can find a way of blocking only outgoing traffic. I hope its possible in autoit. Edited April 27, 2007 by EvAsion |-- Periodic Table --||-- Dynamic Class Timetable --||-- Navigation in Counter-Strike --| Link to comment Share on other sites More sharing options...
tAKTelapis Posted April 27, 2007 Share Posted April 27, 2007 Hmm, have a look at the IP security policies. You can prevent all traffic to a particular IP, Port or from a particular UP or Port in them they also have a command line tool for managing them. Entirely possible to just import / export this, and its instant !! unlike disabling the network card, or dropping the IP, it can not be fixed regardless of the script (i could just as easily see that the card is disabled, and re-enable it, or refresh the IP) 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