root/honeyclient/branches/exp/xeno-realtime_integrity/bin/run.sh

Revision 949, 0.7 kB (checked in by xkovah, 1 year ago)

removed what I think is some deadcode from agent, updated the run.sh to run from the default Capture install location, and increased the timeout for the browser (I want to see if it will finally render the page all the way)

  • 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 /cygdrive/c/Program\ Files/Capture/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.