-
Notifications
You must be signed in to change notification settings - Fork 8
Access cloudlab webconsole from commandline (Linux)
arkivm edited this page Aug 12, 2019
·
2 revisions
-
Install Cookie quick manager addon for firefox (or any similar addon that supports viewing cookies)
-
Login to cloudlab and view cookies under cloudlab.us tab
- We need four cookies that would serve as login information
MyEmailCookie NewHashCookie NewLoginCookie NewMyUidCookie
- We need four cookies that would serve as login information
-
flatten the cookies under
.www.cloudlab.usaskey=valuepairsMyEmailCookie=login%40email.com; NewHashCookie=zzz; NewMyUidCookie=yyy; NewMyUidCookie=xxx; -
Click console log from clouldlab web interface, wait for a few seconds to get the new url on the tab where console log is loading. It should be in this format
https://www.emulab.net/spewconlog.php3?node_id=pc815&key=xyz
- Use curl and pass these cookies to access console log
curl -s -o console.log --cookie "MyEmailCookie=login%40email.com; NewHashCookie=zzz; NewMyUidCookie=yyy; NewMyUidCookie=xxx;" https://www.emulab.net/spewconlog.php3?node_id=pc815&key=xyz