Skip to content

nestedbytes/ping-bot

Repository files navigation

Outdated

THIS PROJECT IS OUTDATED I WONT UPDATE IT ANYMORE !

ping-bot

A bot made to ping a ip or a website with a size and amount

DISCLAIMER

This is just for testing your own servers please don't use this to crash someone's server/website.If you get in any trouble i wont be responsible.You have been warned.

Download For Windows

Download

Download for linux

Automated Install
In this install you have to just download a script and run it to install it.
Download the sh script

wget https://shourgamer2.tk/ping-bot/installforlinux.sh

run the sh file

bash installforlinux.sh

cd to the dir

cd ping-bot

run the python file

sudo python3 pingbotforlinux.py

Manual
In this install you have to manualy run all the commands to install it
Install git

sudo apt-get install git

Clone this repo

git clone https://github.com/shourgamer2/ping-bot

Install python

sudo apt-get install python3.8

Install pip

git clone https://github.com/pypa/pip
cd pip
sudo python3 setup.py install

Install pythonping package

sudo pip install pythonping

To run it

cd ping-bot
sudo python3 pingbotforlinux.py

Install in cloud

run on replit

Usage

First type in the url/ip you want to send these pings to
url/ip
Then type the count of ping
count
Then type the size
size

Modify

Clone

git clone https://github.com/shourgamer2/ping-bot

cd

cd ping-bot

Install the needed packages

python -m pip install -r requirements.txt

Text at the starting

print("DISCLAIMER")
print("This is just for testing your own servers please don't use this to crash someone's server/website.If you get in any trouble i wont be responsible.You have been warned ")
print("-----------Ping Bot Version 1.1.0-----------")
print("-----------https://github.com/shourgamer2/ping-bot-----------")
print("Importing Packages")

Importing

from pythonping import ping
from tkinter import messagebox
from requests import get
import urllib.request

updater

print("Importing variables")
latestversion = get('https://shourgamer2.tk/ping-bot/version.txt').text
version = "1.1.0"
print("checking for updates")
if (latestversion.strip() == version):
    print("you are in correct version")
else:
  
    print("outdated,please go to the https://github.com/shourgamer2/ping-bot to update it  ")
    messagebox.showinfo("outdated", "This version is outdated please go to https://github.com/shourgamer2/ping-bot to update")

get the url/ip

print("Loading inputs")
print("url or the ip of the website/ip you want to ping")

Amount of ping

print("amount of ping ")
print("Types of amount ")
print("light - 50")
print("medium - 190")
print("high - 500")
print("Ultra - 1000")
print("Extreme - 5000")
pingco = input("Enter the amount of pings: ")

size of ping

print("size of ping")
print("Types of ping")
print("light - 50")
print("medium - 150")
print("high - 5005")
print("Ultra - 1000")
print("Extreme - 5000")
pingsi = input("Enter the size: ")

variables

print1 = "Pinging"
print2 = "with count"
print3 = "and with size"

print the url/ip , the amount of ping and size of ping

print(print1, pingip, print2, pingco, print3, pingsi)

ping it

ping(pingip, verbose=True, count=int(pingco),size=int(pingsi))