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 non-personal use !
Example Usage
from veilcord import VeilCord
veilcord = VeilCord(
session = None, # for custom tls_client sessions
device_type = "browser", # types : browser, mobile, app
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, cookieType="json")
print(f"(+) Retrieved Fingerprint: {fp}")
print(f"(+) Retrieved Cookies: {cookies}")
# returns a set. [0] - Fingerprint | [1] - COOKIESJAR or JSON
# GET THE NEW SESSION ID BS || this can also be used for websocket connection but not recommended as of rn
session = veilcord.openSession()
token = ""
sessionID = veilcord.getSession(
session = session, # the session returned from veilcord.openSession()
token = token, # obv the token
keep_alive = False, # keep the session alive | only needed if ur code is slow (avg. session is live for ~40 seconds.)
show_hb = False # prints when it sends the heartbeat and when the next one is
)
print(f"(+) Got Session ID: {sessionID}")
# close the session, if keepAlive is enabled.
# veilcord.closeSession(session)
## Extra Cool Stuff
# get discord build number
buildNum = VeilCord.getBuildNum()
print(buildNum)
# -- or with all the extra stats
buildNum, buildTS, url, time_taken = VeilCord.getBuildNum(withStat=True)
print("URL:", url)
print("Build Number:", buildNum)
print("Build Timestamp:", buildTS)
print("Elapsed:", time_taken)
* 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.3.2.tar.gz
(9.7 kB
view details)
Built Distribution
File details
Details for the file veilcord-0.0.3.2.tar.gz
.
File metadata
- Download URL: veilcord-0.0.3.2.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a9fa1729cdc0e6f2d560605f34a5545ab36143c468b3e28e081c9707168fa2b |
|
MD5 | 8fd070ad05717c2032ead8a8db011c7f |
|
BLAKE2b-256 | eff4a815dfe1c8ed7acb1ea620e38d87c68d075c059617823de6a2044dd1673d |
File details
Details for the file veilcord-0.0.3.2-py3-none-any.whl
.
File metadata
- Download URL: veilcord-0.0.3.2-py3-none-any.whl
- Upload date:
- Size: 9.1 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 | 1b39d73a0f6720482f0bc4156804a67fa39a400dc750d6a9b9857727b6f53a48 |
|
MD5 | ff3171462c9f7ae096e53ece4f9c3af5 |
|
BLAKE2b-256 | de4837ca15331a87e42d35305a9b5ce566b992704d5dfb86ad220a5409587af6 |