Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
05ea50a
Update updater.py
MeAbhish3k Jul 8, 2022
d17be82
Delete Dockerfile
MeAbhish3k Jul 8, 2022
9410cc2
Update warbot
MeAbhish3k Jul 8, 2022
9e5a4b9
Update warbot
xAbhish3k Jul 8, 2022
f0e23fe
Update stringsetup.py
xAbhish3k Jul 8, 2022
054d780
Update runtime.txt
xAbhish3k Jul 8, 2022
fcf4b85
Update requirements.txt
xAbhish3k Jul 8, 2022
ce68f84
Update stringsetup.py
xAbhish3k Jul 8, 2022
bd52683
Update app.json
xAbhish3k Jul 8, 2022
903ba1b
Delete heroku.yml
xAbhish3k Jul 8, 2022
8bf246b
Update app.json
MeAbhish3k Jul 8, 2022
3acbd55
Rename stringsetup.py to hell_string.py
MeAbhish3k Jul 8, 2022
58ed1c1
Update warbot
MeAbhish3k Jul 8, 2022
5d918ac
Update requirements.txt
MeAbhish3k Jul 8, 2022
5362a29
Update requirements.txt
MeAbhish3k Jul 8, 2022
e76afa5
Update requirements.txt
MeAbhish3k Jul 8, 2022
ab460b3
Update warbot
MeAbhish3k Jul 8, 2022
9eb003f
Update warbot
MeAbhish3k Jul 8, 2022
9669a8b
Update warbot
xAbhish3k Jul 8, 2022
f559a6e
Update app.json
xAbhish3k Jul 10, 2022
3b40888
Update requirements.txt
xAbhish3k Jul 10, 2022
7b89de9
Update requirements.txt
xAbhish3k Jul 10, 2022
447ebde
Update requirements.txt
xAbhish3k Jul 10, 2022
581f8a9
Update requirements.txt
xAbhish3k Jul 10, 2022
153f7a2
Update README.md
xAbhish3k Jul 10, 2022
f545e4b
Rename hell_string.py to stringsetup.py
xAbhish3k Jul 10, 2022
548f0a6
Update warbot
xAbhish3k Jul 10, 2022
31f6622
Update warbot
xAbhish3k Jul 12, 2022
9061e51
Update stringsetup.py
xAbhish3k Jul 12, 2022
d8498af
Update README.md
xAbhish3k Jul 14, 2022
7637160
Update app.json
xAbhish3k Jul 27, 2022
8aa299a
Update runtime.txt
xAbhish3k Aug 30, 2022
995ec13
Update runtime.txt
xAbhish3k Aug 31, 2022
7eef062
Update runtime.txt
MeAbhish3k Sep 11, 2022
ec399ad
Update warbot
MeAbhish3k Sep 12, 2022
ae5c3a3
Delete requirements.txt
MeAbhish3k Sep 12, 2022
290301d
Create requirements.txt
MeAbhish3k Sep 12, 2022
52d9b2e
Update warbot
xAbhish3k Sep 12, 2022
466ef98
Update app.json
xAbhish3k Sep 12, 2022
ed5b07f
Create hell_string.py
xAbhish3k Sep 12, 2022
e9dc73e
Create updater.py
xAbhish3k Sep 12, 2022
7f3066e
Delete __init__.py
xAbhish3k Sep 12, 2022
8601082
Delete updater.py
xAbhish3k Sep 12, 2022
3c8112c
Delete stringsetup.py
xAbhish3k Sep 12, 2022
3490a99
Update requirements.txt
xAbhish3k Sep 12, 2022
5feebe3
Update warbot
MeAbhish3k Sep 12, 2022
3527d02
Update requirements.txt
xAbhish3k Sep 12, 2022
d5c4f7d
Update requirements.txt
xAbhish3k Sep 12, 2022
92b69e8
Update hell_string.py
xAbhish3k Sep 13, 2022
b5a3157
Update app.json
xAbhish3k Sep 13, 2022
48fc09e
Update app.json
xAbhish3k Sep 13, 2022
016553b
Update app.json
xAbhish3k Sep 13, 2022
8fb7e70
Update Aptfile
xAbhish3k Nov 25, 2022
5e12b8f
Update app.json
xAbhish3k Nov 25, 2022
7bfeb93
Delete Aptfile
xAbhish3k Nov 25, 2022
935784c
Create Aptfile
xAbhish3k Nov 25, 2022
feb5069
Create server.py
Aug 27, 2023
cdcf871
Update requirements.txt
Aug 27, 2023
c4f9c25
Create logging.conf
Aug 27, 2023
3f7028a
Create render.yaml
Aug 27, 2023
1ee46ef
Update README.md
Aug 27, 2023
f8d4cb2
Update README.md
Aug 27, 2023
e6abd22
Update render.yaml
Aug 27, 2023
aa464ca
Update README.md
Aug 27, 2023
ca7210a
Update README.md
Aug 27, 2023
d2df32d
Update README.md
Aug 27, 2023
b345a14
Update render.yaml
TECHNOBOT-OP Aug 27, 2023
5a5f913
Update render.yaml
Aug 27, 2023
b42e104
Merge pull request #3 from TECHNOBOT-OP/patch-3
Aug 27, 2023
75a5e2c
Update render.yaml
Aug 27, 2023
d18c800
Update render.yaml
Aug 27, 2023
b5c0d44
Create SECURITY.md
Jan 12, 2024
c45b735
Update README.md
Jan 12, 2024
c54c5f3
Update README.md
Jan 12, 2024
4542c9c
Update warbot
Jan 12, 2024
4f131a4
Update updater.py
Jan 12, 2024
2a023ba
Update app.json
Jan 12, 2024
458f6c5
Update requirements.txt
Jan 12, 2024
747c08f
Update Aptfile
Jan 12, 2024
65874ae
Update warbot
Jan 13, 2024
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
2 changes: 1 addition & 1 deletion Aptfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
git -y
pv
tree
mediainfo
p7zip-full
13 changes: 0 additions & 13 deletions Dockerfile

This file was deleted.

88 changes: 45 additions & 43 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,60 +1,62 @@
<h1 align="center">❤️ 🅆🄰🅁🅄🅂🄴🅁🄱🄾🅃 ❤️</h1>

<p align="center">
<img src="https://telegra.ph/file/4b0a3d49d8bf1e2e85fea.png">
<img src="https://telegra.ph/file/7b3fe6a6a6945ab4d41da.jpg" width="20%" alt="WarUserBot Image">
</p>

<h2 align= "center" >The owner would not be responsible for any kind of bans due to the bot.</h2>

<h2 align="center">FORK AT YOUR OUR OWN RISK</h1>

<h2 align ="center">Don't forget to star this repo if you liked it.!!💝</h2>

<h2 align="center">⚙️ D E P L O Y I N G ⚙️</h2>




<h3> STRING SESSION </h3>


[![GenerateString](https://img.shields.io/badge/repl.it-generateString-yellowgreen)](https://generatestringsession.xabhish3k.repl.run) ``Telethon``


- Click On Generate String
- Then Click On Green Run Button.
- Wait for a while then fill the details.
- String will be saved in your Saved Message.


<h3> DEPLOY TO HEROKU </h3>

[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)


### Official Supports

<a href="https://t.me/waruserbot"><img src="https://img.shields.io/badge/Channel%20Support%3F-yes-green?&style=flat-square?&logo=telegram" width=220px></a></p>
<a href="https://t.me/waruserbotsupport"><img src="https://img.shields.io/badge/Group%20Support%3F-yes-green?&style=flat-square?&logo=telegram" width=220px></a></p>



## credits ❤️

[catuserbot]


<h1 align="center">𝙒𝙖𝙧𝙐𝙨𝙚𝙧𝘽𝙤𝙩 {🇮🇳}</h1>

<p align="center">The owner would not be responsible for any kind of bans due to the bot.</p>

<h2 align="center">FORK AT YOUR OWN RISK</h2>

<h2 align="center">Don't forget to star this repo if you liked it.!!💝</h2>

<h2 align="center">⚙️ D E P L O Y I N G ⚙️</h2>

<p align="center">
<img src="https://img.shields.io/badge/repl.it-generateString-yellowgreen" alt="GenerateString Badge">
<a href="https://generatestringsession.xabhish3k.repl.run" target="_blank">`Telethon`</a>
</p>

<p align="center">
- Click On Generate String<br>
- Then Click On Green Run Button.<br>
- Wait for a while then fill the details.<br>
- String will be saved in your Saved Message.
</p>

<p align="center">
<a href="https://heroku.com/deploy" target="_blank">
<img src="https://www.herokucdn.com/deploy/button.svg" alt="Deploy to Heroku">
</a>
</p>

<p align="center">
<a href="https://render.com/deploy?repo=https://github.com/MeAbhish3k/waruserbot" target="_blank">
<img src="https://render.com/images/deploy-to-render-button.svg" alt="Deploy to Render">
</a>
</p>

<h2 align="center">SAFETY GUIDE LINES</h2>

<p align="center">
- Don't use a new Telegram ID (use an ID that is 7-8 months old).<br>
- Don't use a fake number.<br>
- Don't use a fake Gmail ID.
</p>

<h2 align="center">OFFICIAL SUPPORTS</h2>

<p align="center">
<a href="https://t.me/waruserbot" target="_blank">
<img src="https://img.shields.io/badge/Channel%20Support%3F-yes-green?&style=flat-square?&logo=telegram" width="220px" alt="Channel Support">
</a>
<a href="https://t.me/waruserbotsupport" target="_blank">
<img src="https://img.shields.io/badge/Group%20Support%3F-yes-green?&style=flat-square?&logo=telegram" width="220px" alt="Group Support">
</a>
</p>

<h2 align="center">CREDITS ❤️</h2>

<p align="center">
[Full Credit Hellbot]
</p>
21 changes: 21 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Security Policy

## Supported Versions

Use this section to tell people about which versions of your project are
currently being supported with security updates.

| Version | Supported |
| ------- | ------------------ |
| 5.1.x | :white_check_mark: |
| 5.0.x | :x: |
| 4.0.x | :white_check_mark: |
| < 4.0 | :x: |

## Reporting a Vulnerability

Use this section to tell people how to report a vulnerability.

Tell them where to go, how often they can expect to get an update on a
reported vulnerability, what to expect if the vulnerability is accepted or
declined, etc.
116 changes: 56 additions & 60 deletions app.json
Original file line number Diff line number Diff line change
@@ -1,86 +1,82 @@
{
"name": "Waruserbot",
"description": "A simple Telegram userbot based on Telethon . Maintained by Abhishek Singh",
"logo": "https://telegra.ph/file/4b0a3d49d8bf1e2e85fea.jpg",
"name": "WarUserBot",
"description": "One of the best Userbots for Telegram. Known for its Smoothness, Design, Support.",
"logo": "https://telegra.ph/file/5cadf9784f067a75dc51c.jpg",
"keywords": [
"telegram",
"userbot",
"plugin",
"telethon",
"warbot",
"modular",
"productivity"
],
"repository": "https://github.com/xAbhish3k/waruserbot",
"website": "#TODO",
"success_url": "#TODO",
"repository": "https://github.com/xabhish3k/waruserbot/",
"env": {
"ALIVE_NAME": {
"description": "give your name",
"value": ""
"ENV": {
"description": "Setting this to ANYTHING will enable Heroku.",
"value": "ANYTHING"
},
"ABUSE": {
"description": "Leave it blank if you don't want Profanity in WarUserBot. Else Fill ON.",
"value": "OFF",
"required": false
},
"HANDLER": {
"description": "Your command handler. Default is ' . ' (dot).",
"value": "."
},
"APP_ID": {
"description": "Get this value from my.telegram.org! Please do not steal",
"description": "Get this value from my.telegram.org",
"value": ""
},
"API_HASH": {
"description": "Get this value from my.telegram.org! Please do not steal",
"description": "Get this value from my.telegram.org",
"value": ""
},
"STRING_SESSION": {
"description": "Get this value by running python3 telesetup.py locally or https://generatestringsession.xabhish3k.repl.run",
"description": "Get this value by using repl or Termux. Refer to the Repo for more info.",
"value": ""
},
"TG_BOT_TOKEN": {
"description": "Needed for inline buttons maker. Make a bot at http://telegram.dog/BotFather and get the token of your bot.Worth it. Get it.",
"HEROKU_API_KEY": {
"description": "Go to https://dashboard.heroku.com/account, scroll down, and press Reveal API. Required for the updater to work.",
"value": ""
},
"COMMAND_HAND_LER": {
"description": "Set this one with only one the symbol to use it before your command to run like . , ' `",
"value": ".",
"required": false
"HEROKU_APP_NAME": {
"description": "The Value of App Name you filled in right on top. Required for the updater to work.",
"value": ""
},
"ENV": {
"description": "Setting this to ANYTHING will enable heroku.",
"value": "ANYTHING",
"required": false
"BOT_TOKEN": {
"description": "Make a bot from @BotFather and paste the bot token here.",
"value": ""
}
},
"addons": [
{
"plan": "heroku-postgresql",
"options": {
"version": "12"
}
}
],
"buildpacks": [
{
"url": "https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest"
},
"HEROKU_API_KEY": {
"description": "Required for updating the bot and other stuff get it from https://dashboard.heroku.com/account",
"value": "",
"required": false
{
"url": "https://github.com/heroku/heroku-buildpack-google-chrome"
},
"HEROKU_APP_NAME": {
"description": "YOUR app name ",
"value": "",
"required": false
{
"url": "https://github.com/heroku/heroku-buildpack-chromedriver"
},
"TZ": {
"description": "Required for Correct Time on autopic/get time. Know your timezone from http://www.timezoneconverter.com/cgi-bin/findzone.tzc",
"value": "Asia/Kolkata",
"required": false
{
"url": "https://github.com/heroku/heroku-buildpack-apt.git"
},
"UPSTREAM_REPO": {
"description": "Don't change",
"value": "https://Github.com/xAbhish3k/Waruserbot",
"required": false
}
},
"addons": [{
"plan": "heroku-postgresql",
"options": {
"version": "12"
{
"url": "https://github.com/chrismytton/heroku-buildpack-jq"
},
{
"url": "heroku/python"
}
}],
"buildpacks": [{
"url": "https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest"
},{
"url":"https://github.com/heroku/heroku-buildpack-google-chrome"
},{
"url":"https://github.com/heroku/heroku-buildpack-chromedriver"
},{
"url": "https://github.com/opendoor-labs/heroku-buildpack-p7zip"
},{
"url": "https://github.com/heroku/heroku-buildpack-apt.git"
},{
"url": "https://github.com/chrismytton/heroku-buildpack-jq"
},{
"url": "heroku/python"
}]
]
}
86 changes: 86 additions & 0 deletions hell_string.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
from random import randint

from instagrapi import Client as IClient
from instagrapi.exceptions import ChallengeRequired, TwoFactorRequired
from pyrogram import Client as PClient
from telethon.sessions import StringSession
from telethon.sync import TelegramClient


def main():
print("T E A M W A R B O T ! !")
print("Hello!! Welcome to WaruserBot Session Generator\n")
print("Human Verification Required !!")
while True:
verify = int(randint(1, 50))
okvai = int(input(f"Enter {verify} to continue: "))
if okvai == verify:
print("\nChoose the string session type: \n1. WaruserBot (Telethon) \n2. Music Bot (Pyrogram) \n3. Instagram Session")
while True:
library = input("\nYour Choice: ")
if library == "1":
generate_telethon_session()
break
elif library == "2":
generate_pyro_session()
break
elif library == "3":
generate_insta_session()
break
else:
print("Please enter integer values (1/2/3 only).")
break
else:
print("Verification Failed! Try Again:")


def generate_pyro_session():
print("Pyrogram Session for Music Bot!")
APP_ID = int(input("\nEnter APP ID here: "))
API_HASH = input("\nEnter API HASH here: ")
with PClient(':memory:', api_id=APP_ID, api_hash=API_HASH) as hellbot:
print("\nYour WaruserBot Session Is sent in your Telegram Saved Messages.")
hellbot.send_message(
"me",
f"#WarUserBOT_MUSIC #WARUSERBOT_SESSION #PYROGRAM\n\n`{hellbot.export_session_string()}`",
)


def generate_telethon_session():
print("\nTelethon Session For WarUserBot!")
APP_ID = int(input("\nEnter APP ID here: "))
API_HASH = input("\nEnter API HASH here: ")
with TelegramClient(StringSession(), APP_ID, API_HASH) as hellbot:
print("\nYour WarUserBot Session Is sent in your Telegram Saved Messages.")
hellbot.send_message(
"me",
f"#WARUSERBOT #WARBOT_SESSION #TELETHON \n\n`{hellbot.session.save()}`",
)


def generate_insta_session():
print("Instagram Session For WARBot!")
cl = IClient()
username = input("Enter your Instagram Username: ")
password = input("Enter your Instagram Password: ")
try:
cl.login(username, password)
xyz = cl.get_settings()
sessionid = xyz['authorization_data']['sessionid']
print(f"Your Instagram Session is: \n>>> {sessionid}")
print("\nCopy it from here and remember not to share it with anyone!")
except (ChallengeRequired, TwoFactorRequired, Exception) as e:
print(e)


def challenge_code(username, choice):
while True:
otp = input("Enter the OTP sent to your Email: ")
if otp.isdigit():
break
else:
print("Enter digits only!")
return otp


main()
5 changes: 0 additions & 5 deletions heroku.yml

This file was deleted.

Loading