Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

BoYanZh/JI-Auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JI Auth

Canvas token and JOJ SID are within reach in CLI.

Getting Started

Install

$ pip3 install ji-auth
$ ji-auth --help
Usage: __main__.py [OPTIONS] COMMAND [ARGS]...

Options:
  --version  Show version.
  --help     Show this message and exit.

Commands:
  canvas  Get a newly generated token from Canvas.
  joj     Get the SID from JOJ cookies.

Example

$ ji-auth canvas

    :;;
    *%%:                                :;
    ?%%                                 *?:
    %%?                                 ;;
   :%%*
   :%%+       :+?**;       :+*+;:+;    :+;      :+?%??:
   +%%;      *%?**??;     ;%%**%?%*    ;%+     +%%%%%%*
   *%%:     +%+   :%?    :??:  :*%*    +%:    ;%%*:  ::
   ?%%     ;%?     ?%    +%+    ;%*    *%     *%%;
   %%?     *?;     *%:   ?%:    ;%*    ?%     %%%
  :%%+     %%      ?%:   ?%     :%*    %?     %%?
  :S%;     %?      %%    %%:    ;%*   :%+     %%%
  +%%:     %?     +%*    ?%;    ;%*   ;%+     %%%;
  *%%      %%:   :%?     +%*:   ?%*   +%:     +%%*:
  ?%%      ;??;;;?%;     :%?*:*%+%*   ?S       *%%%*+?*
  %%?       +%%%%*:        %%%%;;%*   ??       :*%%?%%+
              ::             :  :%*               :;:
                                ;%*
                                ;%*
                                :%*

Please enter the shown captcha: loqic
Please enter jaccount username: whoami
Please enter password:
Here is your token:
N12R8Y5lBlWRDbfA4aY585wVss4d94rcZIrfaL5uYbTvXvhEcn5gmcI90HkwBmT0
$ ji-auth joj

  ;+??++:      :++*+:         ;+*?*;        ;+*+;
  ;???*?:     +?*+***;       +?%??%?*      **+**?:
   ;?;       +?;   :??      *%?:  ;??+    +*;   %+
   +?:      :?*     *?     ;??;   :???   :%+    ??
   ??       +?:     *?:    ???     ???   +?+;;:;?*
   ??       ??      *%     ?%*    :???   ??*?%???+
  :?+       %?      %?    :??+    ;??+   ??
  :?+       ??     ;?;    :??*    *??    ??
  ;?;       *?     ?*      ?%?   :?%+    *?;
  ;?*;:     ;?*;:;*?;      ;??*++??+     ;??; ::;
   +??;      ;??*?*:        ;*%??*;       ;*????+
    ::          :              :             :

Please enter the shown captcha: tooe
Please enter jaccount username: whoami
Please enter password:
Here is your SID:
f81e97be727da18e388d6fa53782e00a74d907ab75e20b39973392f0fad480c6

Acknowledgements