-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathingress hack python2.py
More file actions
79 lines (58 loc) · 2.24 KB
/
ingress hack python2.py
File metadata and controls
79 lines (58 loc) · 2.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# print ( int(float (42212484) * 1000000) )
# exit(0)
import os
# os.remove('portal_list.db')
# getevent -lp /dev/input/event1
# os.system('taskkill /f /im adb.exe') ################################
from ingress_functions2 import *
import sys
try:
# unload_capsule(150)
# exit(0)
if len (sys.argv) > 1:
if sys.argv[1] == 'casa':
enviar_cmdshell("am start -a com.nianticproject.ingress -n com.nianticproject.ingress/com.nianticproject.ingress.NemesisActivity\n")
enviar_cmdshell('am start -a com.nianticproject.ingress -n com.nianticproject.ingress/com.nianticproject.ingress.NemesisActivity;am startservice --ez no_history true --ei lat 39583947 --ei long 2657041 -n com.lexa.fakegpsdonate/.FakeGPSService ;sleep 0.2; sqlite3 /data/data/com.android.providers.settings/databases/settings.db "update secure set value=0 where name=\'mock_location\'" ; am force-stop com.lexa.fakegpsdonate \n ;casa Gabor')
exit(0)
elif sys.argv[1] == 'recargar_portales':
import browser #recargar los portales
read_portal_file()
exit(0)
elif 1 == 2:
hackear( portal_actual, distancia_actual,opcion =2)
while not deployd(portal_actual):
pass
# limpieza_inventario()
# exit(0)
# getevent -lp /dev/input/event1
distancia_actual = 0
enviar_cmdshell('sleep 2.5\n')
el_portal = portal()
el_portal.select_first_portal()
el_portal.hackear(opcion =2)
while not el_portal.deployd():
pass
Hacks_efectuados=0
for x in range (300):
Hacks_efectuados+=1
if Hacks_efectuados > 15 :
Hacks_efectuados = 0
# limpieza_inventario()
# while 1:
# # portal_siguiente,distancia_siguiente = portal_siguiente_class( portal_actual ,min_lvl =0,team_distinct = 'RES',max_deployds=7)
# if el_portal.portal_siguiente_class( min_lvl =4) != 0 : break
# print('esperando nuevo hack posible...')
# enviar_cmdshell('sleep 60\n')
# distancia_actual = distancia_siguiente
el_portal.portal_siguiente_class( team_distinct = 'ENL',min_lvl =2,max_deployds=7)
el_portal.hackear(opcion =2)
while not el_portal.deployd():
pass
except KeyboardInterrupt:
print( '\nPausing... (Hit ENTER to continue, type quit to exit.)')
try:
response = input()
if response == ('quit'):
exit(0)
except KeyboardInterrupt:
print ('Resuming...2')