Skip to content

Commit

Permalink
Merge pull request hatching#11 from AvihayST/feature/fix-wrong-packge-js
Browse files Browse the repository at this point in the history
Some PE's are classified as js
  • Loading branch information
doomedraven authored Jul 22, 2021
2 parents a02d9e6 + 16969e2 commit e2502fa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sflock/ident.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,9 @@ def powershell(f):


def javascript(f):
if f.contents[:2] == b'MZ':
return None

JS_STRS = [
b"var ",
b"function ",
Expand Down

0 comments on commit e2502fa

Please sign in to comment.