Stealing the Linux kernel page to build your own Rootkit

Stealing pages from the kernel?Yes, stealing pages means that we bypass all the rules and interfaces assigned to pages and extract a free page directly from the freelist for use. Look directly at the POC. Let me simulate a task_The allocation process for struct: #include <linux/module.h> #include <linux/mm.h> #include <linux/sc ...

Posted by Daleeburg on Wed, 20 May 2020 18:30:52 -0700

A tip to see if the PID process exists

In Linux, to judge whether a PID corresponding process exists, you can judge it as follows #! /usr/bin/env python import os def check_pid(pid): try: os.kill(pid,0) except OSError: return False else: return True if __name__ == "__main__": print check_pid(22467) Returns True if the PID exists in the sy ...

Posted by banjax on Tue, 19 May 2020 07:52:33 -0700

Linux command tar command

tar command Functional description: Back up files Usage: tar [options]...Archive and Compress File Name FILE... Note: The'-'may be omitted from the tar command option option Effect -c Create an archive file in.tar format -C Specify the destination folder when expanding the archive -f Indicates the use of archive files -t List V ...

Posted by Kazlaaz on Sun, 17 May 2020 09:40:41 -0700

Deploy multiple projects in Tomcat, and configure the process of secondary domain name through Nginx reverse agent

Purchase domain name. Example: example.com Set multiple secondary domain names. As shown in the figure:   To configure the tomcat file: Modify the server.xml File: The following configuration configures three containers with three different ports. Please note three points: ① port number: Connector port; ② container name: portservice ...

Posted by kenchucky on Sun, 17 May 2020 08:11:31 -0700

Install single node Redis

Forward link http://www.python3.vip/tut/webdev/django/17/ Installing Redis on Linux It is recommended to compile and install the source code, so that you can freely choose the Redis version to install. For example, on centos 7, log in as root and execute the following commands to download, decompress, compile and install wget http://downl ...

Posted by Hepp on Sun, 17 May 2020 03:31:23 -0700

LXC WEB management tool of container technology LXC WEB Panel

In the previous blog post, I mainly talked about the simple management of lxc container on Linux. For a review, please refer to https://www.cnblogs.com/qiuhom-1874/p/12901493.html Today we will introduce lxc's image management tool, LXC WEB Panel; Project download address: https://github.com/lxc-webpanel/LXC-Web-Panel.git; 1. Install Python fl ...

Posted by ki on Sat, 16 May 2020 22:56:33 -0700

Ubuntu 20.04 Installs nvidia drivers, Cuda, Cudnn

Updated ubuntu20.04, the interface was good and the feeling was fine, so I started my Alchemy environmental configuration journey. 1. Driver Remember that BIOS shuts down Secure Boot. [Important] Disable nouveau sudo gedit /etc/modprobe.d/blacklist.conf Add on last line blacklist nouneau implement sudo update-initramfs -u restart lsmod ...

Posted by ts10 on Sat, 16 May 2020 11:03:58 -0700

centos7 docker installation configuration swarm cluster configuration Portal Management

1. Install dockersystem information [root@localhost yum.repos.d]# cat /etc/centos-release CentOS Linux release 7.8.2003 (Core) [root@localhost yum.repos.d]# uname -a Linux localhost.localdomain 3.10.0-514.el7.x86_64 #1 SMP Tue Nov 22 16:42:41 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux [root@localhost yum.repos.d]# 1. Install yum extension ...

Posted by bugz-2849 on Sat, 16 May 2020 07:42:57 -0700

Laobaixue programming - Trace -ftrace

Ftrace and its functions brief introduction Ftrace is a tracker of the kernel, which helps developers to check the operation of the kernel, so as to better analyze performance problems. Ftrace can help us analyze kernel specific events, track dynamic kernel functions, call stacks and stack usage. It can also help us track delays, such as when i ...

Posted by [n00b] on Thu, 14 May 2020 07:02:44 -0700

Docker installation and basic management commands

1, About docker 2, Three core concepts of docker 1. Mirror image 2. Container 3. Warehouse 3, Basic operation of installation and docker 1. Installation and start up 2. Image operation of docker 3. Container operation of docker 1, About docker Docker, as the most popular project in the open source community, is an open source tool for runnin ...

Posted by adityamenon90 on Wed, 13 May 2020 17:50:07 -0700