Report
Report
Report
rd, gn, lgn, yw, lrd, be, pe = '\033[00;31m', '\033[00;32m', '\033[01;32m', '\
033[01;33m', '\033[01;31m', '\033[94m', '\033[01;35m'
cn, k,g = '\033[00;36m', '\033[90m','\033[38;5;130m'
print (f"{lrd}")
t = PrettyTable([f'{cn}Number{lrd}',f'{cn}Method{lrd}'])
t.add_row([f'{lgn}1{lrd}',f'{gn}Report Spam{lrd}'])
t.add_row([f'{lgn}2{lrd}',f'{gn}Report Pornography{lrd}'])
t.add_row([f'{lgn}3{lrd}',f'{gn}Report Violence{lrd}'])
t.add_row([f'{lgn}4{lrd}',f'{gn}Report Child Abuse{lrd}'])
t.add_row([f'{lgn}5{lrd}',f'{gn}Report Other{lrd}'])
t.add_row([f'{lgn}6{lrd}',f'{gn}Report CopyRith{lrd}'])
t.add_row([f'{lgn}7{lrd}',f'{gn}Report Fake{lrd}'])
t.add_row([f'{lgn}8{lrd}',f'{gn}Report Geo Irrelevant{lrd}'])
t.add_row([f'{lgn}9{lrd}',f'{gn}Report Illegal Drugs{lrd}'])
t.add_row([f'{lgn}10{lrd}',f'{gn}Report Personal Details{lrd}'])
def clear():
if 'Windows' in platform.uname():
try:from colorama import init
except:os.system("pip install colorama")
init()
os.system("cls")
elif 'Windows' not in platform.uname():
os.system("clear")
clear()
re(f"""{g}
_____ __ _ _________ ____
(_ _) / \ / ) (_ _____) / __ \
| | / /\ \ / / ) (___ / / \ \
| | ) ) ) ) ) ) ( ___) ( () () )
| | ( ( ( ( ( ( ) ( ( () () )
_| |__ / / \ \/ / ( ) \ \__/ /
/_____( (_/ \__/ \_/ \____/
""")
account = f"""{k}
.---: :---.
.=++*+=+#+ +#*=+*++=.
=#*+++=++-=# #==++=+++*#=
=%++**==**-*+#= {rd}Reporter{k} =#+*-**==**++%=
.#*+***=+**-*+##+. {gn}Account{k} .+*%+*-**+=***+*%:
-%=****-***=+*=%@+= =+@%=*+=***-****=%-
-%=****-****-***++@#. .#@++***-****-****=%-
.%=****=+***+=****-=%@=*:=#%=.*=@%=-****=+***+=****=%.
*+*****-****=*****-+=#%*%#@@#%*%#=+-*****=****-*****=#
.%=****=+****-*-..::%@@@+@@@@@@*@@@%-:..-*-****+=****=#.
++*****-*+-:::. @@@@@*%@@@@%*@@@@@ .:::-+*-*****++
*=***++-= :@@@@@@##@@##@@@@@@: =-++***=#
*=+: %@@%#@@@##@@@##@@% :+=#
+- .... =@@@+@@@@@@@@+@@@= .... -*
= *@@@@@@@+@@@=@@@@@@@@=@@@+@@@@@@@* =
:@@@@@@@@+@@%##%@@@@@###@@+@@@@@@@@:
.@@@@##%@+@@%*@@@@@@@@*%@@+@%##@@@@.
.*@@@@%#*+@@#%@@@@@@%#@@+*#%@@@@#:
.=#@@@@*%@@-*+--+*-@@%*@@@@#=.
:=*@+@@:. .-@@+@#=:
#*@= =@*#
:%=@+ +@=%:
+****%*+= =+*%****+
.-.=- -=.-.
def report_spam(self):
with TelegramClient('reporter', self.api_id, self.api_hash) as client:
client.start(self.phone_number, self.password)
try:
user = client.get_entity(self.scammer_id)
scammer_input_peer = types.InputPeerUser(user_id=user.id,
access_hash=user.access_hash)
except ValueError:
print(f'{lrd}[{rd}!{lrd}] {k}No such person was found')
client.disconnect()
return
if self.method == "1":
for i in range(0,int(self.number)):
client(functions.account.ReportPeerRequest(
peer=scammer_input_peer,
reason=types.InputReportReasonSpam(),
message=''
))
print (f"{lrd}[{lgn}+{lrd}] {gn}A spam report has been sent :
{i}")
reporter = TelegramReporter()
reporter.report_spam()