Advertisement
Lulz-Tigre

DOSpdate

Apr 9th, 2017
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 2.45 KB | None | 0 0
  1. #!usr/bin/python
  2. import time
  3. import sys
  4. import os
  5. import requests
  6. import json
  7. import pycurl
  8. import re
  9. #target = sys.argv[1];
  10.  
  11. print  "#=================================================="
  12. print  "# this is a script to check iidrn.com             ="
  13. print  "# for DDOS update                                 ="
  14. print  "# more to come, shoutz to d35m0nd142 for this one ="
  15. print  "# Editing my code doesn't make you the cod3r      ="
  16. print  "#                                                 ="
  17. print  "#=================================================="
  18.  
  19. def usage():
  20.     print "###############################"
  21.     print "# there's no usage ...dayum   #"
  22.     print "# shoutz to LulzSecurity      #"
  23.     print "# Coded by LulzTigre          #"
  24.     print "# Thank You BlkPh0x           #"
  25.     print "###############################"
  26.    
  27.  
  28. print" ....................... "
  29. print"........................ "
  30. print " "
  31. print "do you need to see the goddamn usage"
  32. usag3 = raw_input("Y/n >>> ")
  33.  
  34.  
  35. if usag3 == "Y" or "y":
  36.     usage()
  37. elif usag3 == "n" or "N":
  38.     os.system('clear')
  39.    
  40. print "are you ready to scan"
  41. scan = raw_input("Y/n >> ")
  42. time.sleep(2.00)
  43.  
  44. print " Please if you are selecting isitdownrightnow.com as host"
  45. print " do not add 'www' in front of target.com "
  46. time.sleep(1.17)
  47. os.system('clear')
  48.  
  49. if scan == "Y" or "y":
  50.     print "Enter your Target "
  51.     target = raw_input("> " )
  52.     target = target
  53.    
  54. print "select host to use"
  55. host = raw_input("isitdownrightnow('iidrn')/Downforeveryoneorjustme('isup.me') >> ")
  56.  
  57. if host == "iidrn":
  58.     url_host1 = "http://www.isitdownrightnow.com/check.php?domain=" + target
  59.     page = requests.get(url_host1)
  60.     print "fetching data and wasting time on purpose"
  61.     print "3"
  62.     time.sleep(1.00)
  63.     print "2"
  64.     time.sleep(0.59)
  65.     print "1"
  66.     time.sleep(0.14)
  67.     t3xt = (page.text.encode('utf8'))
  68.     t3xt = re.findall(r'<span class="upicon">([^<]*)</span>', t3xt)
  69.     print target + " is " + t3xt[0]
  70.  
  71. elif host == "isup.me":
  72.     url_host2 = "http://downforeveryoneorjustme.com/" + target
  73.     page = requests.get(url_host2)
  74.     print "fetching data and wasting time on purpose"
  75.     print "3"
  76.     time.sleep(1.00)
  77.     print "2"
  78.     time.sleep(0.59)
  79.     print "1"
  80.     time.sleep(0.14)
  81.     t3xt = (page.text.encode('utf8'))
  82.     t3xt = re.findall(r'</span>([^<]*)\n<p>', t3xt)
  83.     print t3xt
  84.    
  85. else:
  86.     print "please enter something valid"
  87.     sys.exit()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement