Re: PEN Testing a everchanging realm in apache

From: Vladimir Parkhaev (vladimir@arobas.net)
Date: 05/30/02


Date: Wed, 29 May 2002 18:10:56 -0400
From: Vladimir Parkhaev <vladimir@arobas.net>
To: John_Leitch@NAI.com

Quoting John_Leitch@NAI.com (John_Leitch@NAI.com):
> Using the latest apache / ssl.
>
> I need to find a way of brute forcing the auth but........ the web server
> has an ever changing realm.
>
> Is this possible or shall I look elsewhere ?
>
> Regards
>

I am not sure what do you mean by "ever changing realm", but you can adapt the following
perl code to brute force your way in. You need to install Crypt::SSLeay module,
dictionary, a loop and ... pretty much it...

#!/usr/bin/perl -w
use LWP::UserAgent;

my $ua = LWP::UserAgent->new;
my $req = HTTP::Request->new(POST => 'https://server.domain.com/');
$req->authorization_basic('foo', 'bar');
$res = $ua->request($req);
($res->is_success)? print $res->content, "\n" : print $res->status_line, "\n";

----------------------------------------------------------------------------
This list is provided by the SecurityFocus Security Intelligence Alert (SIA)
Service. For more information on SecurityFocus' SIA service which
automatically alerts you to the latest security vulnerabilities please see:
https://alerts.securityfocus.com/



Relevant Pages

  • Re: faster scans? (nmap)
    ... one host using nmap for syn scans in burst mode with the ... >>>This list is provided by the SecurityFocus Security Intelligence Alert ... For more information on SecurityFocus' SIA service which ...
    (Pen-Test)
  • Re: pen test help please asap
    ... > Machine A on client site makes a configurable encrypted OUTBOUND ... > This list is provided by the SecurityFocus Security Intelligence Alert ... For more information on SecurityFocus' SIA service which ... This list is provided by the SecurityFocus Security Intelligence Alert ...
    (Pen-Test)
  • Re: ettercap help
    ... Anyways have never tried Ettercap for VNC. ... > This list is provided by the SecurityFocus Security Intelligence Alert ... For more information on SecurityFocus' SIA service which ... This list is provided by the SecurityFocus Security Intelligence Alert ...
    (Pen-Test)
  • RE: CFM SQL injection
    ... You should better use union or alike get unauthorized data from the ... This list is provided by the SecurityFocus Security Intelligence Alert ... For more information on SecurityFocus' SIA service which ...
    (Pen-Test)
  • Re: ettercap help
    ... > I can get it to sniff telnet, ftp, pop, smb, but no vnc. ... > This list is provided by the SecurityFocus Security Intelligence Alert ... For more information on SecurityFocus' SIA service which ...
    (Pen-Test)