Skip to content

Commit

Permalink
Making Double Pulsar rootkit check optional (--rootkit)
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Roth committed Jul 4, 2017
1 parent 8e4ba31 commit b74e902
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/lokilogger.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import traceback
from helpers import removeNonAsciiDrop

__version__ = '0.22.0'
__version__ = '0.22.1'

# Logger Class -----------------------------------------------------------------
class LokiLogger():
Expand Down Expand Up @@ -172,7 +172,7 @@ def print_welcome(self):

print Fore.WHITE
print " (C) Florian Roth"
print " June 2017"
print " July 2017"
print " Version %s" % __version__
print " "
print " DISCLAIMER - USE AT YOUR OWN RISK"
Expand Down
4 changes: 2 additions & 2 deletions loki.py
Original file line number Diff line number Diff line change
Expand Up @@ -1266,7 +1266,7 @@ def signal_handler(signal_name, frame):
parser.add_argument('--allreasons', action='store_true', help='Print all reasons that caused the score', default=False)
parser.add_argument('--noprocscan', action='store_true', help='Skip the process scan', default=False)
parser.add_argument('--nofilescan', action='store_true', help='Skip the file scan', default=False)
parser.add_argument('--norootkit', action='store_true', help='Skip the rootkit check', default=False)
parser.add_argument('--rootkit', action='store_true', help='Skip the rootkit check', default=False)
parser.add_argument('--noindicator', action='store_true', help='Do not show a progress indicator', default=False)
parser.add_argument('--reginfs', action='store_true', help='Do check for Regin virtual file system', default=False)
parser.add_argument('--dontwait', action='store_true', help='Do not wait on exit', default=False)
Expand Down Expand Up @@ -1326,7 +1326,7 @@ def signal_handler(signal_name, frame):
logger.log("NOTICE", "Skipping process memory check. User has no admin rights.")

# Scan for Rootkits -----------------------------------------------
if not args.norootkit and platform == "windows":
if args.rootkit and platform == "windows":
loki.check_rootkit()

# Scan Path -------------------------------------------------------
Expand Down

0 comments on commit b74e902

Please sign in to comment.