Java Vulnerabilities (by Snyk.io):
Python3 Vulnerabilities (by Snyk.io):
This python file is the wrapper created to assist with various portions of the project. You should use it for various commands including:
This is a website hosting a Docker image that actively runs either Java or Python3 samples. The Java Notebook is only possible by utilitzing IJava. This is still under progress as the following are not active yet:
Please run the following command to get more information on how to use it ./cryptosouple.py.
make tests
make, this will build CryptoGuard and move the
jar to the current directoryscans to scan all of the tests included in the source
clean to clean the entire projectJAVA_HOME: Point to a valid Java 8 JDK Installation
JAVA7_HOME: Point to a valid Java 7 JDK Installation
ANDROID_SDK_HOME: Point to a valid Android JDK Installation
make env to verify (and set) all of these variables by following the instructions.java -jar cryptoguard.jar -in source -s /rootPathjava -jar cryptoguard.jar -in source -s /rootPath -d /dependenciesIf the project have external dependencies then first gather the dependencies under a folder that is relative to the project root (e.g., "build/dependencies").
If you have multiple subprojects with external dependencies, then you have to gather all the corresponding subproject dependencies under a path that is relative to each of the subprojects.
java -jar cryptoguard.jar -in jar -s /path/to/jar/my-jar.jarjava -jar cryptoguard.jar -in apk -s /path/to/apk/my-apk.apkjava -jar cryptoguard.jar -in java -s /path/to/java/file.javajava -jar cryptoguard.jar -in java -s /path/to/java/file1.java /path/to/java/file2.javajava -jar cryptoguard.jar -in class -s /path/to/java/file.classjava -jar cryptoguard.jar -in java -s /path/to/java/file1.class /path/to/java/file2.class-s ~/tester/PBEUsage.class:~/tester/UrlFrameWorks.class:~/tester/NewTestCase1.class:~/tester/NewTestCase2.class-m, you can add the identifier of the other output formatsArgument -m D
java -jar cryptoguard.jar -in jar -s /path/to/jar/my-jar.jar -m DThis is a json file that represents a more simplified output
-m L
java -jar cryptoguard.jar -in jar -s /path/to/jar/my-jar.jar -m LArgument -m SX
java -jar cryptoguard.jar -in jar -s /path/to/jar/my-jar.jar -m SXThis will ouput an xml file using the scarf_v1.2.xsd used by SWAMP.
By using the argument -Sconfig properties.file, this will load the properties from within the file
java -jar cryptoguard.jar -in jar -s /path/to/jar/my-jar.jar -m SX -Sconfig properties.file-s *.infind -type f -name \*.java \>\> input.in
./samples/testable-jar/src/main/java/tester/UrlFrameWorks.java
./samples/testable-jar/src/main/java/tester/PasswordUtils.java
./samples/testable-jar/src/main/java/tester/Crypto.java
./samples/testable-jar/src/main/java/tester/PBEUsage.java
./samples/testable-jar/src/main/java/tester/NewTestCase2.java
./samples/testable-jar/src/main/java/tester/VeryBusyClass.java
./samples/testable-jar/src/main/java/tester/SymCrypto.java
./samples/testable-jar/src/main/java/tester/NewTestCase1.java
./samples/testable-jar/src/main/java/tester/LiveVarsClass.java
./samples/testable-jar/src/main/java/tester/PassEncryptor.java}
command to be used with cryptoguard java -jar -s input.in
java -jar -s ./samples/testable-jar/src/main/java/tester/UrlFrameWorks.java ... ./samples/testable-jar/src/main/java/tester/PassEncryptor.javaNOTE: This can be used with any type of input/output marshalling
make help or java -jar cryptoguard.jar -h for argument help.make envCopyright © 2020 CryptoGuard
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 3.0 for more details.
You should have received a copy of the GNU General Public License 3.0 along with this program. If not, see https://www.gnu.org/licenses/gpl-3.0.html.
If you find this project useful, please cite our CCS'19 CryptoGuard paper and the thesis supporting the latest enhancements from within this fork.
@phdthesis{frantz2020enhancing,
title={Enhancing CryptoGuard's Deployability for Continuous Software Security Scanning},
author={Frantz, Miles},
year={2020},
school={Virginia Tech}
}
Content type
Image
Digest
Size
3.3 GB
Last updated
over 4 years ago
docker pull frantzme/cryptoguard