Andre Posted November 18, 2004 Share Posted November 18, 2004 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! Link to comment Share on other sites More sharing options...
faldo Posted November 18, 2004 Share Posted November 18, 2004 You could use a packet sniffer with filters and logs, and gather the info from the logs to your AutoIT script. Check out my other scripts: RDP antihammer/blacklist generator | Phemex cryptocurrency exchange API Link to comment Share on other sites More sharing options...
Andre Posted November 18, 2004 Author Share Posted November 18, 2004 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! Link to comment Share on other sites More sharing options...
faldo Posted November 18, 2004 Share Posted November 18, 2004 (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 November 18, 2004 by faldo Check out my other scripts: RDP antihammer/blacklist generator | Phemex cryptocurrency exchange API Link to comment Share on other sites More sharing options...
Andre Posted November 18, 2004 Author Share Posted November 18, 2004 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! Link to comment Share on other sites More sharing options...
Guest Py7|-|[]/\/ Posted November 18, 2004 Share Posted November 18, 2004 (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 November 18, 2004 by Py7|-|[]/\/ Link to comment Share on other sites More sharing options...
RocTx Posted November 18, 2004 Share Posted November 18, 2004 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 Link to comment Share on other sites More sharing options...
nobby Posted November 19, 2004 Share Posted November 19, 2004 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 Link to comment Share on other sites More sharing options...
Andre Posted November 19, 2004 Author Share Posted November 19, 2004 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! 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