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.0.tar.gz
(11.9 kB
view details)
Built Distribution
File details
Details for the file veilcord-0.0.4.0.tar.gz
.
File metadata
- Download URL: veilcord-0.0.4.0.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 | 9db63b765671b9f6d0d67df2e9858dfffc6c9b14f95b213492bc814af8f8d05a |
|
MD5 | 40406e8ec371f5de0edf6103e4124354 |
|
BLAKE2b-256 | f8b841d0fd9f5b1b01ae77a4ab56f7d24bd10c02e13b2878c8b31b401687c3fd |
File details
Details for the file veilcord-0.0.4.0-py3-none-any.whl
.
File metadata
- Download URL: veilcord-0.0.4.0-py3-none-any.whl
- Upload date:
- Size: 11.4 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 | 6a78300bdd8d291f231f3620ebaf767213b5b8678baf9d48f3f99f140bd7aabf |
|
MD5 | 6b17cfd9d86915adde17cf7d34c5de38 |
|
BLAKE2b-256 | 1b62f60bd0dc29cc39d25d1e81c1bc1544adbdc8550bd2ed1be0771fff2a2520 |