Guest User

Untitled

a guest
Jun 11th, 2026
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.21 KB | None | 0 0
  1. import requests
  2. from requests.structures import CaseInsensitiveDict
  3.  
  4. # make headers
  5. def getHeaders(session):
  6. headers = CaseInsensitiveDict()
  7. headers["cookie"] = "JSESSIONID=" + session + ";"
  8. return headers
  9.  
  10. # fake verify view
  11. def verify(host, session):
  12. while (True):
  13. base = "https://www."
  14. tail = "/aioverify.html?idVideo=maKl5kVcUbo"
  15. url = base + host + tail
  16. resp = requests.get(url, headers=getHeaders(session))
  17.  
  18. views = resp.text.split('views":')[1].split(",")[0]
  19. finished = resp.text.split('finished":')[1].split(",")[0]
  20. retry = resp.text.split('retry":')[1].split(",")[0]
  21. if (finished == "true" or finished == "false" and retry == "true"):
  22. print("[+] Subscription Activated")
  23. break
  24. else:
  25. print("[-] Views: " + views)
  26.  
  27.  
  28. # activate the subscription
  29. def finish(host, session):
  30. base = "https://www."
  31. tail = "/account.html?sub=true"
  32. url = base + host + tail
  33. resp = requests.get(url, headers=getHeaders(session))
  34. subs = resp.text.split("id='will-get-subs'>")[2].split("</b>")[0].strip()
  35. print("You Will Get " + subs + " Subscribers")
  36.  
  37. # login into the application
  38. def login(host, username, password):
  39. base = "https://www."
  40. tail = "/signinclick.html"
  41. data = "?email=" + username + "&idchannel=" + password + "&isSignIn=true&name="
  42. url = base + host + tail + data
  43. resp = requests.get(url)
  44. loggedIn = resp.text.split('ok":')[1].split(",")[0]
  45. if (loggedIn == "true"):
  46. print("[+] Logged In")
  47. else:
  48. print("[-] Login Failed")
  49. # return the JSESSIONID cookie
  50. return resp.headers["Set-Cookie"].split("JSESSIONID=")[1].split(";")[0]
  51.  
  52. # choose the plan
  53. def choosePlan(host, session, planId):
  54. base = "https://www."
  55. tail = "/aiomarket.html?idPlan=" + str(planId)
  56. url = base + host + tail
  57. log = requests.get(url, headers=getHeaders(session))
  58. if (log.status_code == 200):
  59. print("[+] Activated")
  60. else:
  61. print("[-] Failed")
  62.  
  63.  
  64.  
  65. # the is the starting point of everthing
  66. def main():
  67. # make pairs of hosts, usernames, passwords and channels
  68. hosts = {"1": "subscribers.video", "2": "submenow.com"}
  69. usernames = {"1": "YOUR-EMAIL-FOR-ACCOUNT-ONE", "2": "YOUR-EMAIL-FOR-ACCOUNT-TWO"}
  70. passwords = {"1": "YOUR-CHANNEL-ID-ONE", "2": "YOUR-CHANNEL-ID-TWO"}
  71. channels = {"1": "YOUR-CHANNEL-NAME-ONE", "2": "YOUR-CHANNEL-NAME-TWO"}
  72.  
  73. # menu options to choose a host and a channel
  74. for id, host in hosts.items():
  75. print("Press " + str(id) + " For ", host)
  76. hostId = input("Host Id: ")
  77. host = hosts[hostId]
  78. for id, channel in channels.items():
  79. print("Press " + str(id) + " For ", channel)
  80. channelId = input("Channel Id: ")
  81.  
  82. # do login
  83. session = login(host, usernames[channelId], passwords[channelId])
  84.  
  85. # choose the plan
  86. if (hostId == "1"):
  87. choosePlan(host, session, "6")
  88. verify(host, session, 29)
  89. if (hostId == "2"):
  90. choosePlan(host, session, "8")
  91. verify(host, session, 79)
  92.  
  93.  
  94. # finish the subscription
  95. finish(host, session)
  96.  
  97. # now run the main function
  98. main()
  99.  
Advertisement
Add Comment
Please, Sign In to add comment