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.1.tar.gz
(11.9 kB
view details)
Built Distribution
File details
Details for the file veilcord-0.0.4.1.tar.gz
.
File metadata
- Download URL: veilcord-0.0.4.1.tar.gz
- Upload date:
- Size: 11.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89c4a624069bfb08b74f559ce1c8c15707ca0521eaac6e71766a506e30b9ab81 |
|
MD5 | 630cd07c1de810f86e718ca74b931bc4 |
|
BLAKE2b-256 | 9cafc02715327c09a2e33a4e6dc3bd6d9e90c78747054d8bceeedc76d2312386 |
File details
Details for the file veilcord-0.0.4.1-py3-none-any.whl
.
File metadata
- Download URL: veilcord-0.0.4.1-py3-none-any.whl
- Upload date:
- Size: 11.5 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 | 01f42f4269bbec762ac78be9ef1cddb52c2dd6f9170ea8cfa4e952e5da1b6262 |
|
MD5 | 3671c27a537cf64567cae4a26fc38343 |
|
BLAKE2b-256 | 2526247fa90ecb3207777c0fe777441654cc3a5aabcfbb384eae9d2bb4f7e213 |