00 00 1 ** echo "">/usr/local/Apache/logs/error_log>/dev/null 2> & 1>/Dev/null redirects the output to/dev/null, which is an empty device, that is, ignoring its output.2> & 1 refers to outputting errors to the standard output. If debugging is
CMD uses shell commands to change the permissions of Android files (real machines). The commands executed are as follows: ADB shell ---> press ENTER ----> su ----> press ENTER -------> chmod 700 data ----> press Enter. Then, the permission for the
Hawking wrote, good. Colorful pages look good, just like watching a picture. However, the text used is a bit esoteric to me.
Like the past, we are still pursuing knowledge, exploring the mysteries of the universe, hoping to know the past and the
Using the MV command is not feasible for read-only files. If you want to transfer files between your PC and your android target, the easiest way is to use pull or push, if you are copying files in different folders on your android target machine,
1 For Loops
Structure:
For ARG in [LIST]
Do
Command (s )...
Done
#! /Bin/bashsum = 0for int in 1 2 3 4 5do sum = 'expr $ sum + $ int 'doneecho $ sum
2 while
Determine whether the condition is met at the beginning of the
If [-z "$1"]; thenEcho "You did not enter the parameters for executing the shell"Exit;Fi
If ["$1 "! = "JF"] & ["$1 "! = "Token"]; thenEcho "enter the name of the server to be uploaded: JF score, audit by region"Exit;FiCur_year = 'date + "% Y
A simple shell Backdoor
Author: Pony/smallhorse [e.s. t VIP] (it doesn't matter if you do not write this e.s. t VIP)Source: evil baboons China
Recently, I was bored and thought about writing a simple shell backdoor. At the same time, anti-virus
2.6.6 Command Execution
1 $ (command): capture the execution result of a command and use it in the shell script programEcho the date is $ (date) // The result is the output of the command, which is a string output.Set $ (date)Echo the month is $2 //
2011-04-23 wcdj
The method for learning shell program design is: Hands-on + man command
The following scripts are all tested in cygwin.$/Bin/Bash -- versionGNU bash, version 2.05b.0 (1)-release (i686-pc-cygwin)Copyright (c) 2002 Free Software
1. Shell uses quotation marks (single quotation marks/double quotation marks) and backslash ("\") for the shell interpreterSHIELD special characters.
Reverse quotation marks [H2] have special significance for shell.
1.1 single quotes and backlash [
Zhou haihan/Wen
2010.6.10
BASH Shell extension refers to an operation in which Shell expands commands when analyzing input commands. There are 7 extension methods. Refer to the man bash extension page:
Expansion the command line extension is
Download an e-book in chm format:Http://download.csdn.net/source/2843130
Note: I did not write this book. I just compiled it into an e-book for your convenience.
A good definition of an operating system shell is that it is a user interface
This script only satisfies part of the work I want to complete, and the rest of the content must be completed and debugged in the company.
Script running requires the following conditions:
Ctags.exe in the same directory as the script requires
Regular Expression Engine
The special characters that describe the matching mode and the general characters;
Bre POSIXBasic regular expression,EreExtended regular expression;GawkSupportedEre,SedNot supported.
1)
Regular Expression mode:
L
UsedIf/whileAnd so on;
Test
Command
Test Condition, When the condition isTrueReturns0;
IfTest condition; thenIf[Condition]; then#Note the space,TBDSupported?If 0
......
FiFi
Test
Condition judgment, three types
1) Value
The memory of the android program is divided into two parts: Native and Dalvik. Dalvik is the Java heap we usually call. The objects we create are allocated here, bitmap is directly allocated on native. The memory limit is that native + Dalvik
#!/bin/sh#for exm to test# ./check.sh 12 36 25 12 453 1 2 3 RETVAL=0SRRVER_START=1SRRVER_STOP=2DNS_STATUS=1dnsCheck(){ while test "x`pidof dnsmasq`" != x ; do echo "check DNS status...................."
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.