Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PEP8: Avoid wildcard imports #263

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion lib/pesieve.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import json
import traceback

from lib.lokilogger import *
from lib.helpers import runProcess

class PESieve(object):
Expand Down
3 changes: 2 additions & 1 deletion loki-upgrader.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import io
import os
import argparse
import sys
import traceback
from sys import platform as _platform
try:
Expand All @@ -29,7 +30,7 @@
platform = "linux" # crazy guess


from lib.lokilogger import *
from lib.lokilogger import LokiLogger

# Platform
platform = ""
Expand Down
22 changes: 20 additions & 2 deletions loki.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
import sys
import os
import argparse
import codecs
import logging
import traceback
import yara # install 'yara-python' module not the outdated 'yara' module
import re
Expand All @@ -40,10 +42,26 @@
from bisect import bisect_left

# LOKI Modules
from lib.lokilogger import *
from lib.lokilogger import LokiLogger, getSyslogTimestamp
from lib.levenshtein import LevCheck

from lib.helpers import *
from lib.helpers import (
generateHashes,
get_file_type,
getAgeString,
getExcludedMountpoints,
getHostname,
getPlatformFull,
ip_in_net,
is_cidr,
is_ip,
printProgress,
removeNonAsciiDrop,
replaceEnvVars,
setNice,
transformOS
)

cclauss marked this conversation as resolved.
Show resolved Hide resolved
from lib.pesieve import PESieve
from lib.doublepulsar import DoublePulsar
from lib.vuln_checker import VulnChecker
Expand Down
Loading