the python auth document links are down
I just made this thread to preserve them!
Original thread by @Chiros AKA @ForlaxPy
I just made this thread to preserve them!
Original thread by @Chiros AKA @ForlaxPy
[-] For Python Based Apps:
here is the authentication code to be used:
Auth.py: https://github.com/ctoANG/Cracked.to-Python-Auth
so just make an auth.py in the same folder as your main.py code and add this in top of your main.py code:
```
import requests
import json
import uuid
import os
from Auth import ctoauth
```
After that call `ctoauth()` on the start of your program and here is it linked with our auth system. Please keep in mind that you gonna need to install few libraries using pip to get our code working, also as you can see the code is adapted for python 3+ Versions, so if you're using Python 2+ Versions you might need to tweak it a bit to work correctly.
It's checking if the user is upgraded or not too, if you wanna get rid of that then just remove all the codes between `Upgraded users check starts here` and `Upgraded users check ends here`
Example code
================
import requests
import json
import uuid
import os
from Auth import ctoauth
ctoauth()
print("Hello World")
here is the authentication code to be used:
Auth.py: https://github.com/ctoANG/Cracked.to-Python-Auth
so just make an auth.py in the same folder as your main.py code and add this in top of your main.py code:
```
import requests
import json
import uuid
import os
from Auth import ctoauth
```
After that call `ctoauth()` on the start of your program and here is it linked with our auth system. Please keep in mind that you gonna need to install few libraries using pip to get our code working, also as you can see the code is adapted for python 3+ Versions, so if you're using Python 2+ Versions you might need to tweak it a bit to work correctly.
It's checking if the user is upgraded or not too, if you wanna get rid of that then just remove all the codes between `Upgraded users check starts here` and `Upgraded users check ends here`
Example code
================
import requests
import json
import uuid
import os
from Auth import ctoauth
ctoauth()
print("Hello World")