Advertisement
ukesh

Untitled

Feb 23rd, 2015
318
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.04 KB | None | 0 0
  1. import socket
  2. from urlparse import urlparse
  3. import time, urllib2, re, httplib
  4. # ~Wild Security Team
  5. # #WildSec, Laughing at your Security since 2014//
  6. # M3GAHOOTZ ~ X.96
  7. print ' +#######################################################################+ '
  8. print ' # # '
  9. print ' # com_user exploit server scanner by WildSec # '
  10. print ' # Wild Security Team # '
  11. print ' # #WildSec, 2014// # '
  12. print ' # www.WildSec.net # '
  13. print ' # We Are:M3GAHOOTZ---X.96 # '
  14. print ' # # '
  15. print ' +#######################################################################+ '
  16. file2=open('founded.txt','a')
  17. def check(site) :
  18. try :
  19. w = urllib2.urlopen(site).read()
  20. except urllib2.URLError, (err):
  21. pass
  22. except socket.error , v :
  23. pass
  24. except urllib2.HTTPError, err:
  25. pass
  26. except IOError, e:
  27. pass
  28. except httplib.IncompleteRead ,e:
  29. pass
  30. else :
  31. if re.findall('Joomla! - Open Source Content Management',w) :
  32. ox= urlparse(site)
  33. print 'good ! com_user Found In => ' + ox[1]
  34. file2.write(ox[1]+'\n')
  35. def xlol(site):
  36. try:
  37. urllib2.urlopen(site)
  38. except urllib2.URLError, (err):
  39. pass
  40. except socket.error , v :
  41. pass
  42. except urllib2.HTTPError, err:
  43. pass
  44. except IOError, e:
  45. pass
  46. else:
  47. check(site)
  48. def bing_it(ip):
  49. page = 0
  50. while(page <= 200):
  51. try :
  52. bing = "http://www.bing.com/search?q=ip%3A"+ip+"+index.php?option=com_&first="+str(page)
  53. openbing = urllib2.urlopen(bing)
  54. readbing = openbing.read()
  55. findbing = re.findall('<div class="sb_tlst"><h3><a href="(.*?)" h=',readbing)
  56. for i in range(len(findbing)):
  57. x=findbing[i]
  58. global o
  59. o= urlparse(x)
  60. y = o[2].replace('/index.php','')
  61. print 'checking ' + o[1]
  62. check('http://'+o[1]+y+'/index.php?option=com_users&view=registration')
  63. check('http://'+o[1]+y+'/portal/index.php?option=com_users&view=registration')
  64. check('http://'+o[1]+y+'/joomla/index.php?option=com_users&view=registration')
  65. page = page + 10
  66. except httplib.IncompleteRead ,e:
  67. pass
  68. except urllib2.URLError, (err):
  69. pass
  70. except socket.error , v :
  71. pass
  72. except urllib2.HTTPError, err:
  73. pass
  74. except IOError, e:
  75. pass
  76. Xip = raw_input('IP :')
  77. bing_it(Xip )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement