Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!usr/bin/python
- import time
- import sys
- import os
- import requests
- import json
- import pycurl
- import re
- #target = sys.argv[1];
- print "#=================================================="
- print "# this is a script to check iidrn.com ="
- print "# for DDOS update ="
- print "# more to come, shoutz to d35m0nd142 for this one ="
- print "# Editing my code doesn't make you the cod3r ="
- print "# ="
- print "#=================================================="
- def usage():
- print "###############################"
- print "# there's no usage ...dayum #"
- print "# shoutz to LulzSecurity #"
- print "# Coded by LulzTigre #"
- print "# Thank You BlkPh0x #"
- print "###############################"
- print" ....................... "
- print"........................ "
- print " "
- print "do you need to see the goddamn usage"
- usag3 = raw_input("Y/n >>> ")
- if usag3 == "Y" or "y":
- usage()
- elif usag3 == "n" or "N":
- os.system('clear')
- print "are you ready to scan"
- scan = raw_input("Y/n >> ")
- time.sleep(2.00)
- print " Please if you are selecting isitdownrightnow.com as host"
- print " do not add 'www' in front of target.com "
- time.sleep(1.17)
- os.system('clear')
- if scan == "Y" or "y":
- print "Enter your Target "
- target = raw_input("> " )
- target = target
- print "select host to use"
- host = raw_input("isitdownrightnow('iidrn')/Downforeveryoneorjustme('isup.me') >> ")
- if host == "iidrn":
- url_host1 = "http://www.isitdownrightnow.com/check.php?domain=" + target
- page = requests.get(url_host1)
- print "fetching data and wasting time on purpose"
- print "3"
- time.sleep(1.00)
- print "2"
- time.sleep(0.59)
- print "1"
- time.sleep(0.14)
- t3xt = (page.text.encode('utf8'))
- t3xt = re.findall(r'<span class="upicon">([^<]*)</span>', t3xt)
- print target + " is " + t3xt[0]
- elif host == "isup.me":
- url_host2 = "http://downforeveryoneorjustme.com/" + target
- page = requests.get(url_host2)
- print "fetching data and wasting time on purpose"
- print "3"
- time.sleep(1.00)
- print "2"
- time.sleep(0.59)
- print "1"
- time.sleep(0.14)
- t3xt = (page.text.encode('utf8'))
- t3xt = re.findall(r'</span>([^<]*)\n<p>', t3xt)
- print t3xt
- else:
- print "please enter something valid"
- sys.exit()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement