Add trace eraser tool for privacy

- New tool: erase-toolkit-traces.sh removes all toolkit traces
- Cleans bash history for all users
- Removes toolkit mentions from system logs
- Deletes download artifacts and temp files
- Optional: complete toolkit directory removal
- Added to main menu as option 10
This commit is contained in:
cschantz
2025-11-03 18:41:30 -05:00
parent da22b79983
commit 2ee6d7d698
2 changed files with 175 additions and 0 deletions
+2
View File
@@ -115,6 +115,7 @@ show_main_menu() {
echo ""
echo -e " ${YELLOW}8)${NC} 🗑️ Cleanup / Reset - Clear all learned data"
echo -e " ${YELLOW}9)${NC} ⚙️ Configuration"
echo -e " ${RED}10)${NC} 🔥 Erase All Traces - Remove toolkit from history/logs"
echo ""
echo -e " ${RED}0)${NC} Exit"
echo ""
@@ -1317,6 +1318,7 @@ main() {
7) handle_reporting_menu ;;
8) cleanup_all_data ;;
9) edit_config ;;
10) bash "$BASE_DIR/tools/erase-toolkit-traces.sh" ;;
0)
echo ""
echo -e "${GREEN}Thanks for using Server Management Toolkit!${NC}"