Skip to content

ankanch/HackRunningGo-SC

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

51 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

HackRunningGo-SC

PC can run without legs. 😎

Description

This python script can help you to add Running Records for your personal information. And the running route is so reasonable because we change others running route and recode.

Declaration

This project is not for profit, so our organization choose opensource for it. We hope our school to make a better app, it includes encrypted transmission information, use tokens for authentication, irreversible encryption account password and more secure network interface. We sincerely hope that the school software technology is getting better and better, and it is not like this. πŸ˜“

So if you are like a πŸ’©, we will fuck it. Thx.

Screenshot

Operating environment

You need to install python 2.7. And we recommend you to use terminal or bash in Linux, item in macOS and powershell in Windows.

Dependencies

  1. requests(A HTTP library for python)

About app.conf

We use json string to configure this app. And notice that every time you modifed device_model, mac_address or imei, you need reset customDeviceId and deviceId to a empty string. The application will re-caculate it.

  1. device_model: The phone's model you want to use to upload your record.
  2. mac_address: The phone's mac address you want to use to upload your record.
  3. imei: The phone's imei you want to use to upload your record.
  4. startLatLng: We use it to get test points like a seed. You better change it to the geo coordinate of your school.

Flow

1. Clone these repo(need git installed) or download the zip.

You need to deploy environment.

git clone https://github.com/HackSwjtu/HackRunningGo-SC.git 
cd HackRunningGo-SC

2. Input your login id and password

Write your profile id and password to user.data.

bash \[id] [password] >> user.data
cat user.data

e.g

3. Update running route static data. (optional)

You can run following command code to update the static running route data. It will update these files: route.data and tp.data.

python updateRoutes.py

4. Let's run! Hacking!

Run HaRunGo.py, and be happy!

python HaRunGo.py

MIT License

Copyright (c) 2016 Hack Swjtu

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

About

πŸ… PC can run without legs. 😎

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%