Changeset 1309

Show
Ignore:
Timestamp:
03/03/08 17:11:45 (6 months ago)
Author:
kindlund
Message:

Updated Agent run script.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • honeyclient/trunk/bin/run.sh

    r1243 r1309  
    88rm /tmp/* > /dev/null 2>&1 
    99 
     10# Determine the IP address of the VM running. 
    1011IP=$(/cygdrive/c/Program\ Files/VMware/VMware\ Tools/VMip.exe -get) 
    1112echo "IP = $IP" 
    1213 
     14# Wait until the VM has a valid IP address. 
    1315while [ $IP = "0.0.0.0" ] ; do 
    1416    /cygdrive/c/Program\ Files/VMware/VMware\ Tools/VMip.exe -release 
     
    1921done 
    2022 
     23# Ping a remote site, to test for connectivity. 
    2124/cygdrive/c/windows/system32/ping.exe pingu.honeyclient.org 
    22 cd ~/honeyclient && svn update 
    2325 
     26# Change to the honeyclient directory. 
     27cd ~/honeyclient  
     28 
     29# Perform an SVN update (optional). 
     30svn update 
     31 
     32# Start up the realtime integrity checker. 
    2433~/honeyclient/thirdparty/capture-mod/CaptureBAT.exe -c -l "C:\cygwin\tmp\realtime-changes.txt"& 
    2534 
     35# Start the Agent code. 
    2636while [ true ] ; do 
    2737    perl -Ilib bin/StartAgent.pl && sleep 1