Ibrahim Posted June 3, 2007 Share Posted June 3, 2007 #include <Process.au3> TrayTip("Intruder Detector","Program By: Ibrahim Ghorabah",2) Do $rc = _RunDos("arp -a >c:\ArpList.bin") $Size=FileGetSize("c:\ArpList.bin") $intruder=FileRead("c:\ArpList.bin") if $Size>142 then TrayTip("Network Watcher","Life Connection From"&$intruder,4,2) ;for $line=1 to 10 ;$Exclude[$line]=FileReadLine("c:\intruderList.txt",$line) ;if $Exclude[$line]= FileWrite("c:\intruderList.txt",@HOUR&":"&@MIN&"--<Connection From:-"&$intruder) _RunDos("arp -d") EndIf Sleep(5000) Until $rc=1_____>need to capture them as variables Please [font="Arial Black"]My Stuff[/font]UPnP Port Forwarding Final.GateWay InformationThe GateWay Watcher(detect speeofing)Rightclick Any file --->Hide/UnhideThe Tip WatcherA PanelShare WatcherThe Arp WatcherThe Online License Checker Link to comment Share on other sites More sharing options...
flyingboz Posted June 4, 2007 Share Posted June 4, 2007 $intruder=FileRead("c:\ArpList.bin")What more do you need?You've demonstrated you know how to create and read text files, parse the text... Reading the help file before you post... Not only will it make you look smarter, it will make you smarter. Link to comment Share on other sites More sharing options...
/dev/null Posted June 4, 2007 Share Posted June 4, 2007 FileWrite("c:\intruderList.txt",@HOUR&":"&@MIN&"--<Connection From:-"&$intruder)the arp cache won't help you to detect any "intruder" !! __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
Ibrahim Posted June 4, 2007 Author Share Posted June 4, 2007 not if u detect arp changes of the same ip address i hope u can help me get out of my stupid script to a better one where i can capture these adresses as variables as IP$[1],IP$[2] . . .and ARP$[1],ARP[2] . . . . if u please [font="Arial Black"]My Stuff[/font]UPnP Port Forwarding Final.GateWay InformationThe GateWay Watcher(detect speeofing)Rightclick Any file --->Hide/UnhideThe Tip WatcherA PanelShare WatcherThe Arp WatcherThe Online License Checker Link to comment Share on other sites More sharing options...
Ibrahim Posted June 4, 2007 Author Share Posted June 4, 2007 and the text in file contain spaces that i cannot get rid off [font="Arial Black"]My Stuff[/font]UPnP Port Forwarding Final.GateWay InformationThe GateWay Watcher(detect speeofing)Rightclick Any file --->Hide/UnhideThe Tip WatcherA PanelShare WatcherThe Arp WatcherThe Online License Checker Link to comment Share on other sites More sharing options...
Ibrahim Posted June 4, 2007 Author Share Posted June 4, 2007 check this guys [font="Arial Black"]My Stuff[/font]UPnP Port Forwarding Final.GateWay InformationThe GateWay Watcher(detect speeofing)Rightclick Any file --->Hide/UnhideThe Tip WatcherA PanelShare WatcherThe Arp WatcherThe Online License Checker Link to comment Share on other sites More sharing options...
Richard Robertson Posted June 5, 2007 Share Posted June 5, 2007 The ARP table is for when your computer looks up the Layer 2 address of the destination based on a Layer 3 address. It won't tell you who has been accessing your computer, just who your computer has been accessing. Link to comment Share on other sites More sharing options...
Ibrahim Posted June 6, 2007 Author Share Posted June 6, 2007 thanks for your information it was helping alot i had the solution thanks again [font="Arial Black"]My Stuff[/font]UPnP Port Forwarding Final.GateWay InformationThe GateWay Watcher(detect speeofing)Rightclick Any file --->Hide/UnhideThe Tip WatcherA PanelShare WatcherThe Arp WatcherThe Online License Checker 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