• Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Just suppose..

ThisAndThat

Nervous Newbie
Joined
Mar 31, 2006
Messages
14
Likes received
0
Thanks received
0
..that I need to read a website but my browser does not run javaScript (as it is a corporate blocked/locked down).

However, I do have a webserver that can run PERL. So, stupid question and I'm sure there is an easy answer somewhere but what I need to do is have a webpage on my server, running a PERL script (perhaps) that allows me to remotely access the second website via my own server. So, my server will read the pages and present it to me in plain vanilla HTML - right?

It's been a while since I did this kind of thing so just being lazy really.

Any ideas or hints please?

Thanks
 
..that I need to read a website but my browser does not run javaScript (as it is a corporate blocked/locked down).

However, I do have a webserver that can run PERL. So, stupid question and I'm sure there is an easy answer somewhere but what I need to do is have a webpage on my server, running a PERL script (perhaps) that allows me to remotely access the second website via my own server. So, my server will read the pages and present it to me in plain vanilla HTML - right?

It's been a while since I did this kind of thing so just being lazy really.

Any ideas or hints please?

Thanks


I've written just this very thing for the very same reason (I wont give out the URL cos people will use it and my server will die)

I GET the webpage given by the URL passed in as a parameter
I parse it out and insert the base URL into things like images, css, JS includes file SRCs
I change links in the HTML to pass via my script

It doesn't catch everything, and some javascript will still break due to the lax way it's written, but it's not that hard, and will get past your firewall restrictions UNTIL the nosy admin blacklists your site too.
 
FFS

Are you looking for a quick way to jump the contract termination queues?

Why not just get a 3G dongle/card for a laptop or similar and bypass the clients network completely?

Safe and easy.
 
FFS
Are you looking for a quick way to jump the contract termination queues?

Well... a lot of firewall restrictions are not for any good reason and use a big vague brush to curtail your browsing. ClientCo at the moment allows Google Maps, but not the CSS file for that page.

Why not just get a 3G dongle/card for a laptop or similar and bypass the clients network completely?
Safe and easy.

That's true, and they're dead cheap these days. Unfortunately a lot of palces, especially MoD clients, don't allow you to bring or use your own tech on site.
 
Thanks the BigYin for the ideas. Yes on certain sites you are not allowed any mobiles switched on, so that dongle idea is not poss.

I will have a play later (at home).

Cheers
 
Well... a lot of firewall restrictions are not for any good reason and use a big vague brush to curtail your browsing. ClientCo at the moment allows Google Maps, but not the CSS file for that page.



That's true, and they're dead cheap these days. Unfortunately a lot of palces, especially MoD clients, don't allow you to bring or use your own tech on site.

Doesn't matter if you think there is no good reason, the client obviously does other wise they wouldn't have implemented it. Deliberately bypassing client security measures is one of the best ways going to get yourself escorted off site on the spot. Not to mention that if you do manage it and end up causing a real problem such as a trojan infection or other compromise of client systems you could be looking at some serious liability issues. Not worth it.
 
Deliberately bypassing client security measures is one of the best ways going to get yourself escorted off site on the spot.

If I was abusing it to download torrents or other binaries or something, fair enough, I'd deserve it. Checking my webmail headers.... I'll take my chances. They need to blacklist protocols not domains.
 
If I was abusing it to download torrents or other binaries or something, fair enough, I'd deserve it. Checking my webmail headers.... I'll take my chances. They need to blacklist protocols not domains.

Get a blackberry.
 

Advertisers

Back
Top