Wa Gateway | Multi device BETA | MPWA MD

Wa Gateway | Multi device BETA | MPWA MD v8.0.0 ( Extended License )

No permission to download

Gemes

Member
May 2, 2022
96
18
8
Decoded:
server\router\index.js

Code:
'use strict'
const express = require('express'),
  router = express.Router(),
  wa = require('./model/routes'),
  store = require('./model/store'),
  { initialize } = require('./model/whatsapp'),
  CryptoJS = require('crypto-js'),
  validation = process.env.AUTH
router.get('/', (_0x2d3762, _0x739c0a) => {
  const _0xc050d4 = require('path')
  _0x739c0a.sendFile(_0xc050d4.join(__dirname, '../../public/index.html'))
})
router.post('/backend-logout', wa.deleteCredentials)
router.post('/backend-generate-qr', wa.createInstance)
router.post('/backend-initialize', initialize)
router.post('/backend-send-list', wa.sendListMessage)
router.post('/backend-send-template', wa.sendTemplateMessage)
router.post('/backend-send-button', wa.sendButtonMessage)
router.post('/backend-send-media', wa.sendMedia)
router.post('/backend-send-text', wa.sendText)
router.post('/backend-getgroups', wa.fetchGroups)
router.post('/backend-blast', wa.blast)
module.exports = router
thank you,
any change for decode whatsapp.js ?
 

maxpayneinfo

Well-known member
Trusted Uploader
Jan 5, 2021
650
1,278
100
Universe
i am in the process of making changes, and adding more options in it to work, like sending mp3 and other type of files, multiple images, sending vcard and sending location. i'll share once it is done completely and my testing is 100% successfull.
Great can you create cron job to restart node.js server on defined hours so bot can work continiously. thank you
 

zhang0524

Member
Aug 25, 2022
49
3
8
Bro simple
1. Set as
APP_INSTALLED=true
2. Go to database folder and find database.sql file and upload it in your database
3. Edit .env file add app url and database details
4. Visit your website and create admin as new user by registering.
5. Go to User manager-> Edit admin's device limit and set as lifetime validity
Hello,
Thank you very much for your guidance. After I set the MySQL version to v.5.7, the database is normal and I can log in to the system, but now I am stuck on getting the QR code. I am using the PM2 manager, and the version of Node is v14. .20.0, what else do I need to set?
 

Attachments

  • 6.jpg
    6.jpg
    37.6 KB · Views: 21

Morehere

Well-known member
Null Master
Trusted Uploader
Jan 13, 2020
965
959
93
Hello,
Thank you very much for your guidance. After I set the MySQL version to v.5.7, the database is normal and I can log in to the system, but now I am stuck on getting the QR code. I am using the PM2 manager, and the version of Node is v14. .20.0, what else do I need to set?
Which panel are you using?
 

zhang0524

Member
Aug 25, 2022
49
3
8
Are you using any panel like cpanel, aapanel or any other?
Also share screenshot of pm2 manager setup
Hello, I am using a panel that is commonly used in our local area. Which panel do you recommend is the most suitable for installation?
 

zhang0524

Member
Aug 25, 2022
49
3
8
aapanel and plesk
Hello, I changed the panel to aaPanel and re-installed it, but it is still stuck in the QR code. The following is a screenshot of the PM2 manager settings, please help to find out what is the reason? thank you very much.
 

Attachments

  • 6.jpg
    6.jpg
    37.6 KB · Views: 42
  • 7.jpg
    7.jpg
    51.1 KB · Views: 42
  • 8.jpg
    8.jpg
    61.7 KB · Views: 42

Morehere

Well-known member
Null Master
Trusted Uploader
Jan 13, 2020
965
959
93
Hello, I changed the panel to aaPanel and re-installed it, but it is still stuck in the QR code. The following is a screenshot of the PM2 manager settings, please help to find out what is the reason? thank you very much.
Now check your server settings and change Server type to Other and add your website link without https:// add port as 3000
 

zhang0524

Member
Aug 25, 2022
49
3
8
Dear,
Thanks a lot for your help, I made it work.(y)(y)(y)
Hello, I encountered another problem in the test. I found that the pictures and files in the file manager could not be previewed and opened. Do I need other settings?
In addition, I would like to know how to add other national languages, or modify the language. Thanks!
 

Morehere

Well-known member
Null Master
Trusted Uploader
Jan 13, 2020
965
959
93
Hello, I encountered another problem in the test. I found that the pictures and files in the file manager could not be previewed and opened. Do I need other settings?
In addition, I would like to know how to add other national languages, or modify the language. Thanks!
Check 5th solution in "overview" tab of this resource thread
 

zhang0524

Member
Aug 25, 2022
49
3
8
Check 5th solution in "overview" tab of this resource thread
Hello, I have solved the problem with the file manager, thank you.
But I encountered a problem again, the task cannot be sent out, there are 6 numbers in my list, but only one is displayed here, and the status of sending failed, please guide, please refer to the screenshot. Thanks!
 

Attachments

  • 9.jpg
    9.jpg
    34.1 KB · Views: 41
  • 10.jpg
    10.jpg
    24.1 KB · Views: 40
  • 11.jpg
    11.jpg
    28 KB · Views: 40

Morehere

Well-known member
Null Master
Trusted Uploader
Jan 13, 2020
965
959
93
Hello, I have solved the problem with the file manager, thank you.
But I encountered a problem again, the task cannot be sent out, there are 6 numbers in my list, but only one is displayed here, and the status of sending failed, please guide, please refer to the screenshot. Thanks!
Add your Timezone in /config/app.php
 

Latest posts

Forum statistics

Threads
69,226
Messages
908,438
Members
237,027
Latest member
YoGGe

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu