Mainre Ghar Spy Cam Nikla 😱 | Python GUI App to Detect Hidden Cameras & Mics (Source Code)

  Demo :


Click Video πŸ‘‡πŸ‘‡πŸ‘‡



























🧩 Features:

  • Python Network Scanner

  • GUI App with Device Table

  • Export Suspicious Devices

  • Works on Wi-Fi or LAN

  • Stylish & Lightweight


Code :


from scapy.all import ARP, Ether, srp

import tkinter as tk

from tkinter import ttk, messagebox


def scan():

    target_ip = "192.168.1.1/24"

    arp = ARP(pdst=target_ip)

    ether = Ether(dst="ff:ff:ff:ff:ff:ff")

    packet = ether/arp


    result = srp(packet, timeout=3, verbose=0)[0]

    devices = []


    for sent, received in result:

        devices.append({'ip': received.psrc, 'mac': received.hwsrc})

    

    for d in devices:

        tree.insert("", "end", values=(d["ip"], d["mac"]))


root = tk.Tk()

root.title("Spy Device Detector")

root.geometry("600x400")

style = ttk.Style()

style.theme_use("clam")


ttk.Label(root, text="Connected Devices", font=("Helvetica", 16)).pack(pady=10)

tree = ttk.Treeview(root, columns=("IP", "MAC"), show="headings")

tree.heading("IP", text="IP Address")

tree.heading("MAC", text="MAC Address")

tree.pack(fill="both", expand=True)


ttk.Button(root, text="Scan Network", command=scan).pack(pady=10)


root.mainloop()

Comments

Popular posts from this blog

πŸš€ Simple Login & Registration System in Python Tkinter πŸ“±

πŸš€ Create a Python Screen Recorder with Audio (Complete Code)

Python IP Tracker App with GUI | Track IP Location Real-Time! (Working Project)