Magd Almuntaser Posted July 21 Author Posted July 21 6 hours ago, Gusik Prasetyo said: Hello, how to make otp using api bro? I am interested to learn it. May be OTP only used for request lost or forgot password. So it can minimize our number got banned. Hello mas bro, i come from binjai. Not far from medan. I tried to develop an OTP system but everything is messed up. I'll explain the problem: let's say you created an account and you are the admin with the phone number 6211111111. There is another person who registered but hasn't linked their phone number yet. The next day, they log in again. How will they receive the OTP if they haven't entered a phone number? Where will the OTP be sent? The OTP system would be good if you were using it for another script, such as a script for online shopping sites like Shopee or Lazada, where you activate membership through OTP using an API. In that case, it would work well. However, if you are using OTP for the same script, things get very confusing. I suggest that if you want to implement OTP, do it via email or Google 2FA. Quote Update Whatsapp Gateway Multi Device (Magd Version) v8.0.0
pak kacung Posted July 22 Posted July 22 25 minutes ago, Bajra Al Faruq said: SAYA MENCOBA INSTAL BISA DIBANTUKAH Apakah sudah melalui panduan instalnya? Quote
Bajra Al Faruq Posted July 22 Posted July 22 23 minutes ago, pak kacung said: Apakah sudah melalui panduan instalnya? done bos ganti versi php ternyata Quote
The Billionaire Posted July 22 Posted July 22 @Magd Almuntaser I said it earlier, because I have been brainstorming how you want to implement it because I know that is what I did from my end, I use the script to send OTP to users to verify their account 1 Quote
The Billionaire Posted July 22 Posted July 22 Please can someone help, why do I need to always rescan, before it connects just like the script goes idle time Quote
Magd Almuntaser Posted July 22 Author Posted July 22 6 minutes ago, The Billionaire said: Please can someone help, why do I need to always rescan, before it connects just like the script goes idle time Yes, this issue is affecting everyone. WhatsApp updated its WebSocket, which led to connection problems with WhiskeySockets. We are all waiting for their new update to be compatible with the latest socket used by WhatsApp. You can follow their news in the issues section on their GitHub page: (github .com/WhiskeySockets/Baileys/issues) Quote Update Whatsapp Gateway Multi Device (Magd Version) v8.0.0
Gusik Prasetyo Posted July 22 Posted July 22 11 minutes ago, The Billionaire said: Please can someone help, why do I need to always rescan, before it connects just like the script goes idle time access: yourweb.com/schedule-run if the page load to blank page with some number inside (show 0 in top left corner), the cron should work, but if the result blank maybe any problem with your server so the cronjob not working properly Quote
Enno The Explorer Posted July 22 Posted July 22 @Magd Almuntaser @Gusik Prasetyo Tuan, sy butuh plugin pengiriman pesan dengan Footer dibawahnya, menu dan API pesan yg sekarang tidak bisa menggunakan footer, trima kasih Quote
Bajra Al Faruq Posted July 22 Posted July 22 (edited) balasan otomatis tidak jalan ya Edited July 22 by Bajra Al Faruq Quote
Magd Almuntaser Posted July 22 Author Posted July 22 5 minutes ago, Bajra Al Faruq said: balasan otomatis tidak jalan ya Pastikan Anda menggunakan salinan saya di postingan saya di halaman 41. Tentang: (This version is 7.0.0, Nulled, decoded(PHP and JavaScript), and modified) Quote Update Whatsapp Gateway Multi Device (Magd Version) v8.0.0
agus amin Posted July 22 Posted July 22 1 hour ago, The Billionaire said: Please can someone help, why do I need to always rescan, before it connects just like the script goes idle time Cek postingan saya sebelumnya Quote
Bajra Al Faruq Posted July 22 Posted July 22 1 hour ago, Magd Almuntaser said: Pastikan Anda menggunakan salinan saya di postingan saya di halaman 41. Tentang: (This version is 7.0.0, Nulled, decoded(PHP and JavaScript), and modified) saya menggunakan salinan di halaman 41 Quote
Magd Almuntaser Posted July 22 Author Posted July 22 2 minutes ago, Bajra Al Faruq said: saya menggunakan salinan di halaman 41 Coba kirimkan message text biasa dan lihat apakah berhasil. Kemudian coba auto message setelahnya Quote Update Whatsapp Gateway Multi Device (Magd Version) v8.0.0
Bajra Al Faruq Posted July 22 Posted July 22 3 minutes ago, Magd Almuntaser said: Coba kirimkan message text biasa dan lihat apakah berhasil. Kemudian coba auto message setelahnya teks biasa berhasil Quote
Bajra Al Faruq Posted July 22 Posted July 22 Just now, Bajra Al Faruq said: teks biasa berhasil pesan terjadwal belum jalan ini cronjob yg digunakan @Magd Almuntaser Quote
Magd Almuntaser Posted July 22 Author Posted July 22 5 minutes ago, Bajra Al Faruq said: pesan terjadwal belum jalan ini cronjob yg digunakan @Magd Almuntaser Sekarang Anda memberi tahu saya bahwa auto message dan campaign tidak berfungsi, masalah ini telah saya perbaiki di versi saya, jadi bagaimana bisa tidak berfungsi dengan Anda? Buka tautan berikut ini dan beri tahu saya apakah halaman putih dengan angka 0 muncul: yoursite.com/schedule-run Apakah tautan situs web Anda menggunakan https dan apakah Anda telah menginstal file key.pem dan cert.pem yang telah saya jelaskan sebelumnya? Atau masih menggunakan http? Quote Update Whatsapp Gateway Multi Device (Magd Version) v8.0.0
Bajra Al Faruq Posted July 22 Posted July 22 4 minutes ago, Magd Almuntaser said: Sekarang Anda memberi tahu saya bahwa auto message dan campaign tidak berfungsi, masalah ini telah saya perbaiki di versi saya, jadi bagaimana bisa tidak berfungsi dengan Anda? Buka tautan berikut ini dan beri tahu saya apakah halaman putih dengan angka 0 muncul: yoursite.com/schedule-run Apakah tautan situs web Anda menggunakan https dan apakah Anda telah menginstal file key.pem dan cert.pem yang telah saya jelaskan sebelumnya? Atau masih menggunakan http? angka 0 yg keluar Quote
The Billionaire Posted July 22 Posted July 22 5 hours ago, Gusik Prasetyo said: access: yourweb.com/schedule-run if the page load to blank page with some number inside (show 0 in top left corner), the cron should work, but if the result blank maybe any problem with your server so the cronjob not working properly @Gusik Prasetyo this is what am seeing Quote
The Billionaire Posted July 22 Posted July 22 4 hours ago, agus amin said: Cek postingan saya sebelumnya @agus amin please can you add the link to the post i cant find it Quote
Magd Almuntaser Posted July 22 Author Posted July 22 On 7/13/2024 at 4:46 PM, agus amin said: Replace Server.js and Restart Node.js "use strict"; // Copyright By Ilman Sunanuddin, M pedia // Email : Ilmansunannudin2@gmail.com // website : https://m-pedia.co.id // Whatsap : 6282298859671 // ------------------------------------------------------------------ // You are not allowed to share or sell this source code without permission. const wa = require("./server/whatsapp"); const fs = require("fs"); const dbs = require('./server/database/index'); require("dotenv").config(); const lib = require("./server/lib"); global.log = lib.log; /** * EXPRESS FOR ROUTING */ const express = require("express"); const app = express(); const http = require("http"); const server = http.createServer(app); /** * SOCKET.IO */ const { Server } = require("socket.io"); const io = new Server(server); const port = process.env.PORT_NODE; app.use((req, res, next) => { res.set("Cache-Control", "no-store"); req.io = io; // res.set('Cache-Control', 'no-store') next(); }); const bodyParser = require("body-parser"); // parse application/x-www-form-urlencoded app.use( bodyParser.urlencoded({ extended: false, limit: "50mb", parameterLimit: 100000, }) ); // parse application/json app.use(bodyParser.json()); app.use(express.static("src/public")); app.use(require("./server/router")); // console.log(process.argv) io.on("connection", (socket) => { socket.on("StartConnection", (data) => { wa.connectToWhatsApp(data, io); }); socket.on("ConnectViaCode", (data) => { wa.connectToWhatsApp(data, io, true); }); socket.on("LogoutDevice", (device) => { wa.deleteCredentials(device, io); wa.connectToWhatsApp(device, io); }); }); server.listen(port, console.log(`Server run and listening port: ${port}`)); dbs.db.query("SELECT * FROM devices WHERE status = 'Connected'", (err, results) => { if (err) { console.error('Error executing query:', err); } results.forEach(row => { const number = row.body; if (/^\d+$/.test(number)) { wa.connectToWhatsApp(number); } }); }); 27 minutes ago, The Billionaire said: @agus amin please can you add the link to the post i cant find it He means this post Quote Update Whatsapp Gateway Multi Device (Magd Version) v8.0.0
Magd Almuntaser Posted July 22 Author Posted July 22 Google Authenticator (2FA) Plugin v1.0.0 For version (7.0.0) I've programmed a new 2FA plugin so that users on your site can turn on two-step verification protection. I've added the ability to enable and disable this feature from the control panel Installation is very easy, download the zip file and unzip it in the root folder path of the script, then open the following link in your browser: http://yoursite/migrate If you see a white page and the number 0, it's working, if it's not and you have a vps, you can run this command via SSH: php artisan migrate You can now access your site and clicking on the image in the top right corner and clicking on Setting: You will find a new button called "Enable Authenticator 2FA?" All your users will see this button and can enable or disable it from here. After pressing this button, a page will open with a QR code for the google authenticator application, if you don't have it on your phone, you can download it from Google Play, scan the QR code and it will show you the number that changes every 10 seconds. Enter it in the box and press confirm You can now logout and try logging in again. You will see that after logging in, you are taken to the Authenticator 2FA window, and you need to enter the code from the Authenticator app on your phone each time you login Note: The (Forget?) button is not working at the moment, but I will be releasing the next version with a new feature in this button 2FA-plugin-v1.0.0.zip 2 Quote Update Whatsapp Gateway Multi Device (Magd Version) v8.0.0
Gusik Prasetyo Posted July 22 Posted July 22 1 hour ago, Magd Almuntaser said: Google Authenticator (2FA) Plugin v1.0.0 For version (7.0.0) I've programmed a new 2FA plugin so that users on your site can turn on two-step verification protection. I've added the ability to enable and disable this feature from the control panel awesome, many thanks for this plugin brother. Quote
pak kacung Posted July 22 Posted July 22 4 hours ago, Magd Almuntaser said: Plugin Google Authenticator (2FA) v1.0.0 Untuk versi (7.0.0) Saya telah memprogram plugin 2FA baru sehingga pengguna di situs Anda dapat mengaktifkan perlindungan verifikasi dua langkah. Saya telah menambahkan kemampuan untuk mengaktifkan dan menonaktifkan fitur ini dari panel kontrol Pemasangannya sangat mudah, unduh file zip dan ekstrak di jalur folder root skrip, lalu buka tautan berikut di peramban Anda: Jika Anda melihat halaman putih dan angka 0, berarti halaman tersebut berfungsi. Jika tidak, dan Anda memiliki VPS , Anda dapat menjalankan perintah ini melalui SSH: Anda sekarang dapat mengakses situs Anda dan mengklik gambar di sudut kanan atas dan mengklik Pengaturan: Anda akan menemukan tombol baru yang disebut " Aktifkan Authenticator 2FA? " Semua pengguna Anda akan melihat tombol ini dan dapat mengaktifkan atau menonaktifkannya dari sini. Setelah menekan tombol ini, akan terbuka halaman berisi kode QR untuk aplikasi Google Authenticator, jika belum ada di ponsel Anda, Anda dapat mengunduhnya dari Google Play , pindai kode QR tersebut , dan akan muncul nomor yang berubah setiap 10 detik. Masukkan kode tersebut ke dalam kotak dan tekan konfirmasi. Sekarang Anda dapat keluar dan mencoba masuk lagi. Anda akan melihat bahwa setelah masuk, Anda akan dibawa ke jendela Authenticator 2FA, dan Anda perlu memasukkan kode dari aplikasi Authenticator di ponsel Anda setiap kali Anda masuk. Catatan: Tombol (Lupa?) tidak berfungsi saat ini, tetapi saya akan merilis versi berikutnya dengan fitur baru di tombol ini Plugin 2FA v1.0.0.zip 827,17 kB Bahasa Indonesia: 4 unduhan ..sangat bermanfaat Quote
Solusi Legalitas Posted July 23 Posted July 23 Selalu menunggu kejutan dari Master Kita @Magd Almuntaser @Magd Almuntaser @Gusik Prasetyo 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.