Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print('''
- __ _______ _ ____ ___ __ __ _____ _____ ___
- \ \ / / ____| | / ___/ _ \| \/ | ____| |_ _/ _
- \ \ /\ / /| _| | | | | | | | | |\/| | _| | || | | |
- \ V V / | |___| |__| |__| |_| | | | | |___ | || |_| |
- \_/\_/ |_____|_____\____\___/|_| |_|_____| |_| \___/
- ____ ___ _ _ ____ _____ ___ ___ _
- | _ \_ _| \ | |/ ___|_ _/ _ \ / _ \| |
- | |_) | || \| | | _ | || | | | | | | |
- | __/| || |\ | |_| | | || |_| | |_| | |___
- |_| |___|_| \_|\____| |_| \___/ \___/|_____|
- ''','''
- █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█
- █░██░██░██░██░██░██░██░██░██░░░░░░░░░░█
- █░██░██░██░██░██░██░██░██░██░░░░░░░░░░█
- █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
- ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
- ░░█░░░░█▀▀▀█░█▀▀█░█▀▀▄░▀█▀░█▄░░█░█▀▀█░░
- ░░█░░░░█░░░█░█▄▄█░█░░█░░█░░█░█░█░█░▄▄░░
- ░░█▄▄█░█▄▄▄█░█░░█░█▄▄▀░▄█▄░█░░▀█░█▄▄█░░
- ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░''')
- print(" ")
- op1=int(input("Before you use ping tool you must install pythonping , if you would like to know how to install this than press (1) to continue press (2): "))
- if op1 == 1:
- print('''Dont panic ,
- 1. Open CMD prompt , you can do this by pressing (Windows Key+R) then type in cmd and press enter
- 2. You must have Python 3.8-3.11 to continue , if you are running this program , then you probably have it :)
- 3. When the menu opens , type in these exact command (pip install pythonping)
- 4. Wait until it says you have completed it
- 5. If it says Requirment already satisfied then you already have it , that was a waste of time :(
- 6. Now please restart this program as , we have to update our pip packages . thank you ;)
- ''')
- else:
- from os import system
- url = str(input("What is the IP address or URL of the website you wish to Ping :) : "))
- system("ping " + url)
- print(" ")
- op2 = int(input(
- "You results are up there ^^^ , if you only see giberish then press (1) to see what these results mean , or else press (2) to continue : "))
- if op2 == 1:
- print('''
- Well if it worked it should look something like this VVV
- Pinging 1.1.1.1 with 32 bytes of data:
- Reply from 1.1.1.1: bytes=32 time=21ms TTL=57
- Reply from 1.1.1.1: bytes=32 time=19ms TTL=57
- Reply from 1.1.1.1: bytes=32 time=16ms TTL=57
- Reply from 1.1.1.1: bytes=32 time=15ms TTL=57
- line1: Ping statistics for 1.1.1.1:
- line2: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
- line3: Approximate round trip times in milli-seconds:
- line4: Minimum = 15ms, Maximum = 21ms, Average = 17ms
- Wait dont get a seizure! , ill explain it , Look at line 2
- if (lost=0) than the website is online
- if (lost=1-3) the website is online but may be rate limited meaning that it cant proccess all the pings or the DDOS protection software , used by the website may thing your trying to do a DDOS attack
- if (lost=4) the website is offline
- line4 just means how long it took to receive the ping
- THANK YOU for using PINGTOOL''')
- else:
- print('''
- THANK YOU for using PINGTOOL''')
- input("press ENTER to EXIT")
Advertisement
Add Comment
Please, Sign In to add comment