项目作者: SubZer0811

项目描述 :
A python sccript to spam a chat on whatsapp!
高级语言: Python
项目地址: git://github.com/SubZer0811/whatsapp-spambot.git
创建时间: 2020-10-19T19:27:21Z
项目社区:https://github.com/SubZer0811/whatsapp-spambot

开源协议:

下载


whatsapp-spambot

A python script to spam a chat on whatsapp!

Introduction

This script can send a finite amount of messages to a chat on whatsapp. It uses the splinter library to type and mouse-click.

DISCLAIMER: The contents of this repository were written only for educational purposes and not to cause trouble or annoyance to any person or group of persons.
The author of this repository is not responsible for any nuisance caused. This repository is a mere attempt to automate sending messages on whatsapp. It showcases the capability of automation possible using the splinter library.

Installation

This script uses the splinter package. Run:

  1. chmod +x setup.sh
  2. bash setup.sh

The setup file installs splinter, argparse and geckodriver. Geckodriver is a web browser engine used by mozilla firefox. We use it here to link our script and the browser.

Working

The first argument is the name of the chat.

The second argument is the message.

The third argument is the number of times that the message needs to be sent.

  1. python3 hw.py "Subash Mylraj" "spam test!" 5

Example

Use the following command to get more help.

  1. python3 wa-spam.py -h
  2. usage: wa-spam.py [-h] [-n] [--waittime WAITTIME] chat_name msg count
  3. Spam your friends or enemies on whatsapp!
  4. positional arguments:
  5. chat_name Name of the chat you want to spam
  6. msg Message to be sent
  7. count Number of messages to be sent
  8. optional arguments:
  9. -h, --help show this help message and exit
  10. -n Explicitly set the network proxy type to: no proxy
  11. --waittime WAITTIME Change the time that the application waits for you to
  12. login. Default: 10 seconds