VeilCord.
> Custom Discord Tools Going To Be Used For My Projects
And Available To Anyone Else Who Wants To Use <
Installation
pip install veilcord
Example Usages
from veilcord import VeilCord
veilcord = VeilCord(
session = ..., # for custom tls_client sessions
device_type = "browser", # types : browser, mobile, app (aka desktop)
user_agent = ... # 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
_, sessionID = veilcord.getSession(
token = "",
)
if sessionID == "invalid token":
print("invalid token :(")
else:
print(f"(+) Got Session ID: {sessionID}")
## Getting Discord build number
buildNum = VeilCord.getBuildNum()
print(buildNum)
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 <
Release files for veilcord 0.0.7.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| veilcord-0.0.7.4.tar.gz | 15.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| veilcord-0.0.7.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 30.8 kB
Release files / veilcord-0.0.7.4.tar.gz
| Download URL | veilcord-0.0.7.4.tar.gz |
|---|---|
| Size | 15.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
19bfea4e745c2fc03058fa9d4c0f5ae8f21df49736e969dca8d2d6b811c5244a
|
|
BLAKE2b-256 checksum How to use checksums |
7935012c92102c20cc10f678dbf54d47e2cd14fa2b7363ba61cdcd7cc7715227
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / veilcord-0.0.7.4-py3-none-any.whl
| Download URL | veilcord-0.0.7.4-py3-none-any.whl |
|---|---|
| Size | 15.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f741b828878d6061854ff07396dede39058dda3c450ea75f90954e9708c300ba
|
|
BLAKE2b-256 checksum How to use checksums |
bfee3f02a0c980b6985dc31177f82ed8a1d81f83091a3e45404c8c6593204b27
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|