Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- latlan=[
- [39.2038492, 9.1539418],
- [39.1910433, 9.1166667],
- [39.2038492, 9.0793916],
- [39.2294842, 9.0793916],
- [39.2679135, 9.1166667],
- [39.2551076, 9.1539418],
- [39.2422901, 9.191117],
- [39.2294842, 9.2283921],
- [39.2166667, 9.191117],
- [39.2038492, 9.2283921],
- [39.1910433, 9.191117],
- [39.1782258, 9.1539418],
- [39.1654199, 9.1166667],
- [39.1782258, 9.0793916],
- [39.1910433, 9.0422164],
- [39.2038492, 9.0049413],
- [39.2166667, 9.0422164],
- [39.2294842, 9.0049413],
- [39.2422901, 9.0422164],
- [39.2551076, 9.0793916],
- [39.2935369, 9.1166667],
- [39.280731, 9.1539418],
- [39.2679135, 9.191117],
- [39.2551076, 9.2283921],
- [39.2422901, 9.2655673],
- [39.2294842, 9.3028424],
- [39.2166667, 9.2655673],
- [39.2038492, 9.3028424],
- [39.1910433, 9.2655673],
- [39.1782258, 9.2283921],
- [39.1654199, 9.191117],
- [39.1526024, 9.1539418],
- [39.1397965, 9.1166667],
- [39.1526024, 9.0793916],
- [39.1654199, 9.0422164],
- [39.1782258, 9.0049413],
- [39.1910433, 8.9677661],
- [39.2038492, 8.930491],
- [39.2166667, 8.9677661],
- [39.2294842, 8.930491],
- [39.2422901, 8.9677661],
- [39.2551076, 9.0049413],
- [39.2679135, 9.0422164],
- [39.280731, 9.0793916],
- [39.3191603, 9.1166667],
- [39.3063544, 9.1539418],
- [39.2935369, 9.191117],
- [39.280731, 9.2283921],
- [39.2679135, 9.2655673],
- [39.2551076, 9.3028424],
- [39.2422901, 9.3400176],
- [39.2294842, 9.3772927],
- [39.2166667, 9.3400176],
- [39.2038492, 9.3772927],
- [39.1910433, 9.3400176],
- [39.1782258, 9.3028424],
- [39.1654199, 9.2655673],
- [39.1526024, 9.2283921],
- [39.1397965, 9.191117],
- [39.126979, 9.1539418],
- [39.1141731, 9.1166667],
- [39.126979, 9.0793916],
- [39.1397965, 9.0422164],
- [39.126979, 9.0049413],
- [39.1654083, 8.9677661],
- [39.1782258, 8.930491],
- [39.1910317, 8.8933158],
- [39.2038492, 8.8560407],
- [39.2166667, 8.8933158],
- [39.2294842, 8.8560407],
- [39.2422901, 8.8933158],
- [39.2551076, 8.930491],
- [39.2679135, 8.9677661],
- [39.280731, 9.0049413],
- [39.2935369, 9.0422164],
- [39.3063544, 9.0793916]]
- CREDENTIALS=[
- ["google","accout@gmail.com","password"],
- ["google","accout+1@gmail.com","password"],
- ["google","accout+2@gmail.com","password"],
- ["google","accout+3@gmail.com","password"],
- ["google","accout+4@gmail.com","password"],
- ["google","accout+5@gmail.com","password"],
- ]
- GMAPS=[
- "key1",
- "key2",
- "key3",
- "key4",
- "key5",
- "key6",
- "key7"
- ]
- f = open('map.sh','w')
- IP="178.62.53.132"
- PORT="81"
- COUNTER=1
- CR_SIZE=len(CREDENTIALS)
- GM_SIZE=len(GMAPS)
- f.write("#!/bin/bash -e \n")
- f.write("python runserver.py -a '"+CREDENTIALS[0][0]+"' -u '"+CREDENTIALS[0][1]+"' -p '"+CREDENTIALS[0][2]+"' -l '"+str(latlan[0][0])+", "+str(latlan[0][1])+"' -st 10 -fl -H '"+IP+"' -P '"+PORT+"' -t 1 -k '"+str(GMAPS[0])+"' &\n" )
- #f.write("ping 127.0.0.1 -n 6 > nul & \n")
- latlan.pop(0)
- for ll in latlan:
- t = COUNTER % CR_SIZE
- v = COUNTER % GM_SIZE
- f.write("python runserver.py -a '"+CREDENTIALS[t][0]+"' -u '"+CREDENTIALS[t][1]+"' -p '"+CREDENTIALS[t][2]+"' -l '"+str(ll[0])+", "+str(ll[1])+"' -st 10 -ns -fl -t 1 -k '"+str(GMAPS[v])+"' &\n" )
- #f.write("ping 127.0.0.1 -n 6 > nul & \n")
- COUNTER+=1
- f.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement