One Hat Cyber Team
Your IP :
216.73.216.50
Server IP :
157.15.65.100
Server :
Linux 157-15-65-100.cprapid.com 5.14.0-362.24.2.el9_3.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Mar 30 14:11:54 EDT 2024 x86_64
Server Software :
Apache
PHP Version :
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
doc
/
perl-IO-Compress-Lzma
/
View File Name :
lzgrep
#!/usr/bin/perl use strict ; use warnings ; use IO::Uncompress::UnLzma qw($UnLzmaError); die "Usage: gzgrep pattern [file...]\n" unless @ARGV >= 1; my $pattern = shift ; my $file ; @ARGV = '-' unless @ARGV ; foreach $file (@ARGV) { my $gz = new IO::Uncompress::UnLzma $file or die "Cannot uncompress $file: $UnLzmaError\n" ; while (<$gz>) { print if /$pattern/ ; } die "Error reading from $file: $UnLzmaError\n" if $UnLzmaError ; }