We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 865c6c4 commit 63889c0Copy full SHA for 63889c0
cmd_kill.cgi
@@ -2,5 +2,5 @@
2
3
require "vsftpd-lib.pl";
4
5
-kill();
+pkill();
6
redirect("");
vsftpd-lib.pl
@@ -37,7 +37,7 @@ ()
37
return "<pre>$out</pre>" if ($?);
38
}
39
40
-sub kill() {
+sub pkill() {
41
# regex matches the path itself if it contains no / or the last element in a path
42
$config{'vsftpd_path'} =~ m!^((([^/])+)|(.*/([^/]+)))$!;
43
my $cmd = $2 . $5; # either one of these contains something
0 commit comments