-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsessioncreater.py
More file actions
43 lines (33 loc) · 1.31 KB
/
sessioncreater.py
File metadata and controls
43 lines (33 loc) · 1.31 KB
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
# MR.ROBOT Session creator By AK HACKER
# Owner AKHACKER
# | \/ | _ \ | _ \ / _ \| __ ) / _ \_ _|
# | |\/| | |_) | | |_) | | | | _ \| | | || |
# | | | | _ < _| _ <| |_| | |_) | |_| || |
# |_| |_|_| \_(_)_| \_\\___/|____/ \___/ |_|
import os
os.system('pip install --upgrade pip')
os.system('pip install Pyrogram==1.1.13')
from pyrogram import Client
robot = """
| \/ | _ \ | _ \ / _ \| __ ) / _ \_ _|
| |\/| | |_) | | |_) | | | | _ \| | | || |
| | | | _ < _| _ <| |_| | |_) | |_| || |
|_| |_|_| \_(_)_| \_\\___/|____/ \___/ |_|
"""
print(robot)
print("""String Generator. ==> mrrobot. Get Your Api Id & Api Hash From my.telegram.org and fill accordingly."""
)
print("")
APP_ID = int(input("Enter APP ID - "))
API_HASH = input("Enter API HASH - ")
with Client(":memory:", APP_ID, API_HASH) as c:
print("")
print("This is your STRING_SESSION. Please Keep It safe.")
print("")
session = c.export_session_string()
print(session)
print("")
print("")
print("You can Get Your String Session In Saved Message of Your Telegram Account. Remember To Make New String Session Whenever You Terminate Sessions.")
ak = c.send_message("me", f"`{session}`")
ak.reply("The above is the `STRING_SESSION`.")