• Report Links
    We do not store any files or images on our server. XenPaste only index and link to content provided by other non-affiliated sites. If your copyrighted material has been posted on XenPaste or if hyperlinks to your copyrighted material are returned through our search engine and you want this material removed, you must contact the owners of such sites where the files and images are stored.
  • Home
  • -
  • New Pastes

[SOURCE] Discord Database Lookup Bot [RIP scylla.sh]

  • Thread starter XMAN
  • Start date Sep 11, 2021
X

XMAN

Well-known member
Joined
Jul 12, 2021
Messages
33,395
Reaction score
249
Points
63
  • Sep 11, 2021
  • #1
[SOURCE] Discord Database Lookup Bot [RIP scylla.sh] 12-21-2020, 04:32 AM #1
not working anymore... scylla.sh has moved, will update if they come live to another domain.

Made the other day teaching my friend python, saw a thread in here figured it would be useful for someone!
Enjoy!
(this is not rewrite, it is extremely gross ik)


https://twitter.com/_hyp3ri0n/status/134...9396274178
https://44.235.17.188/
(change the domain to this if at the tiime you're seeing this, scylla.sh is still down.
Code:
import os
import discord
import requests
from bs4 import BeautifulSoup
import asyncio

client = discord.Client()

#If using pycharm change line
# Change this:
# await message.channel.send(file=discord.File(rf'C:\Users\Woody\Desktop\b\{query}.txt'))
# to where the directory of this script is running.

@client.event
async def on_ready():
    await client.change_presence( activity=discord.Activity( type=discord.ActivityType.listening, name=".search :" ) )
    print( "\033[35mBot Now Running" )
    print( r"""
Detective Mike bot // Leaked Database Lookup (Free API) By Prevent [Powered by Scyllla.sh]
                                      ._ o o
                                      \_`-)|_
                                    ,""      \
                                  ,"  ## |  X X.
                                ," ##  ,-\__    `.
                              ,"      /    `--._;)
                            ,"    ## /  .==============.
                          ,"  ##    / <-|W~~DY-W~S-H~R~|->
                        ==============  '=============='
""" )

async def search(arg: str, message):
        try:
            query = arg.split( ".search ")[1].split( " " )[0]
            print( "Query: %s" % (query) )


            r = requests.get("https://scylla.sh/search?q=" + query + "&size=100&start=200", headers={'Accept': 'application/json'}, verify=False)
            ipinfo = BeautifulSoup( r.content, "html.parser" )
            strIpinfo = str( ipinfo ).replace( "}},", "\n" )

            text_file = open( f"{query}.txt", "w" )
            text_file.write('Enjoy this piece of fucking shit db search by Prevent x0x0x0 \n')
            text_file.write( f'{strIpinfo}' )
            text_file.close()

            embed = discord.Embed(
                title=f'__***QUERY:***__: ***{query}***',
                colour=discord.Colour.purple()
            )
            embed.set_image( url='https://cdn.discordapp.com/attachments/543434045741072385/556098401880637440/nicelane.gif' )
            embed.add_field( name='__***SHIT FOUND!***__', value="created by Prevent", inline=True )
            await message.channel.send(embed=embed)

            await message.channel.send(file=discord.File(rf'C:\Users\Woody\Desktop\b\{query}.txt'))
            os.remove( f"{query}.txt" )
        except(IndexError) as err:
            embed = discord.Embed(
                title='Detective Mike at your service!',
                description='*** .search email:querygoeshere***',
                colour=discord.Colour.purple()

            )
            embed.add_field( name='__***1***__', value="User", inline=True )
            embed.add_field( name='__***2***__', value="Email", inline=True )
            embed.add_field( name='__***3***__', value="IP", inline=True )
            await message.channel.send(embed=embed)
            return


@client.event
async def on_message(message):
    if (".search" in message.content):
        await search(message.content, message)


client.run("Put.Token.Here")
 
Upvote 0 Downvote
You must log in or register to reply here.
Share:
Facebook Twitter Reddit Pinterest Tumblr WhatsApp Email
  • Home
  • -
  • New Pastes
  • Terms and rules
  • Privacy policy
  • Help
  • Home
AMP generated by AMPXF.com
Menu
Log in

Register

  • Home
    • Go Premium
  • Go Premium / Advertise
  • New Ad Listings
  • What's new
    • New posts
    • New Ad Listings
    • Latest activity
  • Members
    • Registered members
    • Current visitors
X

Privacy & Transparency

We use cookies and similar technologies for the following purposes:

  • Personalized ads and content
  • Content measurement and audience insights

Do you accept cookies and these technologies?

X

Privacy & Transparency

We use cookies and similar technologies for the following purposes:

  • Personalized ads and content
  • Content measurement and audience insights

Do you accept cookies and these technologies?