linux code inject

0x00 : 基础

产生一个新的进程的方式

1
2
3
sys_clone – creates a copy of the running process with or without shared resources (memory, file descriptors, etc.);
sys_execve – replaces the running process with a new one (has several variations in the C library);
fork - creates a copy of the running process but without any shared resources (Actually, both sys_fork and sys_clone come down to do_fork() function in the kernel).

比赛运维杂记

0x00 : 前言

又是一届校赛了。学弟在配环境的时候一直问我相关的问题,然而我以前的笔记找不到了,今天偶然找到了,索性直接发出来吧。这是第一次参加校赛时候配环境的记录了,两年前吧,比较naive,有很多地方不全面。

,