Exemplo n.º 1
0
def start_private_show(access_token,ltype,loc):
	location.set_location(loc)
	print '[+] Token:',access_token[:40]+'...'
	prot1=logic.gen_first_data(access_token,ltype)
	local_ses=api.get_rpc_server(access_token,prot1)
	new_rcp_point='https://%s/rpc'%(local_ses.rpc_server,)
	work_stop(local_ses,new_rcp_point)
Exemplo n.º 2
0
def start_private_show(access_token, ltype, loc):
    location.set_location(loc)
    print '[+] Token:', access_token[:40] + '...'
    prot1 = logic.gen_first_data(access_token, ltype)
    local_ses = api.get_rpc_server(access_token, prot1)
    new_rcp_point = 'https://%s/rpc' % (local_ses.rpc_server, )
    while (True):
        work_stop(local_ses, new_rcp_point)
Exemplo n.º 3
0
def start_private_show(access_token,ltype):
	print '[+] Token:',access_token[:40]+'...'
	prot1=logic.gen_first_data(access_token)
	local_ses=api.get_rpc_server(access_token,prot1)
	while(local_ses is not None):
		print '[+] starting show'
		for t in stops.get_static():
			#small_show(t,access_token,local_ses)
			print '[!] farming pokestop..'
			new_rcp_point='https://%s/rpc'%(local_ses.rpc_server,)
			work_with_stops(t,local_ses.ses,new_rcp_point)
Exemplo n.º 4
0
def start():
    global argsStored
    while True:
        if accessToken is None or globalltype is None:
            refresh_access()
        location.set_location(argsStored.location)
        print '[+] Token:', accessToken[:40] + '...'
        prot1 = logic.gen_first_data(accessToken, globalltype)
        local_ses = api.get_rpc_server(accessToken, prot1)
        new_rcp_point = 'https://%s/rpc' % (local_ses.rpc_server,)
        work_stop(local_ses, new_rcp_point)
Exemplo n.º 5
0
def start_private_show(access_token,ltype,loc):
	location.set_location(loc)
	print '[+] Token:',access_token[:40]+'...'
	prot1=logic.gen_first_data(access_token,ltype)
	local_ses=api.get_rpc_server(access_token,prot1)
	new_rcp_point='https://%s/rpc'%(local_ses.rpc_server,)
	while(True):
		proto_all=logic.all_stops(local_ses)
		api.use_api(new_rcp_point,proto_all)
		#walk_circle(120)
		walk_random()
		time.sleep(2)
		work_stop(local_ses,new_rcp_point)
Exemplo n.º 6
0
def start_private_show(access_token,ltype,loc):
	#try:
	location.set_location(loc)
	print '[+] Token:',access_token[:40]+'...'
	prot1=logic.gen_first_data(access_token,ltype)
	local_ses=api.get_rpc_server(access_token,prot1)
	try:
		new_rcp_point='https://%s/rpc'%(local_ses.rpc_server,)
	except:
		print '[-] rpc bad'
		start_private_show(access_token,ltype,loc)
	#while(True):
	work_stop(local_ses,new_rcp_point)
Exemplo n.º 7
0
def start_private_show(access_token, ltype, loc):
    #try:
    location.set_location(loc)
    print '[+] Token:', access_token[:40] + '...'
    prot1 = logic.gen_first_data(access_token, ltype)
    local_ses = api.get_rpc_server(access_token, prot1)
    try:
        new_rcp_point = 'https://%s/rpc' % (local_ses.rpc_server, )
    except:
        print '[-] rpc bad'
        start_private_show(access_token, ltype, loc)
    if try_item:
        work_stop(local_ses, new_rcp_point)
    else:
        while (True):
            work_stop(local_ses, new_rcp_point)
Exemplo n.º 8
0
def start_private_show(access_token,ltype,loc):
	location.set_location(getLocation())
	print '[+] Token:',access_token[:40]+'...'
	prot1=logic.gen_first_data(access_token,ltype)
	local_ses=api.get_rpc_server(access_token,prot1)
	new_rcp_point='https://%s/rpc'%(local_ses.rpc_server,)

	global lT
	global locat
	global aT
	aT = access_token
	lT = ltype
	locat = loc

	while(Success):
		work_stop(local_ses,new_rcp_point)
Exemplo n.º 9
0
def start_private_show(access_token,ltype):
	print '[+] Token:',access_token[:40]+'...'
	prot1=logic.gen_first_data(access_token)
	new_rcp_point,ses= api.get_rpc_server(access_token,prot1)
	print new_rcp_point
	login_data=api.use_api(new_rcp_point,prot1)
	#cis= api.get_session(login_data)
	if ses is not None:
		for t in stops.get_static():
			print '[!] farming pokestop..'
			#walking=logic.simulate_walking(ses,t)
			#api.use_api(new_rcp_point,walking)
			#time.sleep(1)
			Kinder_pre=logic.gen_stop_data_pre(ses,t)
			api.use_api(new_rcp_point,Kinder_pre)
			Kinder= logic.gen_stop_data(ses,t)
			api.use_api(new_rcp_point,Kinder)
			time.sleep(3)
Exemplo n.º 10
0
def start_private_show(access_token,ltype):
	print '[+] Token:',access_token[:40]+'...'
	prot1=logic.gen_first_data(access_token)
	new_api= api.get_rpc_server(access_token,prot1)
	login_data=api.use_api(new_api,prot1)
	cis= api.get_session(login_data)