/l3/users/lilo/testing/id.sherbacov.com/root |
#35 0x23
#!/usr/bin/perl -w 106+ 7 113 2835 32 0x20 # ЧÑениlocal $/;·Ð¼ÐµÐ½ÐµÐ½Ð¸Ðµ кодиÑовки ÑодеÑжимого diff-Ñайла # open (F, "$file") sub load_diff_fior return "Can't open file $file ($_[0]) for reading";иÑикаÑии Ñайла # my $text = <F>; if ($Config{"encoding"} && $Config{"encoding"} !~ /^utf-8$/i) { use my $converter = Text::Iconv->new($Config{"encoding"}, "utf-8"); e POSImy $template = "*.diff";Files{$file}->{tell} } close(F); use Time $diff{"text"}=$text; ; my $i=0; ´ÐµÐ¼Ð¾Ð½Ð° -- пÑоÑеÑÑ Ð¿Ð¾Ð»ÑÑил Ñигнал о завеÑÑении $diff{"path"}=$path; et$diff{"bind_to"}=""; $diff{"time_range"}=-1;$file}); sub init_var$diff{"index"}=$i; y %diff; $Diffs{$file} = \%diff; local_session_id})\n"; $i++; } } ;µÐ½Ð¸ diff-Ñайла sub load_diff_files;# ÐнÑоÑмаÑÐ¸Ñ Ð¾ позиÑиÑÑ Ð² ÑкÑипÑ-ÑÐ°Ð¹Ð»Ð°Ñ , } ¸ ÑодеÑжимого diff-Ñайла sub bind_diff; $diff{"sec"}=$4 || 0;9]?[0-9]?)[^/]*?([0-9]*):([0-9]*):?([0-9]*)@) { sub extract_commands_from_cline; sub load_command_lines; sub sort_command_lines; sub print_command_lines; sub printq; sub save_cache_stat; sub load_cache_stat; sub print_session; ([0-9]+)[\#] # history line number if ($Config{"encoding"} && $Config{"encoding"} !~ /^utf-8$/i); ([0-9]+)[\#] # uid } [0-9]+)[\#] time print "Parsing lab scripts...\n" if $Config{"verbose"} =~ /y/;put"})) { (.*?)[\#] # nonce pt (.*)mand =~ s/\s*sud # command line my $file; "}-$min)*60 + ($diff->{"sec"}-$sec); } '; ¾Ð·Ð²ÑаÑиÑÑ Ñ ÑÑ, ÑодеÑжаÑий my $skip_info; x; ( killing symbols )3[\#] # version my $commandlines_loaded =0; 'cols' => $Config{"terminal_width"}, my $commandlines_processed =0; {"terminal_height"});Ðо Ð¾Ð´Ð½Ð¾Ð¼Ñ Ð½Ð° каждÑй ÑÐµÐ°Ð½Ñ # uid my $converter = Text::Iconv->new($Config{"encoding"}, "utf-8") my @lab_scripts = <$lab_scripts_path/$lab_scripts_mask>;r ÑколÑÐºÑ diff'Ñ Ð¼Ð¾Ð³Ð»Ð¸ обÑазоваÑÑÑÑ ÑолÑко ÑÑо if ($Config{"encoding"} && $Config{"encoding"} !~ /^utf-8$/i); my $cline_re = qr/$cline_re_base/sx; ([0-9]+)[\#] # exitcode || $Config{"input"})) { |
#35 0x23
|
#35 0x23
#!/usr/bin/perl 0 L:[ 1+ 2 3 17 u 117 0x75 use strict; Ð½ÐµÐ¾Ð±Ñ Ð¾Ð´Ð¸Ð¼Ð¾ use lib '/etc/lilalo/';ach} =~ /^y/i) { sub maininit_config(); use l3config; ÑннÑй ÐºÐ»Ð¸ÐµÐ½Ñ use l3co ÑÐ¾ÐºÐµÑ Ð¸ ÑлÑÑаем use IO::Socket; Ñем, возможно демон Ñже запÑÑен âââââ Search ââââââââââââââââââââââââ use POSI ¾ÑÑо завеÑÑаемÑÑ Search âââââââââââ use POSIX qw(:sys_wait_h);$Config{backend_pidfile})) { â main(); ÐµÐ½Ð¸Ñ close(PIDFILE); Config{"backend_datafile"});г ââââââââââââââââââââââ sub REAP1 until (-1 == waitpid(-1, WNOHANG)); sub main$SIG{CHLD} = \&REAPER; â unlink $Config{backend_pidfile} 3-backend"} /proc/$pid/cmdline && grep "uid:.*\b$<\b" /proc/$pid/status`) { ââââââââââââââââââââââ } # ÐÑÑÑ l3cd } sub process_was_killed # ÐдеÑÑ Ð´Ð¾Ð»Ð¶Ð½Ð° бÑÑÑ ÐºÑаÑÐ¸Ð²Ð°Ñ Ð¿ÑоÑедÑÑа { # завеÑÑÐµÐ½Ð¸Ñ Ð´ÐµÐ¼Ð¾Ð½Ð° оединенений, l")) { # и в unlink $Config{backend_pidfile}; ºÐ¾Ð³Ð¾ алÑавиÑа, ÑиÑÑÑ Ð¸ знаки _ и - if (open(OUT, ">>", $Config{"backend_datadir"}."/$l3cd/data.xml")) { |
#l3config.pm [----] 0 L:[ 1+ 0 1/184] *(0 /5579b)= p 112 0x70
package l3config; 5 77+16 93 2984 b 98 0x62 "files_keywords" => "linux file",d", use utf8; ──── Replace ───────────────────────┐ ter; │ use vars qw(@ISA @EXPORT $VERSION); │ comment_width => "300", ┌─────────────────────── Search ───────────────────────┐ │ note_width => "500", │ "mode" => "daemon", # daemon | normal │ "detach"th => "yes", │ "daemon_sleep_interval" => "10",lo.conf │ "agent_pidfile" => "$ENV{HOME}/.lilalo/l3-agent.pid", │ $ENV{HOME} ||= "/tmp"; └──────────────────────────────────────────────────────┘ "backend_port" => "18030", │ "backend_pidfile" => "/tmp/l3-backend.pid", ────────────────────────────────────┘ "backend_address" => "xgu.ru", "skip_empty" => "yes", "skip_interrupted" => "no", "skip_wrong" => "no", "editors" => ["vi", "pico", "ee", "vim", "nano"], "pagers" => ["more", "less", "zmore", "zless", "info", "man", "mc", "trafshow", "screen", "cfdisk", Save 3Mark 4Replac Move 7Search |