Full Code of Sanif007/sms-scammer for AI

master 706135c1cb8c cached
5 files
6.6 KB
2.0k tokens
6 symbols
1 requests
Download .txt
Repository: Sanif007/sms-scammer
Branch: master
Commit: 706135c1cb8c
Files: 5
Total size: 6.6 KB

Directory structure:
gitextract_nurvihxb/

├── README.md
├── rq.sh
├── sess.txt
├── sess_info.py
└── sms.py

================================================
FILE CONTENTS
================================================

================================================
FILE: README.md
================================================
# sms-scammer [v. 5.0](https://github.com/Sanif007/sms-scammer)
# Author : [Ninja Hydra ](https://github.com/Sanif007)
this tool is not for any revenge purpose. Please use it only for fun! Use wisely!

# unfortunately due to some error this might show some error in few countries recently!  Am trying to use some new ways till then please wait! 

**steps to install it in termux/lunix** :
1. apt install python git -y
2. git clone https://github.com/Sanif007/sms-scammer
3. pip install requests
4. cd sms-scammer
5. python sms.py

Follow on Instagram - [click here](https://instagram.com/sanif_kumar)

Follow on Twitter - [click here](https://twitter.com/NinjaHydra1)

Please do msg me on insta/twitter for more inquiry! 

# E.164 error :
You can solve this error by purchasing api and inserting it in code manually - [click here ](https://textbelt.com/purchase/?generateKey=1)

# Api adding :
New feature is added to make adding your purchased api easily.


================================================
FILE: rq.sh
================================================
#!/bin/bash
command -v curl > /dev/null 2>&1 || {  echo >&2 "I require curl but it is not installed. \n installing it.."; apt install curl -y; }
command -v python > /dev/null 2>&1 || {  echo >&2 "I require python but it is not installed. \n installing it.."; apt install python -y; }
command -v pip > /dev/null 2>&1 || {  echo >&2 "I require pip but it is not installed. \n installing it.."; curl https:bootstrap.pypa.io/get-pip.py -o get-pip.py && python get-pip.py ; }
command -v toilet > /dev/null 2>&1 || {  echo >&2 "I require toilet package but it is not installed. \n installing it.."; apt install toilet -y; }


================================================
FILE: sess.txt
================================================
your session details are given below 


================================================
FILE: sess_info.py
================================================
with open("sess.txt","r") as file :
   first_line = file.readline()
   for last_line in file :
      pass
print("\033[94mFirst time used : \033[0m"+first_line)
print("\033[94mMost recently used : \033[0m"+last_line)


================================================
FILE: sms.py
================================================
import requests, os, sys, time, datetime
from requests import get
starttime = datetime.datetime.now().strftime("%X")
print("\033[96mCoded by github.com/Sanif007 \033[0m ")
print("\033[93m Version 5.0 \033[0m")
print("\033[91m Checking dependencies... \033[0m")
time.sleep(2)
os.system("bash rq.sh")

def menu() :
    print("\033[91m1. \033[92mSend anonymous sms\033[0m")
    print("\033[91m2. \033[92mCheck status of sms\033[0m")
    print("\033[91m3. \033[92mHelp\033[0m")
    print("\033[91m4. \033[92mCheck previous history! \033[0m")
    print("\033[91m5. \033[92mAdd your own API \033[0m")
    print("\033[91m6. \033[92mExit\033[0m")
def control() :
    ctrl = input("What you want to do : ")
    if ctrl == "1" :
        sms()
    elif ctrl == "2" :
        status()
    elif ctrl == "3" :
        help()
    elif ctrl == "4" :
        history()
    elif ctrl == "5" :
        api = input("Add API here - ")
        if os.path.exists("api_lst.txt") : 
            print("previous API File Still exist... \n removing previous API and adding new one.")
        else : 
            os.system("touch api_lst.txt")
            apiadd = open("api_lst.txt", "w")
            apiadd.write(api)
            time.sleep(2)
            apiadd.close()
            print("Done!")
    elif ctrl == "6" :
        print("thanks for using it.\nplease stay connected with us. github.com/Sanif007")
        exit()
    else :
        print("\033[91mInvalid number\033[0m")
def sms() :
   phone_no = input("enter phone number : ")
   msg = input("message to send : ")

   resp = requests.post('https://textbelt.com/text',{
	'phone' : phone_no,
	'message' : msg ,
	'key' : api
   })
   print(resp.text)
   time = datetime.datetime.now()
   clock = time.strftime("%X")  
   date = time.strftime("%x")
   save = open("sess.txt", "a")
   save.write(f"\nip = {ip} : time = {clock} : date = {date} : stats = {resp.text} : phone no.  = {phone_no} ")
def history() :
    if os.path.exists("sess.txt") :
        with open("sess.txt","r") as file :
            sessions = file.read().splitlines()
            ses_numbers = len(sessions)
            if ses_numbers > 1 :
                os.system("python sess_info.py")
                more_details = input("Do you wanna see all sessions? (Default : no) : ").lower()
                if more_details == "yes" or more_details == "y" :
                    os.system("cat sess.txt")
                else :
                    print("Thanks for using sms-scammer, please keep supporting us.\nGithub : github.com/Sanif007")
            elif ses_number == 1: 
                print(file.readline)
            else :
                print("either file is empty or any error occurred!")
    else :
        print("Either you are using this first time or maybe you had deleted history. ")
def status() :
  textID = input("Enter textID of sms : ") 
  os.system(f"curl https://textbelt.com/status/{textID}")
def help() :
    print("please choose your problem from undergiven conditions! ")
    print("A. Can't send sms after one attempt in a to same number!")
    print("B. Can't send sms due to huge usage of website. ")
    print("C. Can't send more than one sms even to different number. ")
    print("D. Other")
    qna = input(">>> ").lower()
    if qna == "a" :
        print("Bcoz this is just a demo version so it can send only 1 sms in a day to same number however you can send to different number by using vpn.")
    elif qna == "b" :
        print("sometimes when website is used in large amount then they disable free sms for sometime. Please wait for sometime...")
    elif qna == "c" :
        print("please check your vpn carefully and use best vpns only. Like nordvpn , protonvpn etc. ")
    elif qna == "d" :
        print("sorry for any problem! Please mail us your problem on hackersacademyofindia@gmail.com or you can mention your problem in github.com/Sanif007")
    else :
        print("Invalid option!! \n exiting.. Sorry..")
        exit()
os.system("clear")
os.system("toilet -f mono12 -F gay Scammer")
print("\033[94m########################## \033[31mVr. 5.0\033[0m \033[94m#########################  ")
print("\033[1;96mCoded by github.com/Sanif007 \033[0m")
print(f"Program started at : {starttime}")
ip = get("https://api.ipify.org").text
ip_c = input("\033[95;107mDo you want to see your current ip ? : \033[0m").lower()
if ip_c == "yes" or ip_c == "y" :
   print(f"\033[1;93mYou are currently using with ip :\033[0m \033[91;107m{ip}\033[0m ")
elif ip_c == "no" or ip_c == "n" :
   print("\033[93;101mi hope you know what you are doing. :) \033[0m")
else :
   print("invalid option!! type yes or no ")
menu()
if os.path.exists("api_lst.txt") :
    apifile = open("api_lst.txt", "r")
    api = apifile.readline()
    print("***using pre-existing API***")
    print(api)
    apifile.close()
else :
    api = 'textbelt'
    print("***no Previous API founded using Default API.***")
    print(api)
control()

Download .txt
gitextract_nurvihxb/

├── README.md
├── rq.sh
├── sess.txt
├── sess_info.py
└── sms.py
Download .txt
SYMBOL INDEX (6 symbols across 1 files)

FILE: sms.py
  function menu (line 10) | def menu() :
  function control (line 17) | def control() :
  function sms (line 43) | def sms() :
  function history (line 58) | def history() :
  function status (line 76) | def status() :
  function help (line 79) | def help() :
Condensed preview — 5 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (7K chars).
[
  {
    "path": "README.md",
    "chars": 957,
    "preview": "# sms-scammer [v. 5.0](https://github.com/Sanif007/sms-scammer)\n# Author : [Ninja Hydra ](https://github.com/Sanif007)\nt"
  },
  {
    "path": "rq.sh",
    "chars": 618,
    "preview": "#!/bin/bash\ncommand -v curl > /dev/null 2>&1 || {  echo >&2 \"I require curl but it is not installed. \\n installing it..\""
  },
  {
    "path": "sess.txt",
    "chars": 38,
    "preview": "your session details are given below \n"
  },
  {
    "path": "sess_info.py",
    "chars": 216,
    "preview": "with open(\"sess.txt\",\"r\") as file :\n   first_line = file.readline()\n   for last_line in file :\n      pass\nprint(\"\\033[94"
  },
  {
    "path": "sms.py",
    "chars": 4947,
    "preview": "import requests, os, sys, time, datetime\nfrom requests import get\nstarttime = datetime.datetime.now().strftime(\"%X\")\npri"
  }
]

About this extraction

This page contains the full source code of the Sanif007/sms-scammer GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 5 files (6.6 KB), approximately 2.0k tokens, and a symbol index with 6 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.

Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.

Copied to clipboard!