anonymous No title
No License Python
2021年04月02日
Copy Clone
import notification
import clipboard
import keyboard
import datetime
import calendar
import tweepy
import base64
import json
import time
import glob
import os
import sys
import re
import random
import console


"""
           ---初期設定---
   
 ①コードの貼り付けができたら自身のTwitterID入力をします。
 
      例 : ID が @Twitter_1234 の場合 
         TwitterID = "@XXXX" を
         TwitterID = "@Twitter_1234" に変更
 
 ②右上の▷を押すと、数字が出てきます、
 その数字と ①で書き込んだTwitterID の2つをDMで伝えてください。
 
 ③数字と引き換えにこちらがIDを渡しますので、AutoIDを35行目にコピーして貼り付けてください

"""

Twitter_ID = "@XXXX"

# 0000を消した後 貰ったIDを=の後にそのまま貼り付けてください
Auto_ID = 0000


"""

   ---使用設定部分---
  
   パスツイ  21:30
   ルーム番号 567
   
      の場合
     ↓↓↓↓↓↓↓↓
     
 pass_tweet_time = "30"
 room_id         = "567" 

  このように下を書き換えます。 
 ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
 
"""

pass_tweet_time = "00"
room_id         = "0000" 



"""
     ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
     ⚠️以下書き換えると動作しなくなります
   ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
"""

flag     = 0
password = ""

CK = b'eGdsMlF5TlJscFNLRWh5dFMzN1g2TTdSag=='
CKS = b'azJIbWpKS1J0TExGUjBmZnQzZW5FSnBCdGY5NUY3VURGYzluQmgxblJ2bVNwazd0S24='
AT = "837597646311178240-q8vlRy0BPcIBxngYG9ynhu1cSNqCVC3"
ATS = "cnMrSYDnMiSaqHNbxesiweHI2esGDMZHS87ugHiveAsrK"

basenumber = "0123456789"

font_item = ["⓪①②③④⑤⑥⑦⑧⑨",
             "⓿❶❷❸❹❺❻❼❽❾",
             "0123456789",
             "𝟘𝟙𝟚𝟛𝟜𝟝𝟞𝟟𝟠𝟡",]
             
itemlist1 = ["@[a-zA-Z0-9_]+",
             "[0-9]{1,2}:[0-5][0-9]",
             "[0-9]{1,2}時[0-59]分",
             "([0-9]|[0-2][0-9])時",
             "[0-5][0-9]分",
             "[1-9]{1,2}/[0-9]{1,2}",]
             
itemlist2 = [" "," ",]
	
message = {
	"no_update":"パスツイ取得中",
	"code_notification":"この数字と入力したTwitterIDをDMで伝えてください:",
	"copy_error":"Twitterリンクのコピー又はフルアクセスの許可をしてください",
	"pass_notfound":"パスワードが取得できませんでした",
	"waiting_passtweet":"からのパスツイ待機中... ",
	"success":"ID認証成功",
	"fail":"認証失敗:"
}

Xcode = ["\x207\x204\x208\x209\x400\x102",
         "207\x200\x208\x209\x400\x109" ,
         "207\x204\x208\x209\x400\x102" ,
         "207\x204\x208\x209\x400\x102" ,]

"""
  関数
"""
def login(CK,CKS,AT,ATS):
	CK = base64.b64decode(CK.decode())
	CKS = base64.b64decode(CKS.decode())
	auth = tweepy.OAuthHandler(str(CK).split("'")[1],str(CKS).split("'")[1])
	auth.set_access_token(AT,ATS)
	API = tweepy.API(auth)
	return API

def get_username():
	user_name = clipboard.get()
	if("https" in user_name):
		user_name = user_name.split("/")
		user_name = user_name[3].split("?")
		user_name = user_name[0]
		return user_name
	else:
		print(message["copy_error"])
		sys.exit()

def ACencrtrpt(a,b):
	c = a+","+str(b)
	c = base64.b64encode(c.encode())
	return c
	
def Test(c,d):
	if c == d:
		return True
	else:
		key = glob.glob("*.pwd")
		key = key[0].split(".")[0]
		print(message["code_notification"]+key)
		sys.exit()
		
def check():
	file = glob.glob("*.pwd")
	if not file:
		key = int(random.uniform(1,99))*int(random.uniform(99,999))
		key = str(key)
		with open(key+".pwd" , mode="w") as f:
			f.write("")
		notification.schedule(message["code_notification"]+key)
		print(message["code_notification"]+key)
		sys.exit()
	else:
		code = file[0].split(".")[0]
		return code
							
def tweet_filter(Tweettext):	
	for i in range(10):
		if(font_item[0][i] in Tweettext):
			Tweettext = Tweettext.replace(font_item[0][i],basenumber[i])
		for j in range(10):
			if(font_item[1][j] in Tweettext):
				Tweettext = Tweettext.replace(font_item[1][j],basenumber[j])
			for k in range(10):
				if(font_item[2][k] in Tweettext):
					Tweettext = Tweettext.replace(font_item[2][k],basenumber[k])
				for l in range(10):
					if(font_item[3][l] in Tweettext):
						Tweettext = Tweettext.replace(font_item[3][l],basenumber[l])		
	return Tweettext

def tweet_trim(tweet):
	tweet = tweet_filter(tweet)
	for i in itemlist1:
		tweet = re.sub(i,"",tweet)
		for j in itemlist2:
			tweet = tweet.replace(j,"")
	tweet = re.findall(r"\d+",tweet)
	return tweet
	
def get_time_now():
	now_time = datetime.datetime.now()
	now_time = str(now_time).split(" ")[1]
	now_time = now_time.split(":")
	now_time_minute = now_time[1]
	now_time_seconds = now_time[2].split(".")[0]
	return now_time_minute,now_time_seconds


API   = login(CK,CKS,AT,ATS) 

Check = check()
Check = ACencrtrpt(Check,Twitter_ID)
Test(Auto_ID,Check)

user_name = get_username()

print("@"+user_name+message["waiting_passtweet"])

if(pass_tweet_time == "00"):
	passTb = "59"
else:
	passTb = str(int(pass_tweet_time)-1)	
	
while True:
	now_time_minute , now_time_seconds = get_time_now()		
	if(now_time_minute == passTb and now_time_seconds == "58"):
		break	
	elif(now_time_minute == passTb and now_time_seconds == "59"):
		break
	elif(now_time_minute == pass_tweet_time):	
		break
	time.sleep(0.01)
	
while True:
	tweet = API.user_timeline(user_name,count = 1)
	for i in tweet:
		tweet = i.text
		tweet_time = i.created_at
		
	tweet_time = re.findall(r"\d+",str(tweet_time))
	tweet_time_minute = tweet_time[4]
	tweet_time_second = tweet_time[5]
		
	if(pass_tweet_time == "00"):
		pass_tweet_time_ = "59"
	else:
		pass_tweet_time_ = str(int(pass_tweet_time)-1)
		if(len(pass_tweet_time_) == 1):
			pass_tweet_time_ = "0" + pass_tweet_time_
	for i in range(57,60):
		if(pass_tweet_time_ == tweet_time_minute and str(i) == tweet_time_second):
			flag = 1	
	if(pass_tweet_time == tweet_time_minute):
		flag = 1
		
	if(flag == 1):
		break
	#else:
		#console.clear()
		#print(message["no_update"]+" ["+str(datetime.datetime.now()).split(" ")[1]+"]")
	time.sleep(0.01)

tweet = tweet_trim(tweet)

if(room_id in tweet):
	room_id_index = tweet.index(room_id)
	if(room_id_index == 0):
		password = str(tweet[1])
	elif(room_id_index == 1):
		password = str(tweet[0])
	elif(len(tweet) >= 1):
		password = str(tweet[0])
else:
	password = tweet[0]

keyboard.insert_text(password)
keyboard.insert_text("\n")
notification.schedule(password)
print("password:"+password)
import notification
import clipboard
import keyboard
import datetime
import calendar
import tweepy
import base64
import json
import time
import glob
import os
import sys
import re
import random
import console


"""
           ---初期設定---
   
 ①コードの貼り付けができたら自身のTwitterID入力をします。
 
      例 : ID が @Twitter_1234 の場合 
         TwitterID = "@XXXX" を
         TwitterID = "@Twitter_1234" に変更
 
 ②右上の▷を押すと、数字が出てきます、
 その数字と ①で書き込んだTwitterID の2つをDMで伝えてください。
 
 ③数字と引き換えにこちらがIDを渡しますので、AutoIDを35行目にコピーして貼り付けてください

"""

Twitter_ID = "@XXXX"

# 0000を消した後 貰ったIDを=の後にそのまま貼り付けてください
Auto_ID = 0000


"""

   ---使用設定部分---
  
   パスツイ  21:30
   ルーム番号 567
   
      の場合
     ↓↓↓↓↓↓↓↓
     
 pass_tweet_time = "30"
 room_id         = "567" 

  このように下を書き換えます。 
 ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
 
"""

pass_tweet_time = "00"
room_id         = "0000" 



"""
     ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
     ⚠️以下書き換えると動作しなくなります
   ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
"""

flag     = 0
password = ""

CK = b'eGdsMlF5TlJscFNLRWh5dFMzN1g2TTdSag=='
CKS = b'azJIbWpKS1J0TExGUjBmZnQzZW5FSnBCdGY5NUY3VURGYzluQmgxblJ2bVNwazd0S24='
AT = "837597646311178240-q8vlRy0BPcIBxngYG9ynhu1cSNqCVC3"
ATS = "cnMrSYDnMiSaqHNbxesiweHI2esGDMZHS87ugHiveAsrK"

basenumber = "0123456789"

font_item = ["⓪①②③④⑤⑥⑦⑧⑨",
             "⓿❶❷❸❹❺❻❼❽❾",
             "0123456789",
             "𝟘𝟙𝟚𝟛𝟜𝟝𝟞𝟟𝟠𝟡",]
             
itemlist1 = ["@[a-zA-Z0-9_]+",
             "[0-9]{1,2}:[0-5][0-9]",
             "[0-9]{1,2}時[0-59]分",
             "([0-9]|[0-2][0-9])時",
             "[0-5][0-9]分",
             "[1-9]{1,2}/[0-9]{1,2}",]
             
itemlist2 = [" "," ",]
	
message = {
	"no_update":"パスツイ取得中",
	"code_notification":"この数字と入力したTwitterIDをDMで伝えてください:",
	"copy_error":"Twitterリンクのコピー又はフルアクセスの許可をしてください",
	"pass_notfound":"パスワードが取得できませんでした",
	"waiting_passtweet":"からのパスツイ待機中... ",
	"success":"ID認証成功",
	"fail":"認証失敗:"
}

Xcode = ["\x207\x204\x208\x209\x400\x102",
         "207\x200\x208\x209\x400\x109" ,
         "207\x204\x208\x209\x400\x102" ,
         "207\x204\x208\x209\x400\x102" ,]

"""
  関数
"""
def login(CK,CKS,AT,ATS):
	CK = base64.b64decode(CK.decode())
	CKS = base64.b64decode(CKS.decode())
	auth = tweepy.OAuthHandler(str(CK).split("'")[1],str(CKS).split("'")[1])
	auth.set_access_token(AT,ATS)
	API = tweepy.API(auth)
	return API

def get_username():
	user_name = clipboard.get()
	if("https" in user_name):
		user_name = user_name.split("/")
		user_name = user_name[3].split("?")
		user_name = user_name[0]
		return user_name
	else:
		print(message["copy_error"])
		sys.exit()

def ACencrtrpt(a,b):
	c = a+","+str(b)
	c = base64.b64encode(c.encode())
	return c
	
def Test(c,d):
	if c == d:
		return True
	else:
		key = glob.glob("*.pwd")
		key = key[0].split(".")[0]
		print(message["code_notification"]+key)
		sys.exit()
		
def check():
	file = glob.glob("*.pwd")
	if not file:
		key = int(random.uniform(1,99))*int(random.uniform(99,999))
		key = str(key)
		with open(key+".pwd" , mode="w") as f:
			f.write("")
		notification.schedule(message["code_notification"]+key)
		print(message["code_notification"]+key)
		sys.exit()
	else:
		code = file[0].split(".")[0]
		return code
							
def tweet_filter(Tweettext):	
	for i in range(10):
		if(font_item[0][i] in Tweettext):
			Tweettext = Tweettext.replace(font_item[0][i],basenumber[i])
		for j in range(10):
			if(font_item[1][j] in Tweettext):
				Tweettext = Tweettext.replace(font_item[1][j],basenumber[j])
			for k in range(10):
				if(font_item[2][k] in Tweettext):
					Tweettext = Tweettext.replace(font_item[2][k],basenumber[k])
				for l in range(10):
					if(font_item[3][l] in Tweettext):
						Tweettext = Tweettext.replace(font_item[3][l],basenumber[l])		
	return Tweettext

def tweet_trim(tweet):
	tweet = tweet_filter(tweet)
	for i in itemlist1:
		tweet = re.sub(i,"",tweet)
		for j in itemlist2:
			tweet = tweet.replace(j,"")
	tweet = re.findall(r"\d+",tweet)
	return tweet
	
def get_time_now():
	now_time = datetime.datetime.now()
	now_time = str(now_time).split(" ")[1]
	now_time = now_time.split(":")
	now_time_minute = now_time[1]
	now_time_seconds = now_time[2].split(".")[0]
	return now_time_minute,now_time_seconds


API   = login(CK,CKS,AT,ATS) 

Check = check()
Check = ACencrtrpt(Check,Twitter_ID)
Test(Auto_ID,Check)

user_name = get_username()

print("@"+user_name+message["waiting_passtweet"])

if(pass_tweet_time == "00"):
	passTb = "59"
else:
	passTb = str(int(pass_tweet_time)-1)	
	
while True:
	now_time_minute , now_time_seconds = get_time_now()		
	if(now_time_minute == passTb and now_time_seconds == "58"):
		break	
	elif(now_time_minute == passTb and now_time_seconds == "59"):
		break
	elif(now_time_minute == pass_tweet_time):	
		break
	time.sleep(0.01)
	
while True:
	tweet = API.user_timeline(user_name,count = 1)
	for i in tweet:
		tweet = i.text
		tweet_time = i.created_at
		
	tweet_time = re.findall(r"\d+",str(tweet_time))
	tweet_time_minute = tweet_time[4]
	tweet_time_second = tweet_time[5]
		
	if(pass_tweet_time == "00"):
		pass_tweet_time_ = "59"
	else:
		pass_tweet_time_ = str(int(pass_tweet_time)-1)
		if(len(pass_tweet_time_) == 1):
			pass_tweet_time_ = "0" + pass_tweet_time_
	for i in range(57,60):
		if(pass_tweet_time_ == tweet_time_minute and str(i) == tweet_time_second):
			flag = 1	
	if(pass_tweet_time == tweet_time_minute):
		flag = 1
		
	if(flag == 1):
		break
	#else:
		#console.clear()
		#print(message["no_update"]+" ["+str(datetime.datetime.now()).split(" ")[1]+"]")
	time.sleep(0.01)

tweet = tweet_trim(tweet)

if(room_id in tweet):
	room_id_index = tweet.index(room_id)
	if(room_id_index == 0):
		password = str(tweet[1])
	elif(room_id_index == 1):
		password = str(tweet[0])
	elif(len(tweet) >= 1):
		password = str(tweet[0])
else:
	password = tweet[0]

keyboard.insert_text(password)
keyboard.insert_text("\n")
notification.schedule(password)
print("password:"+password)
anonymous
Anonymous
2021年04月23日
Medicines prescribing information. What side effects can this medication cause? <a href="https://pregabalinfor.top">buy lyrica online usa</a> in the USA Some about medication. Read here.
anonymous
Anonymous
2021年04月23日
Drug information leaflet. Brand names. <a href="https://topregabalin.top">where can i get generic lyrica without a prescription</a> in the USA Everything about drug. Read now.
anonymous
Anonymous
2021年04月28日
Meds prescribing information. Cautions. <a href="https://topregabalin.top">where can i get generic lyrica without insurance</a> in Canada Some information about medicines. Get here.
anonymous
Anonymous
2021年04月30日
viagra vs cialis forum <a href="https://mycialistabs.com/">tadalafil dosage</a> cialis 100mg
anonymous
Anonymous
2021年04月30日
side effects of cialis <a href="https://mycialistabs.com/">url</a> cialis after prostate surgery
anonymous
Anonymous
2021年04月30日
what is better viagra or cialis <a href="https://mycialistabs.com/">cialis not working</a> how much does cialis cost without insurance
anonymous
Anonymous
2021年05月03日
cheapest cialis 20 mg <a href="https://toptadalafiltabs.com/">order cialis online</a> how long does it take for cialis to kick in
anonymous
Anonymous
2021年05月04日
cialis 60 mg <a href="https://toptadalafiltabs.com/">cialis cheap</a> cialis versus viagra
anonymous
Anonymous
2021年05月04日
cialis before and after photos <a href="https://toptadalafiltabs.com/">cialis coupon cvs</a> cost of cialis 20mg
anonymous
Anonymous
2021年05月05日
how to write a quote in an essay <a href="https://topessaywriterfas.com/">site</a> how to write a narrative interview essay
anonymous
Anonymous
2021年05月05日
how to write an interview essay in apa format <a href="https://topessaywriterfas.com/">cheap essay writing service usa</a> how to write an essay at the last minute
anonymous
Anonymous
2021年05月06日
how to write an example essay <a href="https://topessaywriterfas.com/">creative college essays</a> how to write a best essay tips
anonymous
Anonymous
2021年05月06日
professional essay writing service in united states <a href="http://writemyessayslfd.com/">write a narrative essay</a> essay on why is community service important
anonymous
Anonymous
2021年05月07日
order an essay writing service <a href="http://writemyessayslfd.com/">writing a compare and contrast essay</a> essay examples on community service
anonymous
Anonymous
2021年05月07日
help essay writing <a href="http://writemyessayslfd.com/">admission essay writing</a> essay paper writing service
anonymous
Anonymous
2021年05月07日
200 mg viagra <a href="https://mrviagrashop.com">strongest viagra pill</a> viagra online
anonymous
Anonymous
2021年05月07日
sildenafil without prescription <a href="https://mrviagrashop.com">discount viagra</a> buy viagra cheaply
anonymous
Anonymous
2021年05月07日
cheapest viagra <a href="https://mrviagrashop.com">viagra substitute</a> viagra prescription
anonymous
Anonymous
2021年05月07日
sildenafil citrate 20 mg <a href="https://mysildenafilkr.com/">viagra canadian pharmacy ezzz</a> viagra no prescription
anonymous
Anonymous
2021年05月08日
womens viagra <a href="https://mysildenafilkr.com/">generic viagra usa</a> viagra online
anonymous
Anonymous
2021年05月08日
sildenafil cost <a href="https://mysildenafilkr.com/">generic viagra walmart</a> alternative to viagra
anonymous
Anonymous
2021年05月12日
good resume fonts <a href="http://coverletterforresumetop.com/">resume writers near me</a> list of good skills to put on a resume
anonymous
Anonymous
2021年05月12日
buy cialis online overnight shipping <a href="http://tadalafilled.com/">viagra vs cialis vs levitra</a> order cialis
anonymous
Anonymous
2021年05月12日
resume helper <a href="http://coverletterforresumetop.com/">customer service cover letter</a> resume headline
anonymous
Anonymous
2021年05月12日
cover letter to whom it may concern <a href="http://coverletterforresumetop.com/">entry level resume writing</a> help desk resume
anonymous
Anonymous
2021年05月12日
cialis price <a href="http://tadalafilled.com/">cialis information</a> cialis strength
anonymous
Anonymous
2021年05月13日
cialis manufacturer <a href="http://tadalafilled.com/">tadalafil</a> does cialis expire
anonymous
Anonymous
2021年05月13日
resume professional summary <a href="https://writingacoverletteronline.com/">resume writing services prices</a> real estate agent resume
anonymous
Anonymous
2021年05月13日
restaurant resume <a href="https://writingacoverletteronline.com/">military resume</a> college freshman resume
anonymous
Anonymous
2021年05月13日
resume parser <a href="https://writingacoverletteronline.com/">technical writer resume</a> business cover letter
anonymous
Anonymous
2021年05月14日
viagra for men <a href="https://edviagramaster.net/">sildenafil 50mg</a> viagra substitute
anonymous
Anonymous
2021年05月14日
female viagra walmart <a href="https://edviagramaster.net/">viagra price</a> hims sildenafil
anonymous
Anonymous
2021年05月14日
sildenafil generic price <a href="https://edviagramaster.net/">walgreens viagra</a> cheap generic viagra
anonymous
Anonymous
2021年05月15日
teva sildenafil <a href="https://sildenafilviagratop.com">cheap viagra online</a> sildenafil 100mg online
anonymous
Anonymous
2021年05月15日
cialis price <a href="https://cialisortadalafil.com/">cialis vs viagra</a> cialis 80 mg dosage
anonymous
Anonymous
2021年05月16日
cialis 100mg <a href="https://cialisortadalafil.com/">how long does cialis take to work</a> purchase cialis on line
anonymous
Anonymous
2021年05月16日
female viagra cvs <a href="https://sildenafilviagratop.com">viagra jokes</a> sildenafil 20 mg online
anonymous
Anonymous
2021年05月16日
cialis drug <a href="https://cialisortadalafil.com/">cialis generic timeline</a> cialis and bph
anonymous
Anonymous
2021年05月16日
viagra canadian pharmacy ezzz <a href="https://sildenafilviagratop.com">buy viagra</a> sildenafil citrate 20 mg
anonymous
Anonymous
2021年05月17日
buy cialis online <a href="https://topcialistabs.com/">cialis for daily use cost</a> cialis tablet
anonymous
Anonymous
2021年05月17日
cialis logo <a href="https://topcialistabs.com/">canadian cialis</a> free cialis
anonymous
Anonymous
2021年05月17日
coupons for cialis <a href="https://topcialistabs.com/">levitra vs cialis</a> cialis mexico
anonymous
Anonymous
2021年06月01日
Drug information sheet. Generic Name. <a href="https://toradol4u.top">toradol tablets</a> in the USA Best trends of medicine. Read here.
Output