Grab Tokilearning
Script for grabbing source code of accepted submission in Tokilearning.
-
Login to Tokilearning
-
Open Developer Console (CTRL+SHIFT+K in firefox, CTRL+SHIFT+J in chrome) and copy the following script:
c=document.cookie.split('; ');k={};for(var i=0;i<c.length;i++){p=c[i].split('=');k[p[0]]=p[1];};console.log(k['PHPSESSID'])
-
You'll get PHPSESSID of your login session. Copy that string and use it in the following command.
./gtl.sh [PHPSESSID]
-
Profit
MIT License. See LICENSE