Skip to content

UX inefficiency: folder is created even if there is no content harvested #47

@kmmanoj

Description

@kmmanoj

Unlike pinned messages, if the passwords, aws-keys.txt, private-keys, urls are not found it is not acknowledged properly.
In case of specific harvesting, such as for example only credential-scan an empty folder is created inspite of no harvested data.

Steps to reproduce

  • Replace CREDENTIAL_REGEX with a random value such that it does not match any message.
    CREDENTIAL_REGEX=r"lorem ipsum xyz abc mno"
    CREDENTIALS_REGEX = r"(?i)(" \

    and replace CREDENTIALS_QUERIES with random value.
    CREDENTIALS_QUERIES = ["lorem"]
    CREDENTIALS_QUERIES = ["password:", "password is", "pwd", "passwd"]
  • Run $ ./SlackPirate.py --token xoxs-xxxxx --credential-scan
  • Observe creation of a new folder but no passwords.txt created.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions