Example #1
0
def reg(x):
	p = "q&4.t9\k*mxW7j;#K-9!=Bh("
	minds_api = Minds(Profile(x,p),False)
	r = minds_api.register(x+str(random.randint(1930,1999))+"@"+random.choice(["einrot.com","teleworm.us","dayrep.com","jourrapide.com","armyspy.com","cuvox.de","fleckens.hu","gustr.com","rhyta.com","superrito.com"]))
	print(x)
	if r['status'] != "success":
		print(r)
	else:
		print("Registered: " + x + " Pass: " + p)
Example #2
0
import json
import time
from minds import Minds, Profile

minds_api = Minds(Profile("dConnect312","dC12-4"))

profile_guid = '1048152926922481673'

result = minds_api.newsfeed_channel(profile_guid)

if result['status'] == "success":
	print(len(result["activity"]))
	for i in result["activity"]:
		print("0//////////////////////////////0")
		print(i['message'])
		print()
		print(i['entity_guid'])

Example #3
0
})
data['people'].append({
	'name': 'SnoopyTheFox',
	'password': '******',
})
data['people'].append({
	'name': 'TheTritium',
	'password': '******',
})
data['people'].append({
	'name': 'themilitiacorp',
	'password': '******',
})
random.shuffle(data['people'])

minds_api = Minds(Profile("dConnect312","dC12-4"))

leadInternal = 0
leadExternal = 1

# internal = add the GUIDs of the other robots
# this allows for cross-pollination of external feeds
aguids = []
if leadInternal == 1:
	for p in data['people']:
		res = minds_api.get_channel(p['name'])
		if ('channel' in res):
			aguids.append(res['channel']['guid'])
		else:
			print('warning: missing channel info ' + p['name'])
			print(res)
Example #4
0
from flask import Flask
from minds import Minds, Profile, requires_auth

app = Flask(__name__)
minds_api = Minds()

@app.route('/<input>')
def entry(input):
    pass

#@app.route('/<guid>')
#def fetch_channel(guid):
#    channel_info = 

#@app.route('/<guid>/subscribers')
#def channel_sub(guid):
#    channel-subscbribers = 

#@app.route('/media/<guid>')

@app.route('/newsfeed/<guid>')
def newsfeed(guid):
    content = minds_api.newsfeed_single(guid,None,12)
    return str(content)

@app.route('/newsfeed/top/')
def newsfeed_main():
    timeline_main = minds_api.newsfeed_top(None,12)
    return str(timeline_main)

@app.route('/newsfeed/subscribed/')
Example #5
0
from minds import Minds, Profile
import sys

minds_api = Minds(Profile("dConnect312", "dC12-4"))

print(minds_api.get_channel("SOME_PROFILE"))

posts = minds_api.newsfeed_featured()
lead_list = []
if posts['status'] == "success":
    for i in posts["activity"]:
        c = 0
        if (c < 20 and i['type'] == "activity"):
            counter = 0
            for x in i['thumbs:up:user_guids']:
                if (counter < 15):
                    lead_list.append(x)
                    counter = counter + 1
            c = c + 1
print(lead_list)
Example #6
0
#
#  usage: python3 botScript.py [minds_username] [max bots] [sub?] [remind?] [n'th post or 0 for 10] [clean mode?]
#

from minds import Minds, Profile
import sys
import json
import time
import random
import _thread

minds_api = Minds(Profile("dConnect312","dC12-4"))

# channel guid
guid = minds_api.get_channel(sys.argv[1])['channel']['guid']

# last 10 post guid
posts = minds_api.newsfeed_channel(guid,0,15)

# set to one to disable time constraint
IGNORE_TIME = 0

# clean = bots with fresh looking accounts
# dirty = empty account bots, no bio etc
KEEP_CLEAN = 1

# GROUP BOMBS SOON
GROUP_BOMB = 0
GROUP = []
GROUP_GUIDS = []
for i in GROUP:
Example #7
0
def activate(p):

	n = p['name']
	print(" > " + n)

	minds_api = Minds(Profile(p['name'],p['password']))

	# vote up the selected post guid
	if (tenmode):
		for x in range(0,9):
			if (x < len(target_10)):
				t = target_10[x]
			else:
				continue
			
			try:
				print(" L " + n + " " + t)
				minds_api.upvote(t)
				time.sleep(random.randint(15,30))
			except Exception as e:
				print(" ? failed")
			
			# if reblogged, stop scrolling
			r = 1
			if remind == 1 and random.choice([0,1,1]) == 1 and x < 6:
				try:
					print(" R " + n + " " + t)
					minds_api.remind(t)
					r = 0
					time.sleep(random.randint(12,80))
				except Exception as e:
					print(" ? failed")
			
			# stop scrolling after a certain point
			if random.choice([r,r,r,0]) == 0:
				break
	else:
		try:
			time.sleep(random.randint(1,40))
			if random.choice([1,1,1,1,1,1,1,1]) == 1:
				print(" L " + n + " " + target_10[opm - 1])
				minds_api.upvote(target_10[opm -1])
				time.sleep(random.randint(15,45))
		except Exception as e:
			print(" ? failed")
		
		if remind == 1 and random.choice([0,0,0,1]) == 1:
			try:	
				print(" R " + n + " " + target_10[opm-1])
				minds_api.remind(target_10[opm-1])
				time.sleep(random.randint(12,120))
			except Exception as e:
				print(" ? failed")

	# potentially hit the second post and a random post
	if (random.choice([0,0,0,1]) == 1) and opm == 0 and len(target_post_2) > 2:
		if (tenmode):
			try:
				oo = random.choice(target_10)
				print(" L " + n + " " + oo)
				minds_api.upvote(oo)
			except Exception as e:
				print(" ? failed")
		else:
			try:
				print(" L " + n + " " + target_post_2)
				minds_api.upvote(target_post_2)
			except Exception as e:
				print(" ? failed")
		time.sleep(random.randint(15,50))
        
	# subscribe after all's said and done
	if random.choice([0,1,1]) == 1 and subscribe == 1:
		try:
			print(" S " + n + " " + subscribe_to)
			minds_api.subscribe(subscribe_to)
			time.sleep(random.randint(10,30))
		except Exception as e:
			print(" ? failed")

	print(" ^ " + n)
Example #8
0
from minds import Minds, Profile
import sys
import random

minds_api = Minds(Profile("dConnect312", "dC12-4"))
''' accounts '''
data = {}
data['people'] = []
data['people'].append({
    'name': 'Affrontit',
    'password': '******',
})
data['people'].append({
    'name': 'breadroll64',
    'password': '******',
})
data['people'].append({
    'name': 'PetrisPotassium',
    'password': '******',
})
data['people'].append({
    'name': 'Friendhuggrr',
    'password': "******",
})
data['people'].append({
    'name': 'Mindset5',
    'password': '******',
})
data['people'].append({
    'name': 'Spiritugenics',
    'password': "******",
Example #9
0
from minds import Minds, Profile
import sys
import time, datetime

minds_api = Minds(Profile("dConnect312", "dC12-4"))

post = minds_api.newsfeed_group(sys.argv[1])  #['activity']
print()

print(post)
print()
print(post['ownerObj']['name'] + " (@" + post['ownerObj']['username'] + ") " +
      post['guid'])
print()
print(post['message'])
print()
print(
    str(post['thumbs:up:count']) + "^ " + str(post['comments:count']) + "c " +
    str(post['reminds']) + "% T:" +
    datetime.datetime.fromtimestamp(int(post['time_created'])).strftime('%c'))
Example #10
0
# if 1, we don't actually commit API calls
testmode = 0

# add custom do not subscribes
nosub_list = []
nosub_list.append('981635836376260618')  #artopium - for being a bitch f*g
nosub_list.append('981603004186632193')  #mizantroop too much attention

counter = 0

if len(sys.argv) > 1:
    testmode = int(sys.argv[1])

print("testmode: " + str(testmode))

__GUIDS = []

# log in
while 1 == 1:
    try:
        minds_api = Minds(Profile("antwandhoward", "@@Ua9h5t9t"))
    except:
        continue
    break

self_guid = "1048152926922481673"
subscriptions = minds_api.channel_subscriptions(0, 1000)['users']
alreadySubscribed = []
for user in subscriptions:
    print(user['guid'])
Example #11
0
_thread.start_new_thread(resetStack, tuple())

counter = 0

if len(sys.argv) > 1:
    testmode = int(sys.argv[1])

print("testmode: " + str(testmode))

__GUIDS = []
__STACK = 0

# log in
while 1 == 1:
    try:
        minds_api = Minds(Profile("YOUR_USER", "YOUR_PASS"))
    except:
        continue
    break

self_guid = "1048152926922481673"
subscriptions = minds_api.channel_subscriptions(0, 1000)['users']
alreadySubscribed = []
for user in subscriptions:
    alreadySubscribed.append(user['guid'])


#
#	get new people from the subscriptions
#	of GUID
#
Example #12
0
from minds import Minds, Profile
import sys
import time, datetime

minds_api = Minds(Profile("dConnect312", "dC12-4"))

posts = minds_api.newsfeed_search(sys.argv[1])
print()
print()
print()
print()
print()
print()
print()
print()

for post in posts['entities']:
    if post['type'] != 'activity':
        break
    print()
    print(post['ownerObj']['name'] + " (@" + post['ownerObj']['username'] +
          ") " + post['guid'])
    print()
    print(post['message'])
    print()
    print(
        str(post['thumbs:up:count']) + "^ " + str(post['comments:count']) +
        "c " + str(post['reminds']) + "% T:" + datetime.datetime.fromtimestamp(
            int(post['time_created'])).strftime('%c'))
    print()
    print("===============================")
Example #13
0
def subrun(p):
    counter = 0

    print("> " + p['name'] + "...")

    while 1 == 1:
        try:
            minds_api = Minds(Profile(p['name'], p['password']))
            time.sleep(1)
        except:
            continue
        break

    # unsubscribe from other bots
    '''
	for _x_ in nosub_list:
		if testmode == 0:
			minds_api.unsubscribe(_x_)
		print(" U - " + str(_x_))
		time.sleep(random.randint(1,2))
	'''

    # load up potential profiles to browse
    guids = []
    if leadExternal != 0:
        guids = get_leads(minds_api, p['name'])
    if leadInternal != 0:
        for x in aguids:
            guids.append(x)
    guids = list(set(guids))
    random.shuffle(guids)

    # go through at least 5 profiles up to MAXIMUM
    for x in range(0, random.randint(5, maximum)):
        # let's pick a username and have it not be a teammate
        target = random.choice(guids)
        g = 20
        while leadExternal != 0 and g > 0 and target in nosub_list:
            target = random.choice(guids)
            g = g - 1
        if g == 0:
            print(" ? " + p['name'] + " could not escape bot")

        so = 0  # subscribe target's guid
        s = 0  # 1 if will sub
        sn = ""  # subscribe target's name

        # load up the newsfeed of that particular target
        pp = minds_api.newsfeed_channel(target, 1, 2)
        time.sleep(1)

        # scan their posts for things to remind, like, etc
        if pp['status'] != 'success' or pp.get('activity') == None:
            continue

        if len(pp['activity']) == 0:
            continue

        try:
            print(" :: " + p['name'] + " > " +
                  pp['activity'][0]['ownerObj']['name'])
            so = pp['activity'][0]['ownerObj']['guid']
            for _xx in pp['activity']:
                if random.choice([0, 0, 1]) == 1:
                    continue
                xx = _xx
                r = 0

                #if (xx.get('remind_object') != None) and (xx['remind_object'] != False):
                #	xx = xx['remind_object']

                if xx['ownerObj']['name'] == p['name']:
                    continue

                # only from recent past...
                epoch = time.time()
                if xx.get('guid') == None:
                    try:
                        xx['guid'] = xx['entity_guid']
                    except Exception as e:
                        print(xx)
                        break

                if xx['guid'] == False or int(
                        xx['time_created']) > epoch or int(
                            xx['time_created']) < epoch - (86400 * 10):
                    if int(xx['time_created']) < epoch - (86400 * 30):
                        skiplist['list'].append(target)
                    break

                # use sparingly for blacklisting individual posts
                if xx['guid'] in blacklist:
                    break

                # try and cancel out NSFW
                sfw = 1
                if "sexy" in xx['message'] or "#girl" in xx['message']:
                    sfw = 0
                    print("NSFW")
                    print(xx['message'])
                    break

                # like
                if random.choice([1, 1, 1, 1, 0]) == 1:
                    try:
                        minds_api.upvote(xx['guid'])
                        print(" L " + p['name'] + ' ' + xx['guid'])
                        if IGNORE_TIME == 1:
                            time.sleep(5)
                        else:
                            time.sleep(random.randint(20, 60))
                    except Exception as e:
                        print(" ? failed " + str(e))
                r = 1
                s = 1
                sn = xx['ownerObj']['name']

                # share if desired
                if remind == 1 and r == 1 and random.choice(
                    [0, 1]) == 1 and sfw == 1:
                    if testmode == 0:
                        try:
                            minds_api.remind(xx['guid'])
                            print(" | R " + p['name'] + ' ' + xx['guid'])
                            if IGNORE_TIME == 1:
                                time.sleep(5)
                            else:
                                time.sleep(random.randint(140, 600))
                            r = 0
                        except Exception as e:
                            _titty = 0
                    break

            # after three posts attempt to subscribe
            if subscribe == 1 and s == 1 and random.choice([1, 1, 1, 0]) == 1:
                try:
                    print(" | S " + p['name'] + " " + str(sn))
                    __GUIDS.append(so)

                    if testmode == 0:
                        minds_api.subscribe(so)
                        if IGNORE_TIME == 1:
                            time.sleep(5)
                        else:
                            time.sleep(random.randint(50, 600))
                    skiplist['list'].append(target)
                except Exception as e:
                    print(" ? failed " + e)
                break
        except Exception as e:
            print(" ? failed " + str(e))

    print(" ^ " + p['name'] + " done.")
    return
Example #14
0
from minds import Minds, Profile
import sys

minds_api = Minds(Profile("dConnect312", "dC12-4"))

# channel guid
guid = minds_api.get_channel(sys.argv[1])['channel']['guid']
print(guid)

# last 10 post guid
posts = minds_api.newsfeed_channel(guid, 0, 12)

if posts['status'] == "success":
    for i in posts["activity"]:
        print(" > " + str(i['guid']) + " " + str(i['message']) + " " +
              str(i['tags']))