
विंडोज टोस्ट नोटिफिकेशन का दुरुपयोग मज़े और उपयोगकर्ता हेरफेर के लिए
विंडोज टोस्ट सूचनाएँ भेजने के लिए एक बीकन ऑब्जेक्ट फ़ाइल (BOF)। पूर्ण संदर्भ और उपयोग के मामलों के लिए ब्लॉग पोस्ट से जोड़ा गया है।
सिस्टम पर पंजीकृत AUMIDs (Application User Model IDs) की गणना करता है। टोस्ट भेजने से पहले उपयुक्त पहचान उधार लेने के लिए इसका उपयोग करें।
inline-execute toastnotify.o go getaumid
उदाहरण आउटपुट:
[Notifications\Settings - HKCU]
Microsoft.Windows.Explorer
MSEdge
com.squirrel.AnthropicClaude.claude
...
[Notifications\Settings - HKLM]
...
com.squirrel.AnthropicClaude.claude
...
एक शीर्षक और बॉडी टेक्स्ट के साथ एक मानक टोस्ट सूचना भेजता है। ToastGeneric का उपयोग करके आंतरिक रूप से XML बनाता है।
inline-execute toastnotify.o go sendtoast "MSEdge" "Title" "Notification body"
बेस64 में एन्कोडेड किसी भी XML पेलोड से टोस्ट भेजता है। यहाँ दिलचस्प चीजें होती हैं जिनमें पूर्ण टेम्पलेट समर्थन शामिल है: क्रियाएँ, प्रोटोकॉल लिंक, चित्र, प्रगति बार, चयन इनपुट, हीरो इमेज। और इसके लिए एक ऐप है!
inline-execute toastnotify.o go custom "MSEdge" "<base64-encoded-xml>"
एन्कोडिंग से पहले उदाहरण पेलोड:
<toast>
<visual>
<binding template="ToastGeneric">
<text>Action Required</text>
<text>Your session requires re-authentication. Click to continue.</text>
</binding>
</visual>
<actions>
<action content="Continue"
activationType="protocol"
arguments="https://your-page-here.com"/>
</actions>
</toast>
इसे एन्कोड करें और आनंद लें।