Patrick Andrieu: Das Modul zur erfolgreichen Fälschung?

Beitrag lesen

Hallo Siechfred!

Nee, kann ich anhand der von Dir verlinkten Logdatei nicht nachvollziehen. Ich lade sicherheitshalber die aktuelle Modulversion noch mal hoch:

http://test.anaboe.net/LogAnalyze/

Keine Ahnung, was dann bei mir passiert, hier mein Aufruf:

  
use Desktop::LogAnalyze;  
use Data::Dumper;  
my $starttime = time();  
#open OUT, ">>desktop/output/siechfred.txt";  
  
my $log = LogAnalyze->new('local/path/logfiles') or die 'No object';  
$log->getLogFile( { 'ftp'     => 'ftp.sponge.bob',  
                    'user'    => 'Meerjungfraumann',  
                    'pass'    => 'Blaubarschbube',  
                    'ftp_dir' => 'logs',  
                    'logfile' => 'access.log.current'  
                  }) or die $LogAnalyze::ErrorMsg;  
my $hashref = $log->parseLogFile;  
print Dumper $hashref;  
#sleep(6);  
  
$log->parseLogFile or die $LogAnalyze::ErrorMsg;  
my $stat = $log->statTop( { level => 50, field => 'code' } );  
foreach(@$stat) {  
  print $_->{code}, ': ', $_->{count}, "\n";  
}  
print $/;  
my $endtime = time();  
print $endtime - $starttime, " Sekunden";  

Unter C:\Dokumente und Einstellungen\User\ die faked.log.current als log_2007-12-19.txt vorher abgespeichert, Ergebnis:

^Z
$VAR1 = 1;
200: 5078
301: 508
304: 300
404: 72
410: 32
403: 6
206: 2
405: 2

Viele Grüße aus Frankfurt/Main,
Patrick

--

_ - jenseits vom delirium - _
[link:hatehtehpehdoppelpunktslashslashwehwehwehpunktatomicminuseggspunktcomslash]
Nichts ist unmöglich? Doch!
Heute schon gegökt?
0 79

Bekloppte User Agents zuordnen (RegExp)

Patrick Andrieu
  • programmiertechnik
  1. 0
    Cheatah
    1. 2

      UA-Statistiken fälschen

      Siechfred
      • perl
      1. 0
        Patrick Andrieu
        1. 1
          Siechfred
          1. 0

            Die erfolgreiche Fälschung

            Patrick Andrieu
            1. 1

              Das Modul zur erfolgreichen Fälschung?

              Siechfred
              1. 0
                Patrick Andrieu
                1. 0
                  Siechfred
              2. 0
                Siechfred
              3. 0
                Patrick Andrieu
                1. 0
                  Siechfred
                  1. 0
                    Patrick Andrieu
                    1. 0
                      Siechfred
                      1. 0
                        Patrick Andrieu
                        1. 0
                          Siechfred
                          1. 0
                            Patrick Andrieu
                            1. 0
                              Siechfred
                              1. 0
                                Patrick Andrieu
                                1. 0
                                  Patrick Andrieu
                                  1. 0
                                    Siechfred
                                    1. 0
                                      Patrick Andrieu
                                      1. 0
                                        Siechfred
                                        1. 0
                                          Patrick Andrieu
                                          1. 0
                                            Patrick Andrieu
                                          2. 0
                                            Siechfred
                                2. 0
                                  Siechfred
            2. 0

              Die erfolgreichen Statmaker- und -fälscher-Skripts für 1&1-User!

              Patrick Andrieu
              1. 0
                Patrick Andrieu
                1. 0
                  Struppi
                  1. 0
                    Patrick Andrieu
    2. 0
      Patrick Andrieu
      1. 0
        Cheatah
        1. 0
          Patrick Andrieu
  2. 0
    Don P
    1. 0
      Don P
    2. 0
      Patrick Andrieu
      1. 0
        Don P
        1. 0
          Patrick Andrieu
          1. 0
            Don P
            1. 0
              Patrick Andrieu
      2. 0

        Logline splitter (RegExp)

        Patrick Andrieu
  3. 2
    Struppi
    1. 0
      Patrick Andrieu
      1. 0
        Patrick Andrieu
  4. 0
    Der Martin
    1. 0
      Alexander (HH)
    2. 0
      Patrick Andrieu
      1. 0
        Der Martin
        1. 0
          Cheatah
          1. 0
            Patrick Andrieu
            1. 0
              Cheatah
        2. 0
          Patrick Andrieu
          1. 0
            Der Martin
            1. 0

              RegExp'sch ist gar nicht so schwer :)

              Siechfred
              • menschelei
    3. 0
      Patrick Andrieu
      1. 0
        Der Martin
        1. 0
          Patrick Andrieu
          1. 0
            Patrick Andrieu
            1. 0
              Struppi
      2. 0
        Ingo Turski
        1. 0
          Patrick Andrieu
          1. 0
            Ingo Turski
            1. 0
              Patrick Andrieu
              1. 0
                Ingo Turski
                1. 0
                  Patrick Andrieu
                  1. 0
                    Engin
                  2. 0
                    Engin
                    1. 0
                      Patrick Andrieu
                      1. 0
                        Engin
                        1. 0
                          Patrick Andrieu
                          1. 0
                            Engin
                            1. 0
                              Patrick Andrieu
                              1. 0
                                Engin
                                1. 0
                                  Patrick Andrieu
                                  1. 0
                                    Engin
                  3. 0
                    Ingo Turski
                    1. 0
                      Patrick Andrieu
        2. 0
          Patrick Andrieu