Posts

Showing posts from July, 2025

Create Google Auth - consent screen

Create Google Auth configuration → SUKSES, consent screen sudah aktif. Google Auth Platform/ Clients / Create Clint: Create OAuth client ID, pilih Aplication Type: [Web application, Android,, Chrome Extension, iOS, TVs and Limited Input devices, Desktop app, Universal Windows Platform (UWP)] dan isi Name* (Desktopclient 1) > Create The name of your OAuth 2.0 client. This name is only used to identify the client in the console and will not be shown to end users. Note: It may take 5 minutes to a few hours for settings to take effect Create tampil Client ID dan Client Secret dg status Enabled, lanjut download, dan OK selesai. test users Oauth Consent screen https://console.cloud.google.com/auth/clients?inv=1&invt=Ab3sdQ&project=fabled-era-466003-m6

main.py Saham Turun v5

main.py Saham Turun v3 (belum bisa)

import json import pandas as pd import requests import time from google.oauth2.credentials import Credentials from google_auth_oauthlib.flow import InstalledAppFlow from googleapiclient.discovery import build # ------------------------------ # 1️⃣ Baca config.json # ------------------------------ with open('config.json') as f: config = json.load(f) SPREADSHEET_ID = config['spreadsheet_id'] TELEGRAM_TOKEN = config['telegram_token'] CHAT_ID = config['telegram_chat_id'] # ------------------------------ # 2️⃣ Range spreadsheet # Ganti sesuai nama sheet & range # ------------------------------ RANGE_NAME = 'Sheet1!A:F' # Sesuaikan dengan header kamu # ------------------------------ # 3️⃣ Scope Google Sheets API # ------------------------------ SCOPES = ['https://www.googleapis.com/auth/spreadsheets.readonly'] # ------------------------------ # 4️⃣ Fungsi buat service Google Sheets # ------------------------------ def get_sheet...

main.py Saham Turun v1 (belum bisa)

import pandas as pd import requests import json import time import os.path from google.oauth2.credentials import Credentials from google_auth_oauthlib.flow import InstalledAppFlow from google.auth.transport.requests import Request from googleapiclient.discovery import build # CONFIG SCOPES = ['https://www.googleapis.com/auth/spreadsheets.readonly'] with open('config.json') as f: config = json.load(f) SPREADSHEET_ID = config['spreadsheet_id'] TELEGRAM_TOKEN = config['telegram_token'] CHAT_ID = config['telegram_chat_id'] RANGE_NAME = 'Sheet1!A1:H1061' # --- GOOGLE SHEETS API --- def get_sheet_service(): creds = None if os.path.exists('token.json'): creds = Credentials.from_authorized_user_file('token.json', SCOPES) # Kalau token.json tidak ada atau expired: if not creds or not creds.valid: if creds and creds.expired and creds.refresh_token: creds.refresh(Request()) ...

Deteksi dan Blokir Jaringan Wifi Mencurigakan Otomatis

Sistem Pemantauan dan Pemblokiran Aktivitas Jaringan Otomatisa A. Pengantar Deteksi dan Blokir Jaringan Wifi Mencurigakan secara Otomatis adalah sebuah tool jaringan berbasis Scapy yang dirancang untuk melakukan berbagai fungsi pengujian dan pemantauan jaringan lokal (LAN). Pertama, tool ini mampu mendeteksi perangkat yang terhubung di jaringan menggunakan metode ARP scanning serta sniffing terhadap lalu lintas IP yang bersifat khusus, seperti multicast , broadcast , dan lalu lintas IP lokal lainnya. Kedua, alat ini memiliki kemampuan untuk melakukan ARP spoofing , yaitu proses manipulasi tabel ARP pada perangkat target guna melakukan man-in-the-middle attack atau pemantauan lalu lintas jaringan. Proses ini dapat dikonfigurasi untuk menyerang satu atau beberapa host sekaligus. Saat proses ARP spoofing dihentikan, tool ini akan secara otomatis mengembalikan (restore) entri ARP ...

Deteksi dan Blokir Jaringan Mencurigakan Otomatis

Sistem Pemantauan dan Pemblokiran Aktivitas Jaringan Otomatisa 📘 Topik Interaktif: Hover Biru Muda & Glow 📘 Topik Interaktif: Hover Biru Muda & Glow 📘 Topik Interaktif: Hover Biru Muda & Glow A. Pengantar A1. Saham Kososng A2. Obligasi Kososng B. Fitur 📌 Kososng B1. Deteksi IP LAN dan Gateway - Sudah Ada Kosong B2. Deteksi perangkat aktif via ARP - Sudah Ada Kosong B3. Sniff IP multicast/broadcast/link-local - Sudah Ada Kosong B4. Simpan hasil deteksi ke file CSV - Sudah Ada Kosong B5. Spoof dan Restore ARP - Sudah Ada Kosong B6. Validasi hak akses (root/admin)- Sudah Ada Kosong B7. Blokir IP/Perangkat Teknik ini memanfa...

Contoh Hasil Deteksi Jaringan Wifi (non kode)

[+] Ditemukan 1 target.    [0] 192.168.1.2 - 92:24:25:03:50:be [+] Target otomatis: 192.168.1.2 (92:24:25:03:50:be) [+] Menjalankan ARP Spoofing... Tekan CTRL+C untuk berhenti. WARNING: You should be providing the Ethernet destination MAC address when sending an is-at ARP. WARNING: You should be providing the Ethernet destination MAC address when sending an is-at ARP. WARNING: more You should be providing the Ethernet destination MAC address when sending an is-at ARP. WARNING: You should be providing the Ethernet destination MAC address when sending an is-at ARP. WARNING: You should be providing the Ethernet destination MAC address when sending an is-at ARP. Dengan CTRl C: [!] Menghentikan spoofing. Mengembalikan ARP... WARNING: more You should be providing the Ethernet destination MAC address when sending an is-at ARP. [+] ARP tabel telah dipulihkan.   D:\Python\AmanWifi>

Catatan Modul Python Library Python

Informasi Modul netifaces Modul netifaces_plus Tidak Ditemukan Catatan: netifaces_plus bukan modul resmi Python dan tidak tersedia di PyPI . ✅ Modul yang Benar: netifaces Gunakan modul netifaces yang merupakan modul resmi dan umum digunakan untuk mendapatkan informasi jaringan. Cara Install Jalankan perintah ini di terminal atau Command Prompt: pip install netifaces Jika Anda menggunakan Python 3.x dan mengalami masalah, coba gunakan perintah ini: python -m pip install netifaces ℹ️ Informasi Tambahan netifaces_plus mungkin disebut dalam beberapa artikel sebagai versi modifikasi pribadi (fork), namun bukan bagian dari standar Python . Modul tersebut tidak tersedia melalui pip atau PyPI . Untuk mendapatkan IP gateway, pastikan netifaces berfungsi dengan baik di sistem Anda (misalnya Windows). 💡 Alternatif Tanpa netifaces Jika Anda tidak ingin menggunakan modul tambahan, Anda bisa menggunakan ...

Wifi Berbagai IP LAN Spoof Scapy Otomatis CSV vy-3

Peringatan: ARP spoofing harus hanya digunakan untuk pembelajaran atau pengujian di jaringan yang Anda miliki atau telah diberi izin eksplisit. Penggunaan tanpa izin termasuk pelanggaran hukum di banyak negara. Fitur Utama: Semua pemindaian & spoofing dalam satu file skrip Pemilihan target otomatis dari hasil scan Opsional: simpan log ke file .csv Tambahan Opsional: ✅ Bisa diulang otomatis setiap jam? ✅ Bisa digabung langsung ke skrip ARP spoofing utama ✅ Bisa disesuaikan untuk log waktu & hanya menyimpan hasil yang berubah from scapy.all import ARP, Ether, srp, send, sniff, IP import os, sys, time, csv def get_ip_lan(): from netifaces import interfaces, ifaddresses, AF_INET for iface in interfaces(): addrs = ifaddresses(iface) if AF_INET in addrs: for link in addrs[AF_INET]: ip = link.get("addr") if ip and not ip.startswith("127....

Wifi Berbagai IP Scapy Otomatis CSV vy-1

Dokumentasi: scan_semua.py 📄 Dokumentasi: scan_semua.py 🎯 Tujuan ✔️ Scan otomatis semua jenis IP menggunakan Scapy ✔️ Mendeteksi dan mengelompokkan hasil berdasarkan jenis IP ✔️ Menyimpan hasil ke file .csv atau .json (opsional) ✔️ Menampilkan hasil dalam bentuk tabel atau format JSON 🔍 Jenis IP yang Dideteksi ✔️ IP LAN (diperoleh via ARP) ✔️ Multicast & Broadcast (diperoleh via sniff paket jaringan) ✔️ IP Lokal seperti 127.0.0.1 dan 169.254.x.x (loopback & link-local) 💾 Output File ✔️ Hasil disimpan otomatis ke hasil_scan.csv ✔️ Format kolom: IP, Kategori, Sumber Deteksi ✔️ Tanpa input manual — proses sepenuhnya otomatis ✔️ Durasi sniff default: 10 detik (bisa diubah) ▶️ Cara Menjalankan python scan_semua.py python NAMA_FILE.py untuk setiap jalankan aplikasi python 🛠️ Fitu...

Pengelompokan Jenis IP

Memindai IP Berdasarkan CIDR Kategori IP 📘 A. Kategori IP yang umum digunakan dalam jaringan Kategori Deskripsi Singkat Loopback Digunakan untuk menguji jaringan lokal di perangkat itu sendiri (contoh: 127.0.0.1 atau ::1 di IPv6). Link-local Alamat otomatis saat tidak ada DHCP; hanya berlaku dalam satu segmen jaringan (contoh: 169.254.x.x untuk IPv4, fe80::/10 untuk IPv6). Private / Lokal IP untuk jaringan lokal: 10.0.0.0/8 , 172.16.0.0/12 , 192.168.0.0/16 . Broadcast Mengirim ke semua host dalam subnet (contoh: 192.168.1.255 untuk subnet 192.168.1.0/24 ). Multicast IP untuk komunikasi grup host, biasanya via UDP (IPv4: 224.0.0.0 hingga 239.255.255.255 ). P...