Skip to content

Commit

Permalink
Captcha bypass on DM
Browse files Browse the repository at this point in the history
1) Captcha bypass on DM
2) Switched to YML for config
  • Loading branch information
V4NSH4J committed Apr 1, 2022
1 parent f75c33b commit 98b0cad
Show file tree
Hide file tree
Showing 12 changed files with 294 additions and 381 deletions.
257 changes: 42 additions & 215 deletions config.yml
Original file line number Diff line number Diff line change
@@ -1,216 +1,43 @@

# Config for https://github.com/V4NSH4J/discord-mass-DM-GO


# #
# ---- UserBot Behaviour ---- #
# #

# Duration in seconds that one account waits in between of sends 2 messages.
# Due to how discord rate limits are structured, you can only send 10 new messages every 10 minutes.
# To avoid hitting the rate limit, the recommended duration is 60, but this can be slow.
# Default: 6
# Type: int
individual_delay: 6


# Duration in seconds that the account sleeps for when rate limited.
# If you send 10 messages very quickly, this rate limit is of 600 seconds (10 minutes).
# With the recommended settings, you'd never hit it, so it's recommended to set at 60.
# Default: 650
# Type: int
rate_limit_delay: 650


# Duration in Milliseconds (1/1000th of a second) that the program waits in between of starting 2 instances.
# Perhaps one of the most important settings which is why it has it's own section.
# Recommended offset is (60/number of tokens) * 1000 but it does not matter with a few tokens and can be set to any small value like 50.
# Defaut: 100
# Type: int
offset: 100


# Program will avoid sending DMs to IDs it has already messaged.
# When someone is messaged, his ID is added to "input/completed.txt".
# Adding IDs to "input/completed.txt" will in a way blacklist them.
# Default: true
# Type: bool
skip_completed: true


# Program will avoid sending DMs to IDs it has already attempted to message but failed.
# When someone is attempted to be messaged but fails, his ID is added to "input/failed.txt".
# Default: true
# Type: bool
skip_failed: true

# After completion of Mass DM, DMDGO will attempt to remove non-working tokens from input/tokens.txt
# Default: true
# Type: bool
remove_dead_tokens: true

# After completion of Mass DM, DMDGO will attempt to remove completed members from "input/memberids.txt" leaving behind only the failed/unattempted IDs.
# This is so the user can re-run the program to target them.
# Default: true
# Type: bool
remove_completed_members: true


# Once a token is locked/disabled, it will stop DMing if this is set to true.
# Recommended to be true.
# Default: true
# Type: bool
stop_dead_tokens: true


# DMDGO will check if the user has a mutual guild with the token and also gather the user's Name and Discrim.
# This has been buggy in the past. Recommended to be set to false.
# Default: false
# Type: bool
check_mutual: false


# DMDGO will send a friend request to everyone in the list before attempting to DM them. Requires online_tokens and check_mutual.
# It needs online_tokens as a precautionary measure. Incase a token has never connected to gateway before and it tries sending a friend request, it will get locked.
# Default: false
# Type: bool
friend_before_DM: false


# DMDGO will online tokens before starting mass DM. This is a very important setting, certain functions like receive_messages, friend_before_DM and call cannot be used without it.
# But if you're not planning to use those features anyways, it can be set to false.
# Default: false
# Type: bool
online_tokens: false


# Time in milliseconds DMDGO will sleep between 2 consecutive scrapes to avoid being websocket-rate-limited.
# Default: 2000
# Type: int
online_scraper_delay: 2000


# After a succesful DM, DMDGO will attempt to call the user. This is unnecessary as it would make no difference.
# The calls don't "ring" if the users are not friended which they're not in most cases. So in essence, it would be a call without a ring. Recommended is false.
# Default: false
# Type: bool
call: false


# Number of maximum DMs you want your tokens to send. If set to 0 they will send DMs till they are locked or the list is completed.
# Default: 0
# Type: int
max_dms_per_token: 0


# If set to true, the messages from other users will be logged on console and in "input\received.txt".
# Default: false
# Type: bool
receive_messages: false


# If True, the program will block users after DMing them.
# Default: false
# Type: bool
block_after_dm: false


# If True, the program will close the user's DMs with them after DMing them.
# This won't delete the message, just hide the channel for the bot-user.
# Default: false
# Type: bool
close_dm_after_message: false


# Maximum attempts to rejoin token to server. Use minimum of 2. Introduced since Discord added Captchas to join servers on some tokens.
# Default: 3
# Type: int
max_attempt_invite_rejoin: 3



# #
# ---- Proxy Settings ---- #
# #


# If set to true, DMDGO will use proxies from input\proxies.txt
# Default: true
# Type: bool
proxy_from_file: true


# What protocal to use when using proxies.
# Default: http
# Type: str
proxy_protocol: http


# If set to true, websocket connections will use proxy as well. Recommend keeping it at false unless you have very good proxies.
# Default: false
# Type: bool
use_proxy_for_gateway: false


# Whether to use your proxies for solving captchas.
# Default: false
# Type: bool
proxy_for_captcha: false


# Timeout for all requests in seconds. Increase if slow connection or proxies.
# Default: 60
# Type: int
timeout: 60


# Closes the underlying TCP connection after every request. Might be helpful to change IPs on every request with rotating proxies.
# Only used with proxies_from_file and not with the proxy field in config. Added because older versions of DMDGO which used only rotating proxies did this by default.
# Default: false
# Type: bool
disable_keep_alives: false



# #
# ---- Captcha Settings ---- #
# #


# Domain of the Captcha API you wish to use. The current supported Captcha APIs are:
# - capmonster.cloud
# - anti-captcha.com
# - 2captcha.com
# - rucaptcha.com
# - deathbycaptcha.com
# - anycaptcha.com
# - azcaptcha.com
# - solvecaptcha.com
# Type: str (as url)
captcha_api: "anti-captcha.com"


# Your Captcha API Key with balance loaded
# Type: str
captcha_api_key: "your-captcha-key-here"



# #
# ---- Scraping Settings ---- #
# #


# When scraping, save usernames.
# Default: false
# Type: bool
scrape_usernames: false


# When scraping, save avatars.
# Default: false
# Type: bool
scrape_avatars: false



direct_message_settings:
individual_delay: 60
rate_limit_delay: 60
offset: 100
max_dms_per_token: 0
skip_completed: true
call: false
remove_dead_tokens: true
remove_completed_members: true
stop_dead_tokens: true
check_mutual: false
friend_before_DM: false
online_tokens: false
receive_messages: false
skip_failed: true
block_after_dm: false
close_dm_after_message: false

proxy_settings:
proxy_from_file: true
proxy_for_captcha: true
use_proxy_for_gateway: false
proxy_protocol: "http"
timeout: 60

scraper_settings:
online_scraper_delay: 3000
scrape_usernames: false
scrape_avatars: false

captcha_settings:
captcha_api_key: ""
captcha_api: "capmonster.cloud"

other_settings:
max_attempt_invite_rejoin: 3
disable_keep_alives: false

suspicion_avoidance:
random_individual_delay: 20
random_rate_limit_delay: 20
random_delay_before_dm: 20
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ require (
github.com/gorilla/websocket v1.4.2 // direct
github.com/zenthangplus/goccm v0.0.0-20211005163543-2f2e522aca15
golang.org/x/sys v0.0.0-20211015200801-69063c4bb744 // indirect
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b
)
3 changes: 3 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@ golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7w
golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20211015200801-69063c4bb744 h1:KzbpndAYEM+4oHRp9JmB2ewj0NHHxO3Z0g7Gus2O1kk=
golang.org/x/sys v0.0.0-20211015200801-69063c4bb744/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b h1:h8qDotaEPuJATrMmW04NCwg7v22aHH28wwpauUhK9Oo=
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
Loading

0 comments on commit 98b0cad

Please sign in to comment.