Skip to main content

VeilCord // @imvast

Project description

VeilCord.

followers
                > 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


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.1.tar.gz (13.5 kB view details)

Uploaded Source

Built Distribution

veilcord-0.0.7.1-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

Details for the file veilcord-0.0.7.1.tar.gz.

File metadata

  • Download URL: veilcord-0.0.7.1.tar.gz
  • Upload date:
  • Size: 13.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for veilcord-0.0.7.1.tar.gz
Algorithm Hash digest
SHA256 ff91e9b7e0f36ac66cd57e1ef3437197d88f8429bc333c9d2a67db8b507aab50
MD5 c5b01f733fdfac8f83c3a2577c6ef9ba
BLAKE2b-256 46675a1967b3f1008081808f52375960d34a1f1bb6e27225241e00289426ab8b

See more details on using hashes here.

File details

Details for the file veilcord-0.0.7.1-py3-none-any.whl.

File metadata

  • Download URL: veilcord-0.0.7.1-py3-none-any.whl
  • Upload date:
  • Size: 13.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for veilcord-0.0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 eb101b46bbd61475d270c0178e4b7e3606eecfe541bf7b61c35e7cefbdf60713
MD5 93ac73fa28b0832e79cb430179e756ee
BLAKE2b-256 cd182d9eeb68418f08c1431b9263c03e350a8fe703bf78414769f72423e88386

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page