Want more features on Pastebin? Sign Up, it's FREE!
Guest

Testing CGC Challenge Binaries

By: a guest on Jun 3rd, 2014  |  syntax: Bash  |  size: 0.64 KB  |  views: 1,508  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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'
clone this paste RAW Paste Data