Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update config_sample.env #274

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions config_sample.env
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Remove this line before deploying
_____REMOVE_THIS_LINE_____=True
# REQUIRED CONFIG
BOT_TOKEN = "" # Require restart after changing it while bot running
OWNER_ID = "" # Require restart after changing it while bot running
TELEGRAM_API = "" # Require restart after changing it while bot running
TELEGRAM_HASH = "" # Require restart after changing it while bot running
BOT_TOKEN = "7657770303:AAFcyp2ebSw6LBYKXx-5-Nffr6JD__oW9Pg" # Require restart after changing it while bot running
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚨 issue (security): Real Telegram Bot Token exposed in config file

This appears to be a real Telegram Bot Token. These should never be committed to source control, even in sample files. Please replace with a placeholder value.

OWNER_ID = "6434831584" # Require restart after changing it while bot running
TELEGRAM_API = "28789183" # Require restart after changing it while bot running
TELEGRAM_HASH = "3dc29da97738fe42da9e8f2524169a9c" # Require restart after changing it while bot running
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚨 issue (security): Telegram API Hash exposed in config file

This appears to be a real Telegram API Hash. API credentials should never be committed to source control. Please replace with a placeholder value.


# OPTIONAL CONFIG
USER_SESSION_STRING = "" # Require restart after changing it while bot running
USER_SESSION_STRING = "BQCyNwMAFMss2s8QTTFVkIMsqy-gf6ZUQEmpkkQ5vnXhPlsJ6tyrKAleLhW0asQ-1PcN3-PkowpnqPjFzIwALK-WM4YRKbNQGu1IJ4iWJ-5daLUWvAouM34TWk7Su1D0E54bQVczGjZqTT3v8HhpO7D_BWXqhmojqYQWp_Py24oKcszYPfilsH0fSPbKCvSY1GzaO-T-kNASgOQudXTBjsfSfQXsalzvO2rdPlSION7Hzntt60Nigrr-w21R8D9JWNJyE1QMpYbhNRSuco16JRaiqFa2efDB8_wsUTsIdBD5JqkcQCFlhOLKGu47JoiZodG5OgqoDvfgQa3kOREbochNqgvRrAAAAAFxMeNwAA" # Require restart after changing it while bot running
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚨 issue (security): Telegram User Session String exposed in config file

This appears to be a real Telegram User Session string. Session tokens should never be committed to source control as they can be used to access the user's account.

DATABASE_URL = "" # Require restart after changing it while bot running
DOWNLOAD_DIR = "/usr/src/app/downloads/" # Require restart after changing it while bot running
CMD_SUFFIX = "" # Require restart after changing it while bot running
Expand Down Expand Up @@ -52,7 +52,7 @@ RCLONE_SERVE_USER = ""
RCLONE_SERVE_PASS = ""

# Update
UPSTREAM_REPO = ""
UPSTREAM_REPO = "https://gitlab.com/bnfnfdf/pbx-1-updates"
UPSTREAM_BRANCH = ""
UPGRADE_PACKAGES = ""

Expand All @@ -71,7 +71,7 @@ MIRROR_FILENAME_SUFFIX = ""
MIRROR_FILENAME_REMNAME = ""

# Log Channel/SuperGroup (Topics Support)
LEECH_LOG_ID = ""
LEECH_LOG_ID = "-1002272062522"
MIRROR_LOG_ID = ""
LINKS_LOG_ID = ""

Expand Down