Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
olx-scraper
Advanced tools
Unofficial Scraper API for OLX.CO.ID
You can install the package using npm or Yarn:
npm install wacloudapi
or
yarn add wacloudapi
First, import the required classes from the package:
const { Message, WAParser, WebhookServer } = require('wacloudapi);
Create a new Message
instance with your API credentials:
const message = new Message(apiVersion, phoneNumberId, accessToken);
You can now use the various methods provided by the Message
class to send messages:
message.sendTextMessage(recipientPhoneNumber, messageContent);
Create a new WebhookServer
instance and specify the desired port and whether to use ngrok:
const webhookServer = new WebhookServer(port, useNgrok, ngrokAuthToken);
Add a listener for incoming messages:
webhookServer.on('message', (message) => {
console.log('Received message:', message);
});
Add a route for webhook verification:
webhookServer.Verification(callbackUrl, verificationToken);
Start the webhook server:
webhookServer.start();
The WAParser
class is used to parse incoming webhook data from the WhatsApp Business API.
Returns the parsed message object depending on the type of message contained in the received webhook data.
const parse = new WAParser(WebhookData);
// parse message
const parsedMessage = parse.parseMessage();
The NotificationParser
class is used to parse incoming webhook data from the WhatsApp Business API.
Returns the parsed message object depending on the type of message contained in the received webhook data.
const parse = new NotificationParser(WebhookData);
// parse message
const parsedMessage = parse.parseNotification();
For detailed information on available methods and how to use them, please refer to the documentation.
Contributions are welcome! If you'd like to contribute, please follow these steps:
We appreciate any help and feedback!
Email : cp@imtaqin.id
This project is licensed under the MIT License. See the LICENSE file for more information.
FAQs
Unofficial OLX Client API / Scraper
We found that olx-scraper demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.