Home > Operation and Maintenance > Linux Operation and Maintenance > How to use base64 command to encrypt linux command and execute it

How to use base64 command to encrypt linux command and execute it

WBOY
Release: 2023-05-17 20:37:11
forward
2804 people have browsed it
1. Encrypt the command
echo "ls -l" |
Copy after login
2. Decrypt the command and execute it
echo bHMgLWwK | base64 -d |
Copy after login

At this time, you can only see the echo of the command, but not the command itself.

What versions of Linux are there?

Linux versions include: Deepin, UbuntuKylin, Manjaro, LinuxMint, Ubuntu and other versions. Among them, Deepin is one of the best-developed Linux distributions in China; Ubuntu Kylin is a derivative distribution based on Ubuntu; Manjaro is a Linux distribution based on Arch; LinuxMint's default Cinnamon desktop is similar to Windows XP and is simple and easy to use; Ubuntu is a desktop application Mainly Linux operating system.

The above is the detailed content of How to use base64 command to encrypt linux command and execute it. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:yisu.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template