root/honeyclient/branches/rel/1.0/bin/run.sh

Revision 937, 0.7 kB (checked in by kindlund, 11 months ago)

Merged xeno-realtime_integrity into trunk.

  • Property svn:executable set to *
  • Property svn:keywords set to Id "$file"
Line 
1 #!/bin/bash
2
3 # $Id$
4
5 echo "Starting up Agent - (Hit CTRL-C multiple times to exit.)"
6
7 # Remove all old /tmp/* entries.
8 rm /tmp/* > /dev/null 2>&1
9
10 IP=$(/cygdrive/c/Program\ Files/VMware/VMware\ Tools/VMip.exe -get)
11 echo "IP = $IP"
12
13 while [ $IP = "0.0.0.0" ] ; do
14     /cygdrive/c/Program\ Files/VMware/VMware\ Tools/VMip.exe -release
15     /cygdrive/c/Program\ Files/VMware/VMware\ Tools/VMip.exe -renew
16     IP=$(/cygdrive/c/Program\ Files/VMware/VMware\ Tools/VMip.exe -get)
17     echo "IP = $IP"
18     sleep 1
19 done
20
21 ping pingu.honeyclient.org
22 cd ~/honeyclient && svn update
23
24 ~/honeyclient/Capture2/capture-client-xeno-mod/install/CaptureBAT.exe -c -l "C:\cygwin\tmp\realtime-changes.txt"&
25
26 while [ true ] ; do
27     perl -Ilib bin/StartAgent.pl && sleep 1
28 done
Note: See TracBrowser for help on using the browser.