Joined: Sun Jan 08, 2012 7:46 pm Posts: 28
Karma: 0
Hiii guys
Using PPPOE Scan I got a rouge PPPOE server like this :
I'm trying here to write a script to pick the mac address of detected rouge PPPOE server & add it to access list
I can do all of this except picking up the variable mac-address from PPPOE scan Cause it didn't support "get" or "find" commands it support just dumping the result to file in this format:
Code:
# jan/27/2012 7:13:56 by RouterOS 5.8 # software id = W5EY-LHT9 # SERVICE MAC-ADDRESS AC-NAME service1 00:0C:29:76:20:82 MikroTik
I tried this script to loop through file contents & get the variable mac-address with no luck
Users browsing this forum: Bing [Bot] and 3 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum