emtunc / SlackPirate

Slack Enumeration and Extraction Tool - extract sensitive information from a Slack Workspace
GNU General Public License v3.0
727 stars 105 forks source link

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

Open kmmanoj opened 4 years ago

kmmanoj commented 4 years ago

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

kmmanoj commented 4 years ago

A solution that I can think of is: Before returning the control back to the main function, a cleanup function can remove the empty files and directories created as part of the process.