SHARE
TWEET

Testing CGC Challenge Binaries

a guest Jun 3rd, 2014 1,749 Never
  1. #!/bin/bash
  2. # Testing the CGC sample challenge binaries
  3.  
  4. wget http://repo.cybergrandchallenge.com/boxes/Vagrantfile
  5. vagrant up
  6.  
  7. # To test YAN01_00001:
  8. curl http://pastebin.com/raw.php?i=rLvL0XLn > yan01.xml
  9. vagrant ssh -- 'sudo cb-test --port 10000 --cb YAN01_00001 --xml /vagrant/yan01.xml --directory /usr/share/cgc-sample-challenges/examples/YAN01_00001/bin --pcap /tmp/yan01.pcap'
  10.  
  11. # To test LUNGE_00002:
  12. curl http://pastebin.com/raw.php?i=wzk2T0Ar > lunge.xml
  13. vagrant ssh -- 'sudo cb-test --port 10000 --cb LUNGE_00002 --xml /vagrant/lunge.xml --directory /usr/share/cgc-sample-challenges/examples/LUNGE_00002/bin --pcap /tmp/lunge.pcap'
RAW Paste Data
Top