Deprecated test suite
Juliet Java 1.0 with extra support Test suite #69
DownloadDescription
This is a collection of test cases in the Java language. It contains examples for 106 different CWEs. NOTE: This package contains only individual test cases. We recommend to download the full test suite at the top of the "Test Suite" page. All documents related to the Juliet Test Suite can be found at the documents page
Displaying test cases 4851 - 4875 of 14184 in total
-
CWE: 256 Plaintext Storage of a Password. Read the password from a Properties file or a regular file. In the good case, read the file from the console. BadSource: fromFile Read data from a file (named C:\data.txt) GoodSource: Read data from the console using readLine Sinks: basic GoodSink: ...
-
CWE: 256 Plaintext Storage of a Password. Read the password from a Properties file or a regular file. In the good case, read the file from the console. BadSource: fromFile Read data from a file (named C:\data.txt) GoodSource: Read data from the console using readLine Sinks: basic GoodSink: ...
-
CWE: 256 Plaintext Storage of a Password. Read the password from a Properties file or a regular file. In the good case, read the file from the console. BadSource: fromFile Read data from a file (named C:\data.txt) GoodSource: Read data from the console using readLine Sinks: basic GoodSink: ...
-
CWE: 256 Plaintext Storage of a Password. Read the password from a Properties file or a regular file. In the good case, read the file from the console. BadSource: fromFile Read data from a file (named C:\data.txt) GoodSource: Read data from the console using readLine Sinks: basic GoodSink: ...
-
CWE: 256 Plaintext Storage of a Password. Read the password from a Properties file or a regular file. In the good case, read the file from the console. BadSource: fromFile Read data from a file (named C:\data.txt) GoodSource: Read data from the console using readLine Sinks: basic GoodSink: ...
-
CWE: 257 Storing passwords in a recoverable format BadSource: Environment Read a string from an environment variable GoodSource: A hardcoded string Sinks: GoodSink: one-way hash instead of symmetric crypto BadSink : symmetric encryption with an easy key Flow Variant: 01 Baseline
-
CWE: 257 Storing passwords in a recoverable format BadSource: Environment Read a string from an environment variable GoodSource: A hardcoded string Sinks: GoodSink: one-way hash instead of symmetric crypto BadSink : symmetric encryption with an easy key Flow Variant: 02 Control flow: if(tru...
-
CWE: 257 Storing passwords in a recoverable format BadSource: Environment Read a string from an environment variable GoodSource: A hardcoded string Sinks: GoodSink: one-way hash instead of symmetric crypto BadSink : symmetric encryption with an easy key Flow Variant: 03 Control flow: if(5==...
-
CWE: 257 Storing passwords in a recoverable format BadSource: Environment Read a string from an environment variable GoodSource: A hardcoded string Sinks: GoodSink: one-way hash instead of symmetric crypto BadSink : symmetric encryption with an easy key Flow Variant: 04 Control flow: if(pri...
-
CWE: 257 Storing passwords in a recoverable format BadSource: Environment Read a string from an environment variable GoodSource: A hardcoded string Sinks: GoodSink: one-way hash instead of symmetric crypto BadSink : symmetric encryption with an easy key Flow Variant: 05 Control flow: if(pri...
-
CWE: 257 Storing passwords in a recoverable format BadSource: Environment Read a string from an environment variable GoodSource: A hardcoded string Sinks: GoodSink: one-way hash instead of symmetric crypto BadSink : symmetric encryption with an easy key Flow Variant: 06 Control flow: if(pri...
-
CWE: 257 Storing passwords in a recoverable format BadSource: Environment Read a string from an environment variable GoodSource: A hardcoded string Sinks: GoodSink: one-way hash instead of symmetric crypto BadSink : symmetric encryption with an easy key Flow Variant: 07 Control flow: if(pri...
-
CWE: 257 Storing passwords in a recoverable format BadSource: Environment Read a string from an environment variable GoodSource: A hardcoded string Sinks: GoodSink: one-way hash instead of symmetric crypto BadSink : symmetric encryption with an easy key Flow Variant: 08 Control flow: if(pri...
-
CWE: 257 Storing passwords in a recoverable format BadSource: Environment Read a string from an environment variable GoodSource: A hardcoded string Sinks: GoodSink: one-way hash instead of symmetric crypto BadSink : symmetric encryption with an easy key Flow Variant: 09 Control flow: if(IO....
-
CWE: 257 Storing passwords in a recoverable format BadSource: Environment Read a string from an environment variable GoodSource: A hardcoded string Sinks: GoodSink: one-way hash instead of symmetric crypto BadSink : symmetric encryption with an easy key Flow Variant: 10 Control flow: if(IO....
-
CWE: 257 Storing passwords in a recoverable format BadSource: Environment Read a string from an environment variable GoodSource: A hardcoded string Sinks: GoodSink: one-way hash instead of symmetric crypto BadSink : symmetric encryption with an easy key Flow Variant: 11 Control flow: if(IO....
-
CWE: 257 Storing passwords in a recoverable format BadSource: Environment Read a string from an environment variable GoodSource: A hardcoded string Sinks: GoodSink: one-way hash instead of symmetric crypto BadSink : symmetric encryption with an easy key Flow Variant: 12 Control flow: if(IO....
-
CWE: 257 Storing passwords in a recoverable format BadSource: Environment Read a string from an environment variable GoodSource: A hardcoded string Sinks: GoodSink: one-way hash instead of symmetric crypto BadSink : symmetric encryption with an easy key Flow Variant: 13 Control flow: if(IO....
-
CWE: 257 Storing passwords in a recoverable format BadSource: Environment Read a string from an environment variable GoodSource: A hardcoded string Sinks: GoodSink: one-way hash instead of symmetric crypto BadSink : symmetric encryption with an easy key Flow Variant: 14 Control flow: if(IO....
-
CWE: 257 Storing passwords in a recoverable format BadSource: Environment Read a string from an environment variable GoodSource: A hardcoded string Sinks: GoodSink: one-way hash instead of symmetric crypto BadSink : symmetric encryption with an easy key Flow Variant: 15 Control flow: switch...
-
CWE: 257 Storing passwords in a recoverable format BadSource: Environment Read a string from an environment variable GoodSource: A hardcoded string Sinks: GoodSink: one-way hash instead of symmetric crypto BadSink : symmetric encryption with an easy key Flow Variant: 16 Control flow: while(...
-
CWE: 257 Storing passwords in a recoverable format BadSource: Environment Read a string from an environment variable GoodSource: A hardcoded string Sinks: GoodSink: one-way hash instead of symmetric crypto BadSink : symmetric encryption with an easy key Flow Variant: 17 Control flow: for loops
-
CWE: 257 Storing passwords in a recoverable format BadSource: Environment Read a string from an environment variable GoodSource: A hardcoded string Sinks: GoodSink: one-way hash instead of symmetric crypto BadSink : symmetric encryption with an easy key Flow Variant: 19 Control flow: Dead c...
-
CWE: 257 Storing passwords in a recoverable format BadSource: Environment Read a string from an environment variable GoodSource: A hardcoded string Sinks: GoodSink: one-way hash instead of symmetric crypto BadSink : symmetric encryption with an easy key Flow Variant: 31 Data flow: make a co...
-
CWE: 257 Storing passwords in a recoverable format BadSource: Environment Read a string from an environment variable GoodSource: A hardcoded string Sinks: GoodSink: one-way hash instead of symmetric crypto BadSink : symmetric encryption with an easy key Flow Variant: 41 Data flow: data pass...