Skip to content

Strings Command

Optic_Fusion1 edited this page Apr 28, 2022 · 1 revision

Strings

The "strings" command prints out every string in the given jar or class file.

Usage

strings <<file_name>|all <directory_path>> [--normalize] [--removeDuplicates] [--showSHA1Hash]

Flags

The command line flags are as follows:

 --normalize
 Makes any strings lowercase and trims any spaces.

 --removeDuplicates
 This flag makes it so every string is only logged once.

 --showSHA1Hash
 Logs the string's sha-1 hash along with it e.g. string: {sha-1_hash}

Example Usages

strings input.jar
strings all data/jars
strings input.jar --normalize
strings obvious_malware.jar --normalize --showSHA1Hash

Clone this wiki locally