Skip to content

Commit

Permalink
Removing unused libraries and commented code.
Browse files Browse the repository at this point in the history
  • Loading branch information
jershmagersh committed Jan 12, 2021
1 parent 40a3a61 commit dc3a497
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion service_manifest.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: UNPACME
version: 0.1
version: 0.2
description: This service submits 32-bit Portable Executables to unpac.me and provides the results.

accepts: executable/windows/pe32
Expand Down
6 changes: 1 addition & 5 deletions unpacme_al.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,9 @@
import time
import os

from assemblyline.common import forge
from assemblyline.common.dict_utils import flatten
from assemblyline.common.hexdump import hexdump
from assemblyline_v4_service.common.base import ServiceBase
from assemblyline_v4_service.common.result import Result, ResultSection, BODY_FORMAT, Heuristic

cl_engine = forge.get_classification()
MAX_TIMEOUT = 300
TIMEOUT_INCREMENT = 15

Expand Down Expand Up @@ -131,7 +127,7 @@ def execute(self, request):
# Write sample to disk
fp = self.write_tmp(request)
api_key = request.get_param("api_key")
#api_key = os.environ['UPM_API_KEY']

presults = None
if self.prechecks(request, api_key):
upm = unpacme.unpacme(api_key)
Expand Down

0 comments on commit dc3a497

Please sign in to comment.