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
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 <
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.7.5.tar.gz
(17.1 kB
view details)
Built Distribution
File details
Details for the file veilcord-0.0.7.5.tar.gz
.
File metadata
- Download URL: veilcord-0.0.7.5.tar.gz
- Upload date:
- Size: 17.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4e8850660c7782df0b2d22ec87b88419899d30839fc80d488f2dc4563656f29 |
|
MD5 | 984965d2c937e6d63bf28ca3707d0f22 |
|
BLAKE2b-256 | d511eaa73a5c58c0807b17605736cd0a9090e51a979932dd8c7a30243e600005 |
File details
Details for the file veilcord-0.0.7.5-py3-none-any.whl
.
File metadata
- Download URL: veilcord-0.0.7.5-py3-none-any.whl
- Upload date:
- Size: 18.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3451b59e19fe11c5f762e9a84012dc40cf7dd7bee91c5cb600d9fa75861e96ff |
|
MD5 | ea89089fff17533f36beb45e2ceaf175 |
|
BLAKE2b-256 | 7f1cb0417d1fadf47c7c2361c203ef0cb30168822c1917bd5df2051d6ae5e326 |