Skip to content

ajoslin103/office-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 
ย 
ย 

Repository files navigation

It's a Cookbook !!

This repo holds code to help people authenticate Office 2019 on older macs (office 2019 was deprecated and authentication servers have changed)

Reference this Gist to get the mitproxy up and running with certificates: https://gist.github.com/rafaelfonte/56b9fb80daed8c586433e82859ccb876

1. required: your certs are installed and trusted, and you have run the mitproxy tool from the terminal ๐Ÿ‘
2. if itโ€™s still open, close the mitproxy tool: hit ctrl-c, and answer the question with `y`
3. note the command that you used to run the mitproxy tool - you will need it to update the script
4. start a new text file by typing this command `cat > office-auth.sh` and hitting return
5. use copy and paste to fill the file with the whole office-auth.sh script, then hit return, and hit ctrl-d to close the file
6. check your work by typing `ls -l office-auth.sh` and hit return 
7. confirm the output something like this: steve$ -rw-r--r--  1 steve  staff  1157 20 Jan 14:07 office-auth.sh
8. make the script executable like this: `chmod 755 office-auth.sh` (there will be no output)
9. confirm the output added xโ€™s like this: steve$ -rwxr-xr-x  1 steve  staff  1157 20 Jan 14:07 office-auth.sh
10. type `pwd` and hit return - this should help in creating an absolute path to the the mitproxy tool
11. update that path in the top of the script and save your changes
12. to confirm: paste the absolute path into the terminal and hit return - the mitproxy tool should open

๐Ÿ‘ ok, if you feel good at this point then we are going to run the script with ./office-auth.sh

This is what we will do with the script:

1. confirm you are logged into your MS365 account
2. authenticate the script, so we can turn the proxy on and off
3. configure a filter in the mitproxy tool to reduce confusion
4. copy the authentication URL to your clipboard so we can clean it
5. with the cleaned url complete the authentication to get an url with a token
6. configure an intercept into the mitproxy tool to add the token url to the request
7. complete activation in the product

NOTE: the script will take care of turning the proxy on and off as needed, cleaning and presenting the urls for you to copy and paste, and will prompt you when you need to take the next step

๐Ÿ‘ congrats!! we are now ready to run everything and do the task of authentication. Together we will use the proxy and attempt to activate the software, the script will prompt you so you know when to do what ๐Ÿ‘

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages