def main(): print_success("Modules loaded!\n") ret = ask_question("Would you like to use a proxy? [Y / N]") proxies = [] if ret == "Y" or ret == "y": ret = ask_question( "Would you like to collect your proxies from the internet? [Y / N]" ) if ret == "Y" or ret == "y": print_status( "Gathering proxy from the Internet! This may take a while.\n") proxies = find_proxies() elif ret == "N" or ret == "n": print_status("Please have a maximum of 50 proxies in a file!") file_path = ask_question("Enter the path to your proxy list") proxies = parse_proxy_file(file_path) else: print_error("Answer not understood, exiting!") exit() print_success(str(len(proxies)) + " Number of proxy found!\n") elif ret == "N" or ret == "n": pass else: print_error("Answer not understood, exiting!") exit() print("") print_status("1 - Report Profile.") print_status("2 - Report a video.") report_choice = ask_question("Please select the complaint method") print("") if report_choice.isdigit() == False: print_error("The answer is not understood.") exit(0) if int(report_choice) > 2 or int(report_choice) == 0: print_error("The answer is not understood.") exit(0) if int(report_choice) == 1: profile_attack(proxies) elif int(report_choice) == 2: video_attack(proxies)
def main(): print_success("Modüller yüklendi!\n") ret = ask_question("Proxy kullanmak ister misiniz? [E/H]") proxies = [] if (ret == "E" or ret == "e"): ret = ask_question("Proxylerinizi internetten toplamak ister misiniz? [E/H]") if (ret == "E" or ret == "e"): print_status("Internetten proxy toplanıyor! Bu biraz uzun sürebilir.\n") proxies = find_proxies() elif (ret == "H" or ret == "h"): print_status("Lütfen bir dosyada maksimum 50 proxy bulunsun!") file_path = ask_question("Proxy listenizin yolunu giriniz") proxies = parse_proxy_file(file_path) else: print_error("Cevap anlaşılamadı, çıkılıyor!") exit() print_success(str(len(proxies)) + " Adet proxy bulundu!\n") elif (ret == "H" or ret == "h"): pass else: print_error("Cevap anlaşılamadı, çıkılıyor!") exit() print("") print_status("1 - Profili şikayet et.") print_status("2 - Bir videoyu şikayet et.") report_choice = ask_question("Lütfen şikayet yöntemini seçin") print("") if (report_choice.isdigit() == False): print_error("Cevap anlaşılmadı.") exit(0) if (int(report_choice) > 2 or int(report_choice) == 0): print_error("Cevap anlaşılmadı.") exit(0) if (int(report_choice) == 1): profile_attack(proxies) elif (int(report_choice) == 2): video_attack(proxies)
def profile_attack(proxies): username = ask_question( "Enter the username of the person you want to report") print(Style.RESET_ALL) if len(proxies) == 0: for k in range(5): p = Process(target=profile_attack_process, args=( username, [], )) p.start() print_status(str(k + 1) + ". Transaction Opened!") return chunk = list(chunks(proxies, 10)) print("") print_status("Profile complaint attack is starting!\n") i = 1 for proxy_list in chunk: p = Process(target=profile_attack_process, args=( username, proxy_list, )) p.start() print_status(str(i + 1) + ". Transaction Opened!") if i == 2: print() i = i + 1
def video_attack(proxies): video_url = ask_question("Enter the link of the video you want to report") print(Style.RESET_ALL) if len(proxies) == 0: for k in range(5): p = Process(target=video_attack_process, args=( video_url, [], )) p.start() print_status(str(k + 1) + ". Transaction Opened!") return chunk = list(chunks(proxies, 10)) print("") print_status("Video complaint attack is on!\n") i = 1 for proxy_list in chunk: p = Process(target=video_attack_process, args=( video_url, proxy_list, )) p.start() print_status(str(i + 1) + ". Transaction Opened!") i = i + 1
def profile_attack(proxies): username = ask_question("Şikayet etmek istediğiniz kişinin kullanıcı adını giriniz") print(Style.RESET_ALL) if (len(proxies) == 0): for k in range(5): p = Process(target=profile_attack_process, args=(username, [],)) p.start() print_status(str(k + 1) + ". İşlem Açıldı!") return chunk = list(chunks(proxies, 10)) print("") print_status("Profil şikayeti saldırısı başlatılıyor!\n") i = 1 for proxy_list in chunk: p = Process(target=profile_attack_process, args=(username, proxy_list,)) p.start() print_status(str(i) + ". İşlem Açıldı!") if (k == 5): print() i = i + 1
def video_attack(proxies): video_url = ask_question("Şikayet etmek istediğiniz videonun bağlantısını girniz") print(Style.RESET_ALL) if (len(proxies) == 0): for k in range(5): p = Process(target=video_attack_process, args=(video_url, [],)) p.start() print_status(str(k + 1) + ". İşlem Açıldı!") if (k == 5): print() return chunk = list(chunks(proxies, 10)) print("") print_status("Video şikayeti saldırısı başlatılıyor!\n") i = 1 for proxy_list in chunk: p = Process(target=video_attack_process, args=(video_url, proxy_list,)) p.start() print_status(str(i) + ". İşlem Açıldı!") if (k == 5): print() i = i + 1