VeilCord // @imvast
Project description
VeilCord.
> Custom Discord Tools Going To Be Used For My Projects
And Available To Anyone Else Who Wants To Use <
Installation
! package NOT FULLY available for commercial usage !
pip install veilcord
Example Usages
from veilcord import VeilCord
veilcord = VeilCord(
session = None, # for custom tls_client sessions
device_type = "browser", # types : browser, mobile, app (aka desktop)
user_agent = None # for custom user agent
)
# GETTING X-Super-Properties
xsup = veilcord.generateXProp()
print(f"(+) Retrieved XSup: {xsup}")
# GETTING ALL THE COOKIES AND FINGERPRINT
fp, cookies = veilcord.getFingerprint(
xsup,
withCookies = True, # true or false -- will return cookies that are returned in the expirements req
cookieType = "json" # if withCookies is true this can be either "json" or "cookiejar" -- by default its cookiejar
)
print(f"(+) Retrieved Fingerprint: {fp}")
print(f"(+) Retrieved Cookies: {cookies}")
# returns a tuple. [0] - Fingerprint | [1] - COOKIESJAR or JSON
# GET THE NEW SESSION ID BS || this can also be used for websocket connection scroll down to see example
sessionID = veilcord.getSession(
token = "",
)
print(f"(+) Got Session ID: {sessionID}")
## Getting Discord build number
buildNum = VeilCord.getBuildNum()
print(buildNum)
# -- or with all the extra stats
buildNum, buildTS, url = VeilCord.getBuildNum(withStat=True)
print("URL:", url)
print("Build Number:", buildNum)
print("Build Timestamp:", buildTS)
Custom Sessions
session = veilcord.openSession(
custom_rpc = {
"status": "online",
"since": 0,
"activities": [{
"name": "Custom Status",
"type": 4,
"state": "vast#1337",
"emoji": ""
}],
"afk": False
}
)
veilcord.getSession(
token = "", # obv the token
session = session, # the session returned from veilcord.openSession() (if u are using keepAlive)
keep_alive = True, # keep the session alive until closed with veilcord.closeSession()
show_hb = True # prints when it sends the heartbeat and when the next one is
)
# close the session, if keepAlive is enabled.
veilcord.closeSession(session)
* imvast@discord | imvast@github | vast.sh *
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
veilcord-0.0.4.4.tar.gz
(12.6 kB
view details)
Built Distribution
File details
Details for the file veilcord-0.0.4.4.tar.gz
.
File metadata
- Download URL: veilcord-0.0.4.4.tar.gz
- Upload date:
- Size: 12.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a1225f2299ee918003de46442caf8be379e6afd5b1c4399d3ece9c3b09106e2 |
|
MD5 | 3c5cbc322974bcac743764bc72a0a42e |
|
BLAKE2b-256 | 46497f2c142a7815fe97e262bcbc424dc4a185ed4a144847781a5a5f328debe1 |
File details
Details for the file veilcord-0.0.4.4-py3-none-any.whl
.
File metadata
- Download URL: veilcord-0.0.4.4-py3-none-any.whl
- Upload date:
- Size: 12.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9876f5d5334dd50e18c54105e767310dd7834a1fcff8ff1c05c8bfd07e2ecbd2 |
|
MD5 | 3772ac02e02edb916239d77f9219e8ac |
|
BLAKE2b-256 | 270a883f5aba8485fa913b7b1074e995fca82d8b6726a46c581f6b5e6c9b1a9a |