亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? sbdump.pl

?? 一款經典的lkm后門
?? PL
字號:
#!/usr/bin/perl##--------------------------------------------------------------------#----- $Header: /home/cvsroot/sebek/dump/sbdump.pl,v 1.4 2002/09/08 22:48:57 cvs Exp $#--------------------------------------------------------------------## Copyright (C) 2001/2002 The Honeynet Project.# All rights reserved.## Redistribution and use in source and binary forms, with or without# modification, are permitted provided that the following conditions# are met:# 1. Redistributions of source code must retain the above copyright#    notice, this list of conditions and the following disclaimer.# 2. Redistributions in binary form must reproduce the above copyright#    notice, this list of conditions and the following disclaimer in the#    documentation and/or other materials provided with the distribution.# 3. All advertising materials mentioning features or use of this software#    must display the following acknowledgement:#      This product includes software developed by The Honeynet Project.# 4. The name "The Honeynet Project" may not be used to endorse or promote#    products derived from this software without specific prior written#    permission.## THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE# ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF# SUCH DAMAGE.##----- Log processor for sebek -------------------------------------------------use strict;use 5.004;use Getopt::Std;use Time::gmtime;use FileHandle;#-------------------------------------------------------------------------------#----- sub timefmt: formats the time stamp all pretty like#-------------------------------------------------------------------------------sub timefmt{  my $tm;  $tm = gmtime(shift);  return sprintf("%02d:%02d:%02d-%04d/%02d/%02d",	  $tm->hour,$tm->min,$tm->sec,$tm->year+1900,$tm->mon+1,$tm->mday);}#-------------------------------------------------------------------------------#---- Get the data collected by sebek in char by char mode, this corresponds#---- to interactive terminals usually#-------------------------------------------------------------------------------sub char{  my $file = shift;  my $next_rec = 0;  my $x = 0;  my $head_sz = 64;  my $time;  my $tmp_ts;  my $tmp_data;  my %data;  #----- multidimensional hash uid->pid->the log  my ($stamp,$pid,$uid,$comm,$fd,$tty,$type,$len,$rest,$head,$data);  open(DATA,$file) or die("cant open $file");  while(read(DATA,$head,$head_sz,0) > 0){    #----- split out the fields in the head    ($stamp,$pid,$uid,$comm,$fd,$tty,$type,$len,$rest) = split(':',$head,9);    #----- set pointer to beginning of current data    $next_rec += length($pid)   + 1;    $next_rec += length($uid)   + 1;    $next_rec += length($comm)  + 1;    $next_rec += length($stamp) + 1;    $next_rec += length($fd)    + 1;    $next_rec += length($tty)   + 1;    $next_rec += length($type)  + 1;    $next_rec += length($len)   + 1;    #----- read data if type C    if($type eq "c" && $tty){      seek(DATA,$next_rec,0);      read(DATA,$data,$len,0);      $time = timefmt($stamp);      chop($data);      #--- print(" -->$data<--\n");      #----- if the rec not defined record the ts      if(!defined($data{$uid}{"$pid:$comm"})){	$data{$uid}{"$pid:$comm"}{"ts"} = $time;      }      #------ add the data      $data{$uid}{"$pid:$comm"}{"data"} .= $data;      #----- if the char is a new line then print + purge      if($data eq "\r"){	$tmp_ts   = $data{$uid}{"$pid:$comm"}{"ts"};        $tmp_data = $data{$uid}{"$pid:$comm"}{"data"};        print("$tmp_ts [$uid:$comm:$pid:$tty:$fd]");	print("$tmp_data\n");	undef($data{$uid}{"$pid:$comm"});      }    }    #------ set pointer to beginning of next record    $next_rec += $len;    seek(DATA,$next_rec,0);    $head = "";  }}#-------------------------------------------------------------------------------#---- From remote: remote -> local#-------------------------------------------------------------------------------sub scp0{  my $file = shift;  my $next_rec = 0;  my $x = 0;  my $head_sz = 64;  my $time;  my $tmp;  my $buff;  my $ready;  my $ftime;  my $fname;  my $fsize;  my $fmod;  my %fh;  my %data;  #----- multidimensional hash uid->pid->the log  my ($stamp,$pid,$uid,$comm,$fd,$tty,$type,$len,$rest,$head,$data);  open(DATA,$file) or die("cant open $file");  while(read(DATA,$head,$head_sz,0) > 0){    #----- split out the fields in the head    ($stamp,$pid,$uid,$comm,$fd,$tty,$type,$len,$rest) = split(':',$head,9);    #----- set pointer to beginning of current data    $next_rec += length($pid)   + 1;    $next_rec += length($uid)   + 1;    $next_rec += length($comm)  + 1;    $next_rec += length($stamp) + 1;    $next_rec += length($fd)    + 1;    $next_rec += length($tty)   + 1;    $next_rec += length($type)  + 1;    $next_rec += length($len)   + 1;    #----- read data if its scp header data    if($type eq "c" && $comm eq "scp"  && !$tty && ($fd == 0 || $fd == 4)){      seek(DATA,$next_rec,0);      read(DATA,$buff,$len,0);      $time = timefmt($stamp);      chop($buff);      #------ add the data      $data{$pid}{"data"}   .= $buff;      if($buff eq "\n"){	($fmod,$fsize,$fname) = split(" ",$data{$pid}{"data"});	$data{$pid}{"fname"} = $fname;        $tmp = timefmt($stamp);	print("$tmp SCP (remote)->local $fname $fsize bytes\n");	$fh{$pid} = FileHandle->new();	open($fh{$pid},">$fname") || die "unable to open $fname\n";      }    }    #----- read data if its scp copied data    if(defined($data{$pid}) && $type eq "b" && $comm eq "scp" && !$tty && $fd == 0){      seek(DATA,$next_rec,0);      read(DATA,$buff,$len,0);      syswrite($fh{$pid},$buff,$len,0);    }    #------ set pointer to beginning of next record    $next_rec += $len;    seek(DATA,$next_rec,0);    $head = "";  }}#-------------------------------------------------------------------------------#---- From remote: remote <- local#-------------------------------------------------------------------------------sub scp1{  my $file = shift;  my $next_rec = 0;  my $x = 0;  my $head_sz = 64;  my $time;  my $tmp;  my $ready;  my $ftime;  my $fname;  my $fsize;  my $fmod;  my %fh;  my %data;  #----- multidimensional hash uid->pid->the log  my ($stamp,$pid,$uid,$comm,$fd,$tty,$type,$len,$rest,$head,$buff);  open(DATA,$file) or die("cant open $file");  while(read(DATA,$head,$head_sz,0) > 0){    #----- split out the fields in the head    ($stamp,$pid,$uid,$comm,$fd,$tty,$type,$len,$rest) = split(':',$head,9);    #----- set pointer to beginning of current data    $next_rec += length($pid)   + 1;    $next_rec += length($uid)   + 1;    $next_rec += length($comm)  + 1;    $next_rec += length($stamp) + 1;    $next_rec += length($fd)    + 1;    $next_rec += length($tty)   + 1;    $next_rec += length($type)  + 1;    $next_rec += length($len)   + 1;    #----- read data if its scp copied data    if($type eq "b" && (($comm eq "sshd" && $fd == 5) || ($comm eq "scp" && $fd == 3))){      seek(DATA,$next_rec,0);      read(DATA,$buff,$len,0);      if(!$ready && $comm eq "sshd" && $buff =~/^C\d+\s\d+\s.+/){	($fmod,$fsize,$fname) = split(" ",$buff);	$data{$pid}{"fname"} = $fname;        $tmp = timefmt($stamp);	print("$tmp SCP local->(remote) $fname $fsize bytes\n");	$ready++;      }else{	if($ready && $comm eq "scp"){	  if(!$fh{$pid}){	    $fh{$pid} = FileHandle->new();	    #----- crappy pid hack again	    $tmp =$data{$pid-1}{"fname"}; 	    open($fh{$pid},">$tmp") || die " unable to open $tmp\n";	  }	  syswrite($fh{$pid},$buff,$len,0);	}      }    }    #------ set pointer to beginning of next record    $next_rec += $len;    seek(DATA,$next_rec,0);    $head = "";  }}#-------------------------------------------------------------------------------#---- From localhost: local -> remote#---- to interactive terminals usually#-------------------------------------------------------------------------------sub scp2{  my $file = shift;  my $next_rec = 0;  my $x = 0;  my $head_sz = 64;  my $time;  my $tmp;  my $ready;  my $ftime;  my $fname;  my $fsize;  my $fmod;  my %fh;  my %data;  #----- multidimensional hash uid->pid->the log  my ($stamp,$pid,$uid,$comm,$fd,$tty,$type,$len,$rest,$head,$buff);  open(DATA,$file) or die("cant open $file");  while(read(DATA,$head,$head_sz,0) > 0){    #----- split out the fields in the head    ($stamp,$pid,$uid,$comm,$fd,$tty,$type,$len,$rest) = split(':',$head,9);    #----- set pointer to beginning of current data    $next_rec += length($pid)   + 1;    $next_rec += length($uid)   + 1;    $next_rec += length($comm)  + 1;    $next_rec += length($stamp) + 1;    $next_rec += length($fd)    + 1;    $next_rec += length($tty)   + 1;    $next_rec += length($type)  + 1;    $next_rec += length($len)   + 1;    #----- read data if its scp header data    if($type eq "c" && $tty && ($fd == 0 || $fd == 4) && $comm eq "ssh"){      seek(DATA,$next_rec,0);      read(DATA,$buff,$len,0);      chop($buff);      if(!defined($data{$pid})){	$data{$pid}{"pw"} =  "";      }      #------ record the password      $buff =~ s/\n/  /g;      $data{$pid}{"pw"}   .= $buff;    }    #----- read data if its scp copied data    if(defined($data{$pid}) && $type eq "b" && $comm eq "ssh" && $tty && $fd == 4){      seek(DATA,$next_rec,0);      read(DATA,$buff,$len,0);      if(!$ready){	($fmod,$fsize,$fname) = split(" ",$buff);	$data{$pid}{"fname"} = $fname;        $tmp = timefmt($stamp);	print("$tmp SCP (local)->remote $fname $fsize bytes\n");	$buff = $data{$pid}{"pw"};        print("$tmp SCP: passwd $buff\n\n");	$ready++;      }else{	if(!$fh{$pid}){	$fh{$pid} = FileHandle->new();	$tmp =$data{$pid}{"fname"}; 	open($fh{$pid},">$tmp") || die "unable to open $fname\n";      }	syswrite($fh{$pid},$buff,$len,0);      }    }    #------ set pointer to beginning of next record    $next_rec += $len;    seek(DATA,$next_rec,0);    $head = "";  }}#-------------------------------------------------------------------------------#---- From localhost: local <- remote#---- to interactive terminals usually#-------------------------------------------------------------------------------sub scp3{  my $file = shift;  my $next_rec = 0;  my $x = 0;  my $head_sz = 64;  my $time;  my $tmp;  my $ready;  my $ftime;  my $fname;  my $fsize;  my $fmod;  my %fh;  my %data;  #----- multidimensional hash uid->pid->the log  my ($stamp,$pid,$uid,$comm,$fd,$tty,$type,$len,$rest,$head,$buff);  open(DATA,$file) or die("cant open $file");  while(read(DATA,$head,$head_sz,0) > 0){    #----- split out the fields in the head    ($stamp,$pid,$uid,$comm,$fd,$tty,$type,$len,$rest) = split(':',$head,9);    #----- set pointer to beginning of current data    $next_rec += length($pid)   + 1;    $next_rec += length($uid)   + 1;    $next_rec += length($comm)  + 1;    $next_rec += length($stamp) + 1;    $next_rec += length($fd)    + 1;    $next_rec += length($tty)   + 1;    $next_rec += length($type)  + 1;    $next_rec += length($len)   + 1;    #----- read data if its scp header data    if($type eq "c" && $tty && ($fd == 7 || $fd == 4) && ($comm eq "ssh" || $comm eq "scp")){      seek(DATA,$next_rec,0);      read(DATA,$buff,$len,0);      chop($buff);      #----- passwd      if($fd == 4){	$buff =~ s/\n/ /;	$data{$pid }{"pw"} .= $buff;      }      #----- file info      if($fd == 7){	$data{$pid}{"file"} .= $buff;	if($buff eq "\n"){	 ($fmod,$fsize,$fname) = split(" ",$data{$pid}{"file"});	  $tmp = timefmt($stamp);	  print("$tmp SCP (local)<-remote $fname $fsize bytes\n");	  $data{$pid}{"fname"} = $fname;	  #----- pid increment is a crappy hack	  $buff = $data{$pid +1}{"pw"};	  print("$tmp SCP: passwd $buff\n\n");	}      }    }    #----- read data if its scp copied data    if(defined($data{$pid}) && $type eq "b" && $comm eq "scp" && $tty && $fd == 7){      seek(DATA,$next_rec,0);      read(DATA,$buff,$len,0);      ($fmod,$fsize,$fname) = split(" ",$data{$pid}{"file"});      if(!$fh{$pid}){	$fh{$pid} = FileHandle->new();	$tmp = $data{$pid}{"fname"};	open($fh{$pid},">$tmp") || die "unable to open $tmp\n";      }      syswrite($fh{$pid},$buff,$len,0);          }    #------ set pointer to beginning of next record    $next_rec += $len;    seek(DATA,$next_rec,0);    $head = "";  }}#-------------------------------------------------------------------------------#----- This displays the bulk data recorded by sebek, this is raw an nasty stuff#----- but it will yeild passwds that are entered, so it is usefull now and then#-------------------------------------------------------------------------------sub bulk{  my $file = shift;  my $next_rec = 0;  my $x = 0;  my $head_sz = 64;  my $time;  my ($stamp,$pid,$uid,$comm,$fd,$tty,$type,$len,$rest,$head,$data);  open(DATA,$file) or die("cant open $file");  while(read(DATA,$head,$head_sz,0) > 0){    #----- split out the fields in the head    ($stamp,$pid,$uid,$comm,$fd,$tty,$type,$len,$rest) = split(':',$head,9);    #----- set pointer to beginning of current data    $next_rec += length($pid)   + 1;    $next_rec += length($uid)   + 1;    $next_rec += length($comm)  + 1;    $next_rec += length($stamp) + 1;    $next_rec += length($tty) + 1;    $next_rec += length($type) + 1;    $next_rec += length($len) + 1;    #print("[$stamp:$tty:$type:$len:] $next_rec\n");    #----- read data if type C    if($type eq "b"){      seek(DATA,$next_rec,0);      read(DATA,$data,$len,0);      $time = timefmt($stamp);      print("$time [$comm:$uid $pid:$fd:$tty]$data");    }    #------ set pointer to beginning of next record    $next_rec += $len;    seek(DATA,$next_rec,0);    $head = "";  }}sub usage{  print "This is a program to parse sebek logfiles, it is handy\n";  print "$0 [-c|-b|-s] filename\n";  print "\t -c extracts data gathered character by character\n";  print "\t -b extracts data gathered in bulk\n";  print "\t -s extracts SCPed files recorded by sebek in the log\n";  print "\n";}sub main {  my %opt;  #--- get the action ---  getopts("c:b:s:",\%opt);  if($opt{c}){    char($opt{c});    exit();  }  if($opt{b}){    bulk($opt{b});    exit;  }  if($opt{s}){    scp0($opt{s});    scp1($opt{s});    scp2($opt{s});    scp3($opt{s});    exit();  }  usage();}main();

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美丝袜丝交足nylons| 一本久道久久综合中文字幕| **网站欧美大片在线观看| 欧美xxxxxxxxx| 正在播放亚洲一区| 717成人午夜免费福利电影| 欧美三级日韩在线| 色8久久人人97超碰香蕉987| 成人午夜av电影| 91偷拍与自偷拍精品| 色综合色综合色综合色综合色综合| 国产suv精品一区二区883| 成人午夜在线视频| 91视频免费看| 欧美天堂一区二区三区| 欧美日韩午夜在线| 日韩欧美在线影院| 亚洲精品一区二区三区蜜桃下载| 日韩一区二区视频| 337p日本欧洲亚洲大胆精品| 精品噜噜噜噜久久久久久久久试看| 捆绑变态av一区二区三区| 精品国产凹凸成av人网站| xf在线a精品一区二区视频网站| 欧美videossexotv100| 久久久久久免费网| 成人免费一区二区三区在线观看| 亚洲精品欧美在线| 三级影片在线观看欧美日韩一区二区| 日本中文字幕不卡| 国产精品亚洲第一| 在线欧美日韩精品| 欧美成人官网二区| 亚洲日本在线看| 青青草国产精品97视觉盛宴| 国产精品综合一区二区三区| 色综合咪咪久久| wwww国产精品欧美| 亚洲精选在线视频| 激情图片小说一区| 色婷婷久久久久swag精品| 欧美成人一级视频| 亚洲激情男女视频| 卡一卡二国产精品| 在线欧美小视频| 国产日韩精品一区| 午夜久久久久久久久久一区二区| 激情综合五月天| 欧洲国产伦久久久久久久| 久久久精品黄色| 日韩国产欧美一区二区三区| caoporn国产精品| 26uuu国产在线精品一区二区| 正在播放一区二区| 福利电影一区二区三区| 青青草97国产精品免费观看| 丁香桃色午夜亚洲一区二区三区| 欧美日韩国产综合一区二区三区 | 亚洲中国最大av网站| 麻豆成人av在线| 在线亚洲高清视频| 中文字幕免费一区| 日韩电影在线看| 欧美日韩视频在线第一区| 中文字幕中文字幕中文字幕亚洲无线 | 中文字幕五月欧美| 国产在线国偷精品产拍免费yy| 欧美性受xxxx黑人xyx性爽| 国产亚洲欧美日韩俺去了| 另类小说视频一区二区| 欧美一级片在线| 日韩综合小视频| 欧美裸体一区二区三区| 一区二区三区丝袜| 欧美中文字幕一区二区三区| 国产精品第四页| 不卡电影一区二区三区| 国产欧美日韩视频一区二区 | 欧美一区二区三区在线观看 | 制服丝袜亚洲网站| 奇米四色…亚洲| 91精品国产91久久综合桃花| 午夜私人影院久久久久| 高清shemale亚洲人妖| 欧美视频一区二区| 国产精品久久网站| av电影一区二区| 亚洲激情一二三区| 欧美性生交片4| 日韩中文字幕1| 91精品国产乱码久久蜜臀| 水蜜桃久久夜色精品一区的特点| 欧美伦理视频网站| 久久精工是国产品牌吗| 久久精品免费在线观看| 成人美女在线视频| 亚洲精品视频一区| 欧美日韩激情一区| 国产原创一区二区三区| 国产精品日韩成人| 欧美亚一区二区| 看电视剧不卡顿的网站| 日本一区二区视频在线观看| 色悠悠亚洲一区二区| 视频一区免费在线观看| 欧美精品一区二区三区蜜桃视频| 东方aⅴ免费观看久久av| 亚洲女子a中天字幕| 欧美一区二区三区在线观看视频| 激情综合网最新| 一区二区三区在线视频免费| 91精品国产综合久久福利| 岛国av在线一区| 亚洲v精品v日韩v欧美v专区| 久久嫩草精品久久久精品一| 94-欧美-setu| 精品在线你懂的| 亚洲综合无码一区二区| 久久久久久久久一| 欧美日韩在线免费视频| 国产毛片精品视频| 亚洲成人免费在线| 中文字幕一区二区日韩精品绯色| 欧美精品 日韩| 色综合久久中文综合久久97| 精品午夜久久福利影院| 午夜一区二区三区在线观看| 国产欧美精品一区| 日韩精品一区二区三区视频在线观看 | 久久精品视频一区二区| 欧美色欧美亚洲另类二区| 国产白丝精品91爽爽久久| 美女任你摸久久 | 亚洲一区二区三区四区在线免费观看 | 欧美精品v日韩精品v韩国精品v| 免费成人av资源网| 亚洲欧美另类图片小说| 2020国产成人综合网| 欧美酷刑日本凌虐凌虐| 99久久99久久精品国产片果冻| 国产成a人无v码亚洲福利| 亚洲五码中文字幕| 欧美在线观看一二区| 精品一区二区日韩| 五月婷婷激情综合网| 亚洲视频一二区| 国产精品色噜噜| 亚洲日本护士毛茸茸| 亚洲成人www| 欧美三级视频在线观看| 不卡影院免费观看| 懂色av一区二区三区免费观看| 久久精品久久99精品久久| 日韩国产欧美在线播放| 日韩精品免费视频人成| 日韩激情一区二区| 日韩avvvv在线播放| 三级亚洲高清视频| 老鸭窝一区二区久久精品| 日韩电影免费一区| 九一久久久久久| 国产老妇另类xxxxx| 国产精华液一区二区三区| 国产成人免费视| 国产成人一级电影| 欧美日韩成人综合在线一区二区| av中文字幕不卡| 91免费观看国产| 欧美综合亚洲图片综合区| 欧美日本国产视频| 日韩小视频在线观看专区| 久久伊人蜜桃av一区二区| 欧美一级二级三级蜜桃| 2020日本不卡一区二区视频| 亚洲综合精品自拍| 亚洲va中文字幕| 美女在线一区二区| 国产激情偷乱视频一区二区三区 | 99riav一区二区三区| 色综合天天综合色综合av | 久久精品99国产精品| 国产精品一二一区| 一本大道久久a久久综合婷婷| 欧美又粗又大又爽| 精品av久久707| 亚洲美女免费在线| 免费高清在线视频一区·| 懂色av中文字幕一区二区三区| 在线看不卡av| 久久久久亚洲综合| 亚洲一区视频在线| 国产激情91久久精品导航| 色婷婷亚洲一区二区三区| 精品国产凹凸成av人导航| 国产福利91精品一区| 亚洲三级电影全部在线观看高清| 精品国产一区二区精华| 亚洲精品国产成人久久av盗摄 | 国产午夜精品一区二区三区嫩草 | 不卡一区在线观看|