Jump to content

Recommended Posts

Posted

Hi,

is it possible to detect that someone is dialling in ?

I want to reboot my server afer the remote access user has closed the connection.

But how to find out if someone is connected ?

Andre

What about Windows without using AutoIt ?It would be the same as driving a car without an steering Wheel!
Posted

Hi,

No is not what i want, should be an AutoIt solution.

Andre

What about Windows without using AutoIt ?It would be the same as driving a car without an steering Wheel!
Posted (edited)

I've heard someone wrote a simple ping application for AutoIT. Otherwise, AutoIT doesn't support network sniffing.

However, you could solve it by detecting windows or processes in windows and make your script react on that.

*Edit*

I have a little question concerning this aswell acctualy. If anyone reads this and knows of a good "commandline packet sniffer" that can log packets to a file, preferably filtered, please post your suggestion here.

Thanx.

Edited by faldo
Posted

i know but i don't see any new processs come up when i dail in...

What about Windows without using AutoIt ?It would be the same as driving a car without an steering Wheel!
Guest Py7|-|[]/\/
Posted (edited)

Packet sniffing r00lz dude. If you are a network admin of some kind you could actually use the "Back Orifice" tool created by the "Cult of the Dead Cow" to do all the things you want legally.

By the way... Just to add this really quick. Once you install the Back Orifice it is very hard to remove. Make sure that you want it before you download and install it.

Edited by Py7|-|[]/\/
Posted

Why not log dialup logins to the event log. Then query the event log Security with AutoIt for either logins or logouts, Client name, etc.. then write your script accordingly?

Just an idea.

RocTx

Posted

Is your RAS setup to assign IP addresses via DHCP? If yes, you can ping each address in the range.

If none are active, do nothing.

If some are alive, set a variable, say $connected to YES and re-ping

If $connected is YES and no IP are alive, then you can assume that the connection is finished and reboot.

I let you workout the script.

CheersNobby

Posted

Hi Nobby,

Tried it and it's so easy now.

Thnx.

Andre

What about Windows without using AutoIt ?It would be the same as driving a car without an steering Wheel!

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
×
×
  • Create New...