private ConcurrentHashMap<String, String> dictionaryAttack(String input, String target, METHOD method) {

        if (method == METHOD.ALL || method == METHOD.PLAIN) {
            if (input.equals(target)) {
                this.results.put(input, target);
                Logger.getLogger(Localization.getInstance().get("name")).info(
                        "$" + Thread.currentThread().getId() + " " + Localization.getInstance().get("attack_hit") + input + " => " + target + ".");
            }
        }

        if (method == METHOD.ALL || method == METHOD.MD5) {
            if (toMd5(input).equals(target)) {
                this.results.put(input, target);
                Logger.getLogger(Localization.getInstance().get("name")).info(
                        "$" + Thread.currentThread().getId() + " " + Localization.getInstance().get("attack_hit") + input + " => " + target + ".");
            }
        }

        if (method == METHOD.CUSTOM) {
            //TODO implement script
        }
        
        return this.results;

    }