File Intel | Java SDK
The File Intel service enables you to submit a file's hash and get the file's attributes back - giving you insight into the disposition of the file.
Reputation
reputation(FileHashReputationRequest request)Retrieve a reputation score for a file hash from a provider, including an optional detailed report.
FileHashReputationRequest request = new FileHashReputationRequest
.Builder(
"179e2b8a4162372cd9344b81793cbf74a9513a002eda3324e6331243f3137a63",
"sha256")
.provider("reversinglabs")
.verbose(false)
.raw(true)
.build();
FileReputationResponse response = client.reputation(request);
Reputation V2
reputationBulk(FileHashReputationBulkRequest request)Retrieve reputation scores for a set of file hashes from a provider, including an optional detailed report.
String[] hashes = {"179e2b8a4162372cd9344b81793cbf74a9513a002eda3324e6331243f3137a63"};
FileHashReputationBulkRequest request = new FileHashReputationBulkRequest
.Builder(hashes, "sha256")
.provider("reversinglabs")
.verbose(false)
.raw(true)
.build();
FileReputationBulkResponse response = client.reputationBulk(request);