first push

This commit is contained in:
2026-01-18 12:05:56 +03:30
commit cdbb2e11ed
109 changed files with 3083 additions and 0 deletions

17
Authentication/sms.py Normal file
View File

@@ -0,0 +1,17 @@
import requests
def send_otp_code(receptor, rand):
receptor = str(receptor)
message = 'سلام همراه عزیز کد پیامکی ارسالی برای شما :{}'.format(rand)
u = "http://webservice.sahandsms.com/newsmswebservice.asmx/SendPostUrl?username=pmstores&password=Aht00100&from=30002501&to={}&message={}".format(
receptor, message)
url = u.format()
payload = {}
headers = {"Content-Type": "application/x-www-form-urlencoded"}
response = requests.request("GET", url, headers=headers, data=payload, verify=False)
print(response.text)