In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
@ echo offif "% 1" = = "h" goto begin mshta _ vbscript:createobject ("wscript.shell") .run ("% ~ nx0 h" 0) (window.close) & & exit: begin set port=3389set checkInterval=2set prev= ": loopset curr=for / f" delims= "% I in ('netstat-n-p tcp ^ | find ^:% port% ^') do (set curr=%%i) if not"% curr% "= ="% prev% "(set prev=%curr% date / t > > RDPlog.txt time / t > > RDPlog.txt echo% curr% > > RDPlog.txt) ping-n% checkInterval% 127.1 > nul goto: loop
Remote Desktop Services Port (port) is 3389
Currently the polling frequency (checkInterval) is set to 2 seconds.
After the script runs in the background, you can't see the Console window. When the connection status of the service port changes, the time and IP of the other party will be recorded in the RDPlog.txt.
The script is set to boot itself.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.