Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So, I've got a situation with a malicious page. First off, Chrome will not let me visit the page at all. With firefox, it blocks me, but will allow me to ignore the message.

I don't want to visit the page though. But I need to figure out what's wrong with it.

Is it possible to download the HTML source code from the page without viewing it?

EDIT: I'm kinda wondering if there's a site that can do it. I've seen indirect page renderers that view and render the page - wasn't sure if there's a site that can provide a page source downloader. If not though, that's fine - however I can get it will suit me.

share|improve this question
This is possible if you have FTP access or access to the files on the server. – Ryan Apr 16 '14 at 15:47
What operating system? – slhck Apr 16 '14 at 15:51
I'm using windows. – AUTO Apr 16 '14 at 15:52
up vote 3 down vote accepted

You can use wget or curl, if you're running a *NIX operating system then either of them will be installed already, if not then you can get Windows wget from

or curl from

You will be 'visiting' the page, but you'll only get the source code, and it won't be rendered at all meaning it's safe to view.

In response to your edit, I suppose you could use this tool -

share|improve this answer
If you're using wget you'll do something like: wget -qO- | cat With curl you can just do: curl And the output is the source – arpz Apr 16 '14 at 15:54
Sweet! Seems a little buggy - I have to refresh the page before using it again, but it seems to work.. – AUTO Apr 16 '14 at 23:16
Hm. It seemed to work for all other sites except for that one :-? - It gave me "Content-Size: 0" but I visited the page in FF (with all safety guards up), and it's still a legit page. - Anyway I did get it. – AUTO Apr 16 '14 at 23:23

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .