Closed mance819 closed 1 year ago
can u share how u added users and pass list
it is kinda confusing cause i randomized it so from the list it doesnt grab the same names in the same order each tiome but here you go, ps -I dont do python and this was my first try :
import random
import subprocess
from subprocess import Popen, CREATE_NEW_CONSOLE
useraRresht =[]
passRresht=[]
targetAcc=[]
userList=[]
with open('targetAcc.txt') as ta:
for line in ta:
targetAcc.append(line.strip('\n'))
print (targetAcc)
with open('userat.txt') as us:
for line in us:
useraRresht.append(line.strip('\n'))
print (useraRresht)
with open('passwordet.txt') as ps:
for line in ps:
passRresht.append(line.strip('\n'))
print (passRresht)
for i in range(0,len(useraRresht)):
userList.append(i);
for i in range(0,len(useraRresht)):
val = (random.randint(0, len(userList)-1))
cmd= "instalikecombot.py -u "+ useraRresht[userList[val]]+ " -p "+ passRresht[userList[val]] +" -np 1 -c mycomments.txt -t "+ targetAcc[0]+" -br firefox"
p=subprocess.Popen(cmd,shell=True)
out,err = p.communicate()
del userList[val]
So im just experimenting around and i added a userlist/pasword list so i can have multiple accounts liking the same post. Problem is that im sure they will get banned if i keep doing it. Is there an easy way to use proxy and how would i go about implementing it ? Any resources i should look into?