Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 19 Apr 2014, 08:47
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
how to get free public wifi
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
technosaurus


Joined: 18 May 2008
Posts: 4134

PostPosted: Sat 27 Apr 2013, 16:16    Post subject:  how to get free public wifi  

general idea

1. view source of the "login page" - intentionally avoid anything requiring you to agree to anything

2. look for something that is "encoded" ... its usually base64 or something obvious (random characters possibly ending in a number of equal signs) after poking around, note its id= value

3. open up your browsers console on the page (not the page source) and use something along the lines of:
console.log(atob(document.getElementById("__VIEWSTATE").value))
where __VIEWSTATE is the id of the encrypted tag (at MIA) and atob may be replaced with more than 1 nesting of atob and/or btoa ... otherwise check for included .js libs like crypto.js (not likely necessary, since most programmers are lazy)

4. if successful, you should get output with some urls, one of them should grant you access - usually the one(s) that contain an outside link to another domain like google.com - try them

That's it. Enjoy your otherwise PITA wait.

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
bill

Joined: 28 May 2008
Posts: 474

PostPosted: Sun 28 Apr 2013, 04:16    Post subject: how to get free public wifi  

Hi All,Can anyone elaborate on this post by technosaurus ? It is way past
my pay grade Rolling Eyes
Back to top
View user's profile Send private message 
PaulR

Joined: 04 May 2005
Posts: 241
Location: UK

PostPosted: Fri 03 May 2013, 07:48    Post subject:  

I can understand most of it I *think*:

1 go to the log in page then right click in your browser and view source

2 look for the encoded info

3 on your browser menu find the console (eg Tools->Web Development->Error Console in SeaMonkey)

in the 'code' input area enter the command console.log(atob(document.getElementById("__VIEWSTATE").value)) or similar replacing value with the value you found in step 2

4 Click the resulting urls to see which will let you in

Or use you smartphone with unlimited internet Razz
Back to top
View user's profile Send private message 
bill

Joined: 28 May 2008
Posts: 474

PostPosted: Fri 03 May 2013, 12:37    Post subject: how to get free public wifi  

Thanks PaulR,This is exactly the "elaboration" I was looking for.I can't say I
can pull it off but at least ,this gives me a way forward.Much appreciated.
cheers
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0415s ][ Queries: 12 (0.0073s) ][ GZIP on ]