Changes

593 bytes added ,  01:21, 6 February 2017
no edit summary
Line 1: Line 1:  
For any method, you will need to first download the starter files from the submit server.  Under the [https://submit.cs.umd.edu/ projects main page], click 'download' under 'download starter files' for the appropriate project.  You will need the .submit file in this archive.
 
For any method, you will need to first download the starter files from the submit server.  Under the [https://submit.cs.umd.edu/ projects main page], click 'download' under 'download starter files' for the appropriate project.  You will need the .submit file in this archive.
 +
 +
== Download Submit Files ==
 +
* Here the the submit file for [https://d1b10bmlvqabco.cloudfront.net/attach/iy6gff47lll3v5/ijz1qgurvpu451/iynk3yvxy8ae/REMOVETHIS.submit part1].
 +
* The wiki does not allow to upload .submit, (it is named REMOVETHIS.submit) rename it as ".submit" and put it into the root directory of your project folder.
    
== Using Eclipse ==
 
== Using Eclipse ==
Line 11: Line 15:     
[https://submit.cs.umd.edu:8443/docs/MarmosetHelp/StudentGuide/eclipseplugin.html Documentation on the Eclipse plugin] can be found on the submit server.
 
[https://submit.cs.umd.edu:8443/docs/MarmosetHelp/StudentGuide/eclipseplugin.html Documentation on the Eclipse plugin] can be found on the submit server.
 +
 +
Go to submit server to check that it worked.
    
=== Method 2: Create a Jar file and Submit Via The Web ===
 
=== Method 2: Create a Jar file and Submit Via The Web ===
Line 22: Line 28:  
# Click Next and then Finish.
 
# Click Next and then Finish.
 
# Navigate to the [https://submit.cs.umd.edu submit server] in your browser.
 
# Navigate to the [https://submit.cs.umd.edu submit server] in your browser.
# Click 'submit' under project 2 and upload the .jar file you just created.
+
# Click 'submit' under the correct project number and upload the .jar file you just created.
      Line 29: Line 35:     
== Hard-Core Command Line H4X0RZ ==
 
== Hard-Core Command Line H4X0RZ ==
You can also submit from the command line using Marmoset's Java submission tool.
+
You just need to make a .jar or .zip file that includes your Java sources and the .submit file from the starter files.  You can then submit this via the web interface, or using the command-line submission tool.
    +
Command Line Submission:
 
# Ensure your project root directory, let's call it <code>projectroot</code>, contains the .submit file.
 
# Ensure your project root directory, let's call it <code>projectroot</code>, contains the .submit file.
 
# Download [https://submit.cs.umd.edu:8443/docs/MarmosetHelp/samples/submit.jar submit.jar] to someplace you will remember; let's say <code>~/bin/</code>
 
# Download [https://submit.cs.umd.edu:8443/docs/MarmosetHelp/samples/submit.jar submit.jar] to someplace you will remember; let's say <code>~/bin/</code>
Line 37: Line 44:  
* The first time you submit it will ask you for your password.  After that, it will store a "one-time password" (which can be used as many times as you want for a given project) unencrypted in a text file called .submitUser in your project root directory.  414 Pop Quiz: is this good security?
 
* The first time you submit it will ask you for your password.  After that, it will store a "one-time password" (which can be used as many times as you want for a given project) unencrypted in a text file called .submitUser in your project root directory.  414 Pop Quiz: is this good security?
 
* Prior to version 1.6, Java did not have a way to avoid echoing characters to the console as you typed them.  If you run the command line submission tool, you may see the characters of your password briefly echoed to the screen, and then erased.  You don't need 414 to know that that's not good security.
 
* Prior to version 1.6, Java did not have a way to avoid echoing characters to the console as you typed them.  If you run the command line submission tool, you may see the characters of your password briefly echoed to the screen, and then erased.  You don't need 414 to know that that's not good security.
* Want to know how the submissions work under the hood, while not exposing your password or storing it in plaintext on your hard drive?  Check out [[Media:Msubmit.zip]].  Also interesting as an example of things that just shouldn't be done in shellcode.
+
* Want to know how submissions work under the hood, while not exposing your password or storing it in plaintext on your hard drive, while removing the need for a .submit file?  Check out [[Media:Msubmit.zip]].  Also interesting as an example of things that just shouldn't be done in shellcode.
    
For less hard-core Unix hackers, see the [https://submit.cs.umd.edu:8443/docs/MarmosetHelp/StudentGuide/commandlinesubmission.html Marmoset command line submission documentation].
 
For less hard-core Unix hackers, see the [https://submit.cs.umd.edu:8443/docs/MarmosetHelp/StudentGuide/commandlinesubmission.html Marmoset command line submission documentation].
editor
32

edits