The number of internal and external visitors of an enterprise is constantly changing, which increases the security threats it faces, and the boundaries of internal and external access are gradually blurred. If an organization adds insecure systems
There are a lot of for loop usage in shell. I always want to summarize it. Today I saw a summary of for loop usage on the Internet, which is very comprehensive. So I will turn to research and study...1. for (I = 1; I 2. Commonly Used in shell is for
At work, you sometimes need to compare whether the files are consistent. You can use the following script (relatively simple): share it and hope to help friends who have the same requirements ~#! /Bin/bash# Compare to whether files on the server are
Shell string truncation rules: • $ {# parameter} gets the string length. • $ {parameter % word} captures word at the end of the string at a minimum. • $ {parameter % word} captures word at the end of the string to the maximum extent. • $ {parameter #
Cat disk. sh#! /Bin/bash
For I in 'df | sed 1d | awk '{print $5}' | sed's/% // g'' ### compare the size of the obtained loop ### #DoIf [$ I-gt 10] ### here, the threshold value is set to 10 to facilitate testing ###ThenDf-lh> disk.txt was added to
This script has been tested on ubuntu and centos. The script is as follows:
#! /Bin/bashLine = '============'# Linux release nameIf [[-f/usr/bin/lsb_release]; thenOS = $ (/usr/bin/lsb_release-a | grep Description | awk-F: '{print $2}' | sed's/^ [\ t]
1. display the 10 processes that consume the most memory/CPUPs aux | sort-nk + 4 | tailPs aux | sort-nk + 3 | tail------------------------------------------2. view the number of concurrent Apache requests and their TCP connection statusNetstat-n |
Recently, I have been writing a script to automatically detect the host type in the network. The basic function can be used to determine the host operating system type. If the host is in the domain, you can obtain the host hardware and performance
1. Background
When multiple processes may perform operations on the same data, these processes must ensure that other processes are not operating to avoid data corruption. Generally, such a process uses a "lock file", that is, creating a file to
Use shc to encrypt Shell scripts to improve the security of shell script files.Introduction: When the shell script we write contains sensitive information such as the account and password, we want to enhance the security of the script, and do not
Firewalls can be divided into several different security levels. In Linux, because there are many different firewall software options, the security can be low and high, and the most complex software can provide almost no penetration protection
The web server avoids unnecessary troubles and does not display apache and php version information.
Hide Apache version information
/Etc/apache2/apache2.conf or/etc/httpd/conf/httpd. conf
ServerTokens ProductOnlyServerSignature Off
Restart apacheNow,
Can you introduce the problems found in the RC4 encryption algorithm recently? In this regard, what security risks do HTTPS network connections face? How should enterprises ensure that they are not attacked by this vulnerability?
Michael Cobb: RC4
It can be said that SSL encryption has always been controversial in network security.
Privacy advocates believe that the inspection of SSL encrypted data packets, such as Web mail, infringes the trust of end users in several major aspects. On the
A major advantage of Linux is that you can implement the same thing in hundreds of ways. For example, you can generate a random password in dozens of ways. This article describes ten methods to generate a random password.
These methods are
I. background
We are familiar with the same-source browser policy. Client scripts in different domains cannot read and write resources of the other party. However, there are some scenarios in practice that require cross-origin read/write, so there
As a hard-lived civilian Commissioner who wrote various reports every day before graduation, I will record my work notes here to get rid of the boring days. I will sort out the fun activities I have encountered every day and share them with you.
1.
0 × 01 ASP introduction:
ASP is a server-side scripting environment that can be used to create and run dynamic Web pages or Web applications. ASP Web pages can contain HTML tags, common text, script commands, and COM components. Using ASP, you can
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service