{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "## A walkthrough some of CryptoSouple.py options\n", "\n", "### This provides several of the most common documenting commands for cryptoguard.py\n", "---\n", "The script was created to be able to run offline (manually saves information in the script itself), however it is running online since it's in the github repo folder." ] }, { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Python Version: 3\n" ] } ], "source": [ "import sys;\n", "\n", "version = str(sys.version[0])\n", "print('Python Version: ' + version)\n", "if version == '2':\n", " print('This script requires python3')\n", " sys.exit(0)\n", "#Only run this once\n", "import os;os.chdir('../')" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [], "source": [ "import numpy as np\n", "import matplotlib.pyplot as plt\n", "import matplotlib.patches as patch\n", "import cryptosouple as cs" ] }, { "cell_type": "code", "execution_count": 3, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "cryptoguard: V03.12.01\n", "Gradle Version: 4.10.3\n", "Java Build Version: 1.8.232\n" ] } ], "source": [ "####Cryptoguard Version\n", "cs.Utils.printVersion()" ] }, { "cell_type": "code", "execution_count": 4, "metadata": {}, "outputs": [], "source": [ "####Checking the Environment######\n", "cs.envVars.checkVariables()" ] }, { "cell_type": "code", "execution_count": 5, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Name: FORMAT\n", "* Arg: -in\n", "Required: The format of input you want to scan\n", "Default: format\n", "Usage: java -jar cryptoguard -in format\n", "\n", "Different Options available for project types:\n", "\tjar: JAR File To signal a Jar File to be scanned.)\n", "\tapk: APK File To signal a APK File to be scanned.)\n", "\tsource: Directory of Source Code To signal the source directory of a Maven/Gradle Project.)\n", "\tjava: Java File or Files To signal a Java File(s) to be scanned.)\n", "\tclass: Class File or Files To signal a Class File(s) to be scanned.);\n", "\n", "Name: SOURCE\n", "* Arg: -s\n", "Required: The source to be scanned use the absolute path or send all of the source files via the file input.in; ex. find -type f *.java >> input.in.\n", "Default: file/files/*.in/dir/ClassPathString\n", "Usage: java -jar cryptoguard -s file/files/*.in/dir/ClassPathString\n", "\n", "Name: DEPENDENCY\n", "Arg: -d\n", "The dependency to be scanned use the relative path.\n", "Default: dir\n", "Usage: java -jar cryptoguard -d dir\n", "\n", "Name: OUT\n", "Arg: -o\n", "The file to be created with the output default will be the project name.\n", "Default: file\n", "Usage: java -jar cryptoguard -o file\n", "\n", "Name: NEW\n", "Arg: -new\n", "The file to be created with the output if existing will be overwritten.\n", "Usage: java -jar cryptoguard -new\n", "\n", "Name: TIMEMEASURE\n", "Arg: -t\n", "Output the time of the internal processes.\n", "Usage: java -jar cryptoguard -t\n", "\n", "Name: FORMATOUT\n", "Arg: -m\n", "The output format you want to produce\n", "Default: formatType\n", "Usage: java -jar cryptoguard -m formatType\n", "\n", "Different Options available for output format:\n", "\tL: Legacy\n", "\tSX: ScarfXML\n", "\tD: Default\n", "\n", "Name: PRETTY\n", "Arg: -n\n", "Output the analysis information in a 'pretty' format.\n", "Usage: java -jar cryptoguard -n\n", "\n", "Name: EXPERIMENTRESULTS\n", "Arg: -exp\n", "View the experiment based results.\n", "Usage: java -jar cryptoguard -exp\n", "\n", "Name: VERSION\n", "Arg: -V\n", "Output the version number.\n", "Usage: java -jar cryptoguard -V\n", "\n", "Name: NOLOGS\n", "Arg: -vx\n", "Display logs only from the fatal logs\n", "Usage: java -jar cryptoguard -vx\n", "\n", "Name: VERBOSE\n", "Arg: -v\n", "Display logs from debug levels\n", "Usage: java -jar cryptoguard -v\n", "\n", "Name: VERYVERBOSE\n", "Arg: -vv\n", "Display logs from trace levels\n", "Usage: java -jar cryptoguard -vv\n", "\n", "Name: TIMESTAMP\n", "Arg: -ts\n", "Add a timestamp to the file output.\n", "Usage: java -jar cryptoguard -ts\n", "\n", "Name: DEPTH\n", "Arg: -depth\n", "The depth of slicing to go into\n", "Usage: java -jar cryptoguard -depth\n", "\n", "Name: LOG\n", "Arg: -L\n", "Enable logging to the console.\n", "Usage: java -jar cryptoguard -L\n", "\n", "Name: JAVA\n", "Arg: -java\n", "Directory of Java to be used JDK 7 for JavaFiles/Project and JDK 8 for ClassFiles/Jar\n", "Default: envVariable\n", "Usage: java -jar cryptoguard -java envVariable\n", "\n", "Name: ANDROID\n", "Arg: -android\n", "Specify of Android SDK\n", "Default: envVariable\n", "Usage: java -jar cryptoguard -android envVariable\n", "\n", "Name: HEURISTICS\n", "Arg: -H\n", "The flag determining whether or not to display heuristics.\n", "Usage: java -jar cryptoguard -H\n", "\n", "Name: STREAM\n", "Arg: -st\n", "Stream the analysis to the output file.\n", "Usage: java -jar cryptoguard -st\n", "\n", "Name: HELP\n", "Arg: -h\n", "Print out the Help Information.\n", "Usage: java -jar cryptoguard -h\n", "\n", "Name: MAIN\n", "Arg: -main\n", "Choose the main class if there are multiple main classes in the files given.\n", "Default: className\n", "Usage: java -jar cryptoguard -main className\n", "\n", "Exceptions\n", "0: Successful\n", "0: Asking For Help\n", "0: Asking For Version\n", "1: General Argument Validation\n", "2: Argument Value Validation\n", "7: Format Specific Argument Validation\n", "15: File Input Error\n", "16: Reading File Error\n", "17: File Not Available\n", "30: File Output Error\n", "31: Output File Creation Error\n", "32: Error Closing The File\n", "45: Environment Variable Not Set\n", "100: Error Marshalling The Output\n", "120: General Error Scanning The Program\n", "121: Error Loading Class\n", "127: Unknown\n" ] } ], "source": [ "####Displaying Raw Arguments######\n", "##cmd: ./cryptosouple.py rawArgs\n", "\n", "cs.argsUtils.readRawArgs()" ] }, { "cell_type": "code", "execution_count": 6, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Example General Project Version\n", "=========================\n", "java -jar cryptoguard.jar -V\n", "The version argument (-V) returns the version of the project and exits.\n", "\n", "Example General Project No Logging\n", "=========================\n", "java -jar cryptoguard.jar -vx\n", "The argument (-vx) only displays the fatal logs.\n", "\n", "Example General Project Verbose Logging\n", "=========================\n", "java -jar cryptoguard.jar -v\n", "The argument (-v) displays debug logs.\n", "\n", "Example General Project Very Verbose Logging\n", "=========================\n", "java -jar cryptoguard.jar -vv\n", "The argument (-vv) displays the all of the logs available.\n", "\n", "Example General Project Stream\n", "=========================\n", "java -jar cryptoguard.jar -st\n", "The argument (-st) enables streaming the results to whatever output file is specified.\n", "\n", "Example General Project Heuristics\n", "=========================\n", "java -jar cryptoguard.jar -H\n", "The argument (-H) writes the heuristics picked up in the output file.\n", "\n", "Example General Project Specifying the main file\n", "=========================\n", "java -jar cryptoguard.jar -main\n", "The argument (-main) specifies the main class (containing public static void main) if there are multiple within the project.\n", "\n", "Example General Project Java Home\n", "=========================\n", "java -jar cryptoguard.jar -java\n", "The argument (-java) sets the Java file path needed for an internal library. This is needed if the environment variable isn't set.\n", "JDK 7 needed for either a Project or Java File Scanning.\n", "JDK 8 needed for the other projects.\n", "\n", "Example General Project Android Home\n", "=========================\n", "java -jar cryptoguard.jar -android\n", "The argument (-android) sets the Android file path.needed for an internal library. This is needed if the environment variable isn't set.\n", "Needed if an Android project is being scanned.\n", "\n", "Example General Project PrettyPrint\n", "=========================\n", "java -jar cryptoguard.jar -n\n", "The prettyprint argument (-n) writes the result in the \"pretty\" format.\n", "\n", "Example General Project Time Measurement\n", "=========================\n", "java -jar cryptoguard.jar -t\n", "The time argument (-t) displays the time taken for the scanning.\n", "\n", "Example JAR Project Base\n", "=========================\n", "java -jar cryptoguard.jar -in jar -s .../project.jar\n", "The format argument (-in) specifies the type of project (jar) and the source argument (-s) specifies the location of the project.\n", "\n", "Example JAR Project Dependency\n", "=========================\n", "java -jar cryptoguard.jar -in jar -s .../project.jar -d .../lib/file(s).jar\n", "The format argument (-d) specifies the directory of the dependencies to be used with the project and picks up the file.jar.\n", "\n", "Example JAR Project Fileout\n", "=========================\n", "java -jar cryptoguard.jar -in jar -s .../project.jar -m D -o .../fileout.json\n", "The output format argument (-m) specifies the type of output to write amd the output argument (-o) specifies the file to write the results to.\n", "\n", "Example JAR Project Sample Test \n", "=========================\n", "java -jar cryptoguard.jar -in jar -s cryptoguard/samples/testable-jar/build/libs/testable-jar.jar -d cryptoguard/samples/testable-jar/build/dependencies -m SX -o cryptoguard/build/tmp/tempJarFile_Scarf_0.xml -t -H -n -java .../jdk8\n", "The output format argument (-in) specifies the type of project (jar).\n", "The source argument (-s) specifies the project to be scanned (.../testable-jar.jar).\n", "The dependency argument (-d) specifies the directory of the dependencies (.../dependencies).\n", "The output format argument (-m) specifies the type of result to write out (Scarf).\n", "The output argument (-o) specifies the file to write out to (.../tempJarFile_Scarf_0.xml).\n", "The time argument (-t) displays time taken via the project.\n", "The heuristic argument (-H) writes various heuristics taken to the output.\n", "The prettyprint argument (-n) formats and writes the output into a \"pretty\" format.\n", "The java argument (-java) specifies the java home, either java 7 or 8 for the internal library.\n", "\n", "Example Project Scanner Base\n", "=========================\n", "java -jar cryptoguard.jar -in source -s .../project/\n", "The format argument (-in) specifies the type of project (source) and the source argument (-s) specifies the location of the project.\n", "This must either be a gradle or maven based project.\n", "\n", "Example Project Scanner Dependency\n", "=========================\n", "java -jar cryptoguard.jar -in source -s .../project/ -d .../lib/file(s).jar\n", "The format argument (-d) specifies the directory of the dependencies to be used with the project and picks up the file.jar.\n", "\n", "Example Project Fileout\n", "=========================\n", "java -jar cryptoguard.jar -in source -s .../project/ -m D -o .../fileout.json\n", "The output format argument (-m) specifies the type of output to write amd the output argument (-o) specifies the file to write the results to.\n", "\n", "Example Project Sample Test \n", "=========================\n", "java -jar cryptoguard.jar -in source -s cryptoguard/samples/testable-jar -d cryptoguard/samples/testable-jar/build/dependencies -m L -o cryptoguard/build/tmp/testable-jar.txt -t -H -n \n", "The output format argument (-in) specifies the type of project (source).\n", "The source argument (-s) specifies the project to be scanned (.../testable-jar).\n", "The dependency argument (-d) specifies the directory of the dependencies (.../dependencies).\n", "The output format argument (-m) specifies the type of result to write out (Legacy).\n", "The output argument (-o) specifies the file to write out to (.../testable-jar.txt).\n", "The time argument (-t) displays time taken via the project.\n", "The heuristic argument (-H) writes various heuristics taken to the output.\n", "The prettyprint argument (-n) formats and writes the output into a \"pretty\" format.\n", "\n", "Example Java File(s) Project Base Single File\n", "CURRENTLY UNSTABLE\n", "=========================\n", "java -jar cryptoguard.jar -in java -s .../test.java\n", "The format argument (-in) specifies the type of project (java) and the source argument (-s) specifies the file to be used.\n", "\n", "Example Java File(s) Project Multiple Files (Split via space)\n", "CURRENTLY UNSTABLE\n", "=========================\n", "java -jar cryptoguard.jar -in java -s .../test.java .../testTwo.java\n", "The argument (-s) specifies the file to be used, retrieving test.java and testTwo.java via the space between the arguments.\n", "\n", "Example Java File(s) Project Multiple Files (Split via classpath)\n", "CURRENTLY UNSTABLE\n", "=========================\n", "java -jar cryptoguard.jar -in java -s .../test.java:.../testTwo.java\n", "The argument (-s) specifies the file to be used, retrieving test.java and testTwo.java via the split by classpath (delimited by :).\n", "\n", "Example Java File(s) Project Multiple Files (Split via input.in file)\n", "CURRENTLY UNSTABLE\n", "=========================\n", "java -jar cryptoguard.jar -in java -s .../input.in\n", "The argument (-s) specifies the input.in file to be used. This file should contain a line delimited paths to the source file. This also works based on the \n", "ex. \n", ".../test.java\n", ".../testTwo.java\n", "\n", "Example Java File Fileout\n", "CURRENTLY UNSTABLE\n", "=========================\n", "java -jar cryptoguard.jar -in java -s .../test.java -m D -o .../fileout.json\n", "The output format argument (-m) specifies the type of output to write amd the output argument (-o) specifies the file to write the results to.\n", "\n", "Example Java File Dependency\n", "CURRENTLY UNSTABLE\n", "=========================\n", "java -jar cryptoguard.jar -in java -s .../test.java -d .../lib/file(s).jar\n", "The format argument (-d) specifies the directory of the dependencies to be used with the project and picks up the file.jar.\n", "\n", "Example Java File Test \n", "CURRENTLY UNSTABLE\n", "=========================\n", "java -jar cryptoguard.jar -in java -s cryptoguard/samples/temp/tester/test.java -m SX -o cryptoguard/build/tmp/test_java.xml -t -vv -n \n", "The output format argument (-in) specifies the type of project (java).\n", "The source argument (-s) specifies the project to be scanned (.../test.java).\n", "The output format argument (-m) specifies the type of result to write out (Scarf).\n", "The output argument (-o) specifies the file to write out to (.../test_java.xml).\n", "The very verbose argument (-vv) displays all of the logs available.\n", "The prettyprint argument (-n) formats and writes the output into a \"pretty\" format.\n", "\n", "Example Java Class File(s) Project Base\n", "=========================\n", "java -jar cryptoguard.jar -in class -s .../test.class\n", "The format argument (-in) specifies the type of project (class) and the source argument (-s) specifies the location of the project.\n", "\n", "Example Java Class File(s) Project Multiple Files (Split via space)\n", "=========================\n", "java -jar cryptoguard.jar -in class -s .../test.class .../testTwo.class\n", "The argument (-s) specifies the file to be used, retrieving test.class and testTwo.class via the space between the arguments.\n", "\n", "Example Java Class File(s) Project Multiple Files (Split via classpath)\n" ] }, { "name": "stdout", "output_type": "stream", "text": [ "=========================\n", "java -jar cryptoguard.jar -in class -s .../test.class:.../testTwo.class\n", "The argument (-s) specifies the file to be used, retrieving test.class and testTwo.class via the split by classpath (delimited by :).\n", "\n", "Example Java Class File(s) Project Multiple Files (Split via input.in file)\n", "=========================\n", "java -jar cryptoguard.jar -in class -s .../input.in\n", "The argument (-s) specifies the input.in file to be used. This file should contain a line delimited paths to the source file. This also works based on the \n", "ex. \n", ".../test.class\n", ".../testTwo.class\n", "\n", "Example Java Class File(s) Project Dependency\n", "=========================\n", "java -jar cryptoguard.jar -in class -s .../test.class -d .../lib/file(s).jar\n", "The format argument (-d) specifies the directory of the dependencies to be used with the project and picks up the file.jar.\n", "\n", "Example Java Class File Test \n", "=========================\n", "java -jar cryptoguard.jar -in class -s cryptoguard/samples/VerySimple/very.class -m SX -o cryptoguard/build/tmp/verySimple_klass.xml -n \n", "The output format argument (-in) specifies the type of project (java).\n", "The source argument (-s) specifies the project to be scanned (.../test.java).\n", "The output format argument (-m) specifies the type of result to write out (Scarf).\n", "The output argument (-o) specifies the file to write out to (.../verySimple_klass.xml).\n", "The prettyprint argument (-n) formats and writes the output into a \"pretty\" format.\n", "\n", "Example APK Project Base\n", "=========================\n", "java -jar cryptoguard.jar -in apk -s .../app-debug.apk\n", "The format argument (-in) specifies the type of project (apk) and the source argument (-s) specifies the location of the project.\n", "\n", "Example APK Project Dependency\n", "=========================\n", "java -jar cryptoguard.jar -in apk -s .../app-debug.apk -d .../lib/file(s).jar\n", "The format argument (-d) specifies the directory of the dependencies to be used with the project and picks up the file.jar.\n", "\n", "Example APK Project Fileout\n", "=========================\n", "java -jar cryptoguard.jar -in apk -s .../app-debug.apk -m D -o .../fileout.json\n", "The output format argument (-m) specifies the type of output to write amd the output argument (-o) specifies the file to write the results to.\n", "\n", "Example APK Project File Test \n", "=========================\n", "java -jar cryptoguard.jar -in apk -s cryptoguard/samples/app-debug.apk -m SX -o cryptoguard/build/tmp/app-debug.xml -n -android .../android_home\n", "The output format argument (-in) specifies the type of project (java).\n", "The source argument (-s) specifies the project to be scanned (.../test.java).\n", "The output format argument (-m) specifies the type of result to write out (Scarf).\n", "The output argument (-o) specifies the file to write out to (.../debug.xml).\n", "The prettyprint argument (-n) formats and writes the output into a \"pretty\" format.\n", "The android argument (-android) specifies the android home for the internal library.\n", "\n" ] } ], "source": [ "####Displaying Different Example Arguments######\n", "##cmd: ./cryptosouple.py exampleArgs\n", "\n", "cs.argsUtils.helpfulArgs()" ] }, { "cell_type": "code", "execution_count": 7, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "cryptoguard: V03.12.01\n", "Gradle Version: 4.10.3\n", "Java Build Version: 1.8.232\n", "=========================\n", "\t./cryptoguard.py: rawArgs Prints the raw arguments of the program.\n", "\t./cryptoguard.py: exampleArgs Sample examples of running the program with arguments and explanations.\n", "\t./cryptoguard.py: writeUsage Write the example args to a markdown file (USAGE.md).\n", "\t./cryptoguard.py: checkEnv Checks (suggestions to set them if missing) the environment variables.\n", "\t./cryptoguard.py: projectType Displays some information about the project types available to scan.\n", "\t./cryptoguard.py: outputType Displays some information about the various output types available to write out as.\n", "\t./cryptoguard.py: exceptionType Displays information about the standardized exceptions.\n", "\t./cryptoguard.py: clean Cleans the project.\n", "\t./cryptoguard.py: build Builds the project.\n", "\t./cryptoguard.py: refresh A shortcut to clean and build the project.\n", "\t./cryptoguard.py: hash Determines the hash of a freshly built project.\n", "\t./cryptoguard.py: buildCmd Build the command to run, NOTE experimental!\n", "\t./cryptoguard.py: test Runs a specified test.\n", "\t./cryptoguard.py: tests Runs all of the tests crawled.\n", "\t./cryptoguard.py: testType Runs a specified set of tests.\n", "\t./cryptoguard.py: testsHelp Shows helpful information about the tests crawled.\n", "\t./cryptoguard.py: displayTests Displays Tests available.\n", "\t./cryptoguard.py: help Displays helpful information to the user if it's the first time running.\n", "\t./cryptoguard.py: offline Write enough of the information internally for this script to run stand-alone.\n" ] } ], "source": [ "####General Help######\n", "##cmd: ./cryptosouple.py\n", "\n", "cs.Utils.help(exit=False)" ] }, { "cell_type": "code", "execution_count": 8, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "General Information\n", "=========================\n", "Total Tests: 65\n", "Live Tests: 65 : 100.0\n", "Deactivated Tests: 0 : 0\n", "\n", "APK\n", "=========================\n", "Live Tests: 9 : 13.85\n", "Deactivated Tests: 0 : 0\n", "\n", "JAR\n", "=========================\n", "Live Tests: 14 : 21.54\n", "Deactivated Tests: 0 : 0\n", "\n", "JAVA\n", "=========================\n", "Live Tests: 7 : 10.77\n", "Deactivated Tests: 0 : 0\n", "\n", "SOURCE\n", "=========================\n", "Live Tests: 5 : 7.69\n", "Deactivated Tests: 0 : 0\n", "\n", "CLASS\n", "=========================\n", "Live Tests: 10 : 15.38\n", "Deactivated Tests: 0 : 0\n", "\n" ] } ], "source": [ "####Displaying Different Test Types######\n", "##cmd: ./cryptosouple.py testsHelp\n", "\n", "cs.TestUtils.helptests()" ] }, { "cell_type": "code", "execution_count": 9, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Can scan the following project types:\n", "=========================\n", "\tJAR File accepts a .jar\n", "\tAPK File accepts a .apk\n", "\tDirectory of Source Code accepts a dir\n", "\tJava File or Files accepts a .java\n", "\tClass File or Files accepts a .class\n" ] } ], "source": [ "####Displaying Different Project Types######\n", "##cmd: ./cryptosouple.py projectType\n", "\n", "cs.argsUtils.displayProjectTypes()" ] }, { "cell_type": "code", "execution_count": 10, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Can write the results as the following output types:\n", "=========================\n", "\tLegacy accepts a .txt file output type.\n", "\tScarfXML accepts a .xml file output type.\n", "\tDefault accepts a .json file output type.\n" ] } ], "source": [ "####Displaying Different Output Types#####\n", "##cmd: ./cryptosouple.py outputType\n", "\n", "cs.argsUtils.displayOutputTypes()" ] }, { "cell_type": "code", "execution_count": 11, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Uses the following error codes:\n", "=========================\n", "\t0 is a Successful Exception.\n", "\t0 is a Asking For Help Exception.\n", "\t0 is a Asking For Version Exception.\n", "\t1 is a General Argument Validation Exception.\n", "\t2 is a Argument Value Validation Exception.\n", "\t7 is a Format Specific Argument Validation Exception.\n", "\t15 is a File Input Error Exception.\n", "\t16 is a Reading File Error Exception.\n", "\t17 is a File Not Available Exception.\n", "\t30 is a File Output Error Exception.\n", "\t31 is a Output File Creation Error Exception.\n", "\t32 is a Error Closing The File Exception.\n", "\t45 is a Environment Variable Not Set Exception.\n", "\t100 is a Error Marshalling The Output Exception.\n", "\t120 is a General Error Scanning The Program Exception.\n", "\t121 is a Error Loading Class Exception.\n", "\t127 is a Unknown Exception.\n" ] } ], "source": [ "####Displaying Different Exception Types######\n", "##cmd: ./cryptosouple.py exceptionType\n", "\n", "cs.argsUtils.displayExceptionTypes()" ] }, { "cell_type": "code", "execution_count": 12, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Displaying available tests\n", "Please enter what kind of test you would like to have run from ['APK', 'JAR', 'JAVA', 'SOURCE', 'CLASS', 'OTHER', 'ALL'] : JAR\n", "Test Type: JAR\n", "=========================\n", "Live | EntryPointTest_JAR | main_VerySimple_Scarf | EntryPointTest_JAR.main_VerySimple_Scarf\n", "Live | EntryPointTest_JAR | main_TestableJar | EntryPointTest_JAR.main_TestableJar\n", "Live | EntryPointTest_JAR | main_TestableJar_Scarf | EntryPointTest_JAR.main_TestableJar_Scarf\n", "Live | EntryPointTest_JAR | main_TestableJar_Scarf_Heuristics | EntryPointTest_JAR.main_TestableJar_Scarf_Heuristics\n", "Live | EntryPointTest_JAR | main_TestableJar_Default | EntryPointTest_JAR.main_TestableJar_Default\n", "Live | EntryPointTest_JAR | main_TestableJar_Default_SpecifyJavaHome | EntryPointTest_JAR.main_TestableJar_Default_SpecifyJavaHome\n", "Live | EntryPointTest_JAR | main_TestableJar_Default_Heuristics | EntryPointTest_JAR.main_TestableJar_Default_Heuristics\n", "Live | EntryPointTest_JAR | main_TestableJar_Scarf_Args | EntryPointTest_JAR.main_TestableJar_Scarf_Args\n", "Live | EntryPointTest_JAR | main_TestableJar_Scarf_Stream | EntryPointTest_JAR.main_TestableJar_Scarf_Stream\n", "Live | EntryPointTest_JAR | main_TestableJar_Default_Stream | EntryPointTest_JAR.main_TestableJar_Default_Stream\n", "Live | EntryPointTest_JAR | main_TestableJar_ScarfTimeStamp | EntryPointTest_JAR.main_TestableJar_ScarfTimeStamp\n", "Live | EntryPointTest_JAR | main_TestableJar_ScarfTimeStamp_UsingClassPaths | EntryPointTest_JAR.main_TestableJar_ScarfTimeStamp_UsingClassPaths\n", "Live | EntryPointTest_JAR | main_TestableJar_Default_WithHeuristics | EntryPointTest_JAR.main_TestableJar_Default_WithHeuristics\n", "Live | EntryPointTest_JAR | main_TestableJar_Default_WithClassPath | EntryPointTest_JAR.main_TestableJar_Default_WithClassPath\n" ] } ], "source": [ "####Displaying test Types######\n", "##cmd: ./cryptosouple.py displayTests\n", "\n", "cs.TestUtils.getDisplayTests(exit=False)" ] }, { "cell_type": "code", "execution_count": 13, "metadata": {}, "outputs": [], "source": [ "####General Help######\n", "##cmd: ./cryptosouple.py buildCmd\n", "\n", "cs.argsUtils.basicBuildCommand()" ] } ], "metadata": { "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.7.4" } }, "nbformat": 4, "nbformat_minor": 2 }