<commit_before>from poshc2.Colours import Colours
from poshc2.server.Core import load_module, load_module_sharp, encrypt, default_response
import poshc2.server.database.DBSQLite as DB
import datetime, hashlib, base64, traceback


def newTask(path):
    result = DB.get_implants_all()<commit_msg>Updated Tasks to include ModulesDir<commit_after>from poshc2.Colours import Colours
from poshc2.server.Core import load_module, load_module_sharp, encrypt, default_response
from poshc2.server.Config import ModulesDirectory
import poshc2.server.database.DBSQLite as DB
import datetime, hashlib, base64, traceback, os


def newTask(path):
    result = DB.get_implants_all()
{'fraction_non_alphanumeric': 0.07057057057057058, 'fraction_numerical': 0.016516516516516516, 'mean_word_length': 6.755813953488372, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3062874', 'n_tokens_mistral': 213, 'n_tokens_neox': 206, 'n_words': 56}