-
Notifications
You must be signed in to change notification settings - Fork 9
/
send_sms.py
52 lines (41 loc) · 1.98 KB
/
send_sms.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
import tkinter as tk
from tkinter import messagebox
import requests
class SMSSenderApp:
def __init__(self, root):
self.root = root
self.root.title("Darkey - SMS SPOOFER")
# FOR API KEY CONTACT @TOOLSDARK
self.api_key = '@toolsdark'
# GUI components
self.label_sender = tk.Label(root, text="Sender ID:")
self.entry_sender = tk.Entry(root)
self.label_receiver = tk.Label(root, text="Receiver ID:")
self.entry_receiver = tk.Entry(root, width=30, font=('Arial', 12)) # Increase the font size
self.label_message = tk.Label(root, text="Message:")
self.entry_message = tk.Text(root, width=30, height=5, font=('Arial', 12), wrap=tk.WORD, bd=5) # Use Text for multiline input
self.send_button = tk.Button(root, text="Send SMS", command=self.send_sms)
# Grid layout
self.label_sender.grid(row=0, column=0, padx=10, pady=10, sticky=tk.W)
self.entry_sender.grid(row=0, column=1, padx=10, pady=10, sticky=tk.W)
self.label_receiver.grid(row=1, column=0, padx=10, pady=10, sticky=tk.W)
self.entry_receiver.grid(row=1, column=1, padx=10, pady=10, sticky=tk.W)
self.label_message.grid(row=2, column=0, padx=10, pady=10, sticky=tk.W)
self.entry_message.grid(row=2, column=1, padx=10, pady=10, sticky=tk.W)
self.send_button.grid(row=3, columnspan=2, pady=20)
def send_sms(self):
sender_id = self.entry_sender.get()
receiver_id = self.entry_receiver.get()
message = self.entry_message.get("1.0", tk.END).strip()
data = {
'api_key': self.api_key,
'sender_id': sender_id,
'receiver_id': receiver_id,
'message': message
}
response = requests.post('https://sms.jagrithacker.com/main.php', data=data)
messagebox.showinfo("API Response", response.text)
if __name__ == "__main__":
root = tk.Tk()
app = SMSSenderApp(root)
root.mainloop()