Skip to content

Commit

Permalink
Version 1.2.1-stable
Browse files Browse the repository at this point in the history
  • Loading branch information
ThisIsLibra committed May 11, 2021
1 parent b7a872f commit 631588f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>malwarepuller</groupId>
<artifactId>MalPull</artifactId>
<version>1.2-stable</version>
<version>1.2.1-stable</version>
<packaging>jar</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down Expand Up @@ -65,4 +65,4 @@
</dependency>
</dependencies>
<name>MalPull</name>
</project>
</project>
8 changes: 4 additions & 4 deletions src/main/java/malpull/MalPull.java
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ public static void main(String[] args) {
for (String hash : hashes) {
count++;
List<IEndpoint> endpoints = new ArrayList<>();
if (arguments.getTriageKey() != null) {
IEndpoint triage = new Triage(arguments.getTriageKey());
endpoints.add(triage);
}
if (arguments.getMalwareBazaarKey() != null) {
IEndpoint malwareBazaar = new MalwareBazaar();
endpoints.add(malwareBazaar);
Expand All @@ -104,10 +108,6 @@ public static void main(String[] args) {
IEndpoint virusTotal = new VirusTotal(arguments.getVirusTotalKey());
endpoints.add(virusTotal);
}
if (arguments.getTriageKey() != null) {
IEndpoint triage = new Triage(arguments.getTriageKey());
endpoints.add(triage);
}

//Create a download worker for the hash, with all configured endpoints embedded
DownloadWorker downloadWorker = new DownloadWorker(endpoints, arguments.getOutputPath(), hash, count, hashes.size());
Expand Down
Binary file not shown.
Binary file added target/MalPull-1.2.1-stable.jar
Binary file not shown.

0 comments on commit 631588f

Please sign in to comment.