#!/bin/bash ## # Security Testing Helper Script # For manual testing from references/MANUAL_SECURITY_TESTING_CHECKLIST.md ## set -e echo "=== Security Testing Helper ===" echo "" # Function to show current sessions show_sessions() { echo "Current active sessions:" mysql -u timebank_cc_dev -p'zea2A8sd{QA,9^pS*2^@Xcltuk.vgV' timebank_cc_2 < UNIX_TIMESTAMP(DATE_SUB(NOW(), INTERVAL 2 HOUR)) ORDER BY last_activity DESC LIMIT 10; EOF } # Function to show session data show_session_data() { local session_id=$1 echo "Session data for: $session_id" mysql -u timebank_cc_dev -p'zea2A8sd{QA,9^pS*2^@Xcltuk.vgV' timebank_cc_2 <