Untitled
Guest 46 1st Oct, 2024
#!/bin/bash
# Variables
WEBHOOK_URL="https://outlook.office.com/webhook/your-webhook-url"
WP_OUTPUT_FILE="wpscan_output.txt"
# Read the WPScan output file
SCAN_RESULT=$(cat $WP_OUTPUT_FILE)
# Format the JSON payload to send to Teams
PAYLOAD=$(cat <<EOF
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"summary": "WPScan Result",
"themeColor": "0076D7",
"title": "WPScan Security Scan",
"text": "$SCAN_RESULT"
}
EOF
)
# Send the result to Microsoft Teams
curl -H "Content-Type: application/json" -d "$PAYLOAD" $WEBHOOK_URL
To share this paste please copy this url and send to your friends
RAW Paste Data
Recent Pastes
- игровые автоматы играть бесплатно и без регистрации слоты или booi отзывы
Haxe | 1 | 11 minutes ago
- Untitled
Markup | 17 | 2 hours ago
- Untitled
Markup | 28 | 2 hours ago
- Untitled
Markup | 7 | 4 hours ago
- Untitled
Markup | 12 | 7 hours ago
- Untitled
Markup | 18 | 12 hours ago
- cialis from turkey - noydpbkjjl
Pascal | 9 | 19 hours ago