GithubHelp home page GithubHelp logo

rkinlen / msrewards Goto Github PK

View Code? Open in Web Editor NEW

This project forked from piair338/msrewards

0.0 0.0 0.0 570 KB

A Microsoft reward automator.

Home Page: https://www.microsoft.com/fr-fr/rewards

License: GNU General Public License v3.0

Python 98.03% Dockerfile 1.97%

msrewards's Introduction

MsReward

A Microsoft reward automator, designed to work headless on any x64 server.
Using a discord webhook or SQL to log points everyday.
Using Selenium and Geckodriver.

Installation instruction

Make sure your contry is supported by MS Rewards.
Create 5 Microsoft accounts, that the programm will use.

Linux

Using docker (Recommended)

Make sure that docker and git are installed.
Clone the repository:

git clone https://github.com/piair338/MsRewards

Build the docker container:

cd MsRewards
sudo docker build -t msrewards .

Run the app for the first time to configure it.

sudo docker run -ti --name MsRewards msrewards

Then to run it everyday, you can use cron and add the line:

10 10 * * * sudo docker start MsRewards

not using docker (not recommended)

This is only a recommandation and shouldn't be used !

sudo apt-get install xdg-utils libdbus-glib-1-2 bzip2 wfrench tigervnc-standalone-server xvnc -y

curl -sSLO https://download-installer.cdn.mozilla.net/pub/firefox/releases/91.9.1esr/linux-x86_64/en-US/firefox-91.9.1esr.tar.bz2
tar -xjf firefox-91.9.1esr.tar.bz2
sudo mv firefox /opt/
sudo ln -s /opt/firefox/firefox /usr/bin/firefox

curl -sSLO https://github.com/mozilla/geckodriver/releases/download/v0.31.0/geckodriver-v0.31.0-linux64.tar.gz
tar zxf geckodriver-v0.31.0-linux64.tar.gz
sudo mv geckodriver /usr/bin/

rm geckodriver-v0.31.0-linux64.tar.gz
rm firefox-91.9.1esr.tar.bz2

Windows

Not yet tested, but using docker should work.

MacOS

I don't have a mac (yet) so i can't test, but again, install docker and follow the linux installation.

Database

To use the database, I recommend MySql, Create a database with the name MsRewards and create a table daily, like the one from the image : B96F2F6D-7257-4F12-BFA7-0BEC3FB72993

Options

TODO

Flags

Override

Enable you to choose what action to perform on which account. Linux only

python3 main.py -o

VNC

Enble a vnc to a specific port

python3 main.py -v 1234

config

Tell the programm which config to use.
Default to ./user_data/config.cfg
Putting only a number is equivalent to ./user_data/config[number].cfg

python3 main.py -c 12

Add points to database

Add points to the database using the credentials provided in the default config file.
argument : file with a list of account,points

python3 main.py -a file.csv

msrewards's People

Contributors

augustin64 avatar piair338 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.