Re: How to check integrity of a webpage from perl
- From: usenet@xxxxxxxxxxxxxxx
- Date: Wed, 08 Aug 2007 19:56:48 -0000
On Jul 27, 12:03 pm, rmalg...@xxxxxxxxx (Ravi Malghan) wrote:
Hi: I am looking to build a script that can go to a webpage, login with a username/password, download a page, perform a checksum comparison. Two things I am trying to accomplish.
1. Is the website is up
2. Has the website been compromised.
Others have given good suggestions to grab the page content, but I
just want to point out that your test will not determine if the site
has been compromised, only if it has been defaced. A cracker might
have installed all sorts of nasty backdoors and such that would never
show up on your webpage.
If you have the ability to ssh to your webserver and check the md5sum
of the programs themselves (instead of just their output) then this is
a preferable approach.
The best way to get a good answer is to ask a good question.
David Filmer (http://DavidFilmer.com)
- Prev by Date: vim--Term::Readline::Gnu problem
- Next by Date: Re: Opening a directory for writing
- Previous by thread: Re: How to check integrity of a webpage from perl
- Next by thread: vim--Term::Readline::Gnu problem