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.2.tar.gz
(11.9 kB
view details)
Built Distribution
File details
Details for the file veilcord-0.0.4.2.tar.gz
.
File metadata
- Download URL: veilcord-0.0.4.2.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 | bd42bb84b768c9bec39cab38e5b6dc1d85364b1e808097c736c905aef95e94c3 |
|
MD5 | 51c217913f52ab8dc82d9126555e4a4d |
|
BLAKE2b-256 | a4fa1c9175c705f237979be0fe1c9899339616ece5cb75423cb868038323740d |
File details
Details for the file veilcord-0.0.4.2-py3-none-any.whl
.
File metadata
- Download URL: veilcord-0.0.4.2-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 | af6e1e122f6ad4311325befe659da952d58b54e9bab65e8304fda08913fe6d37 |
|
MD5 | 78eba54e102967880c5f75ed95c67b21 |
|
BLAKE2b-256 | f165354b0994e92abc0a84d26a6f996bb859f85d025ebcbcc513a98b66eec84b |