hardware information Dmidecode| Grep"Product Name"# View server model Dmidecode| Grep-p-a5"Memory\s+device"| grep Size | grep-v Range # View memory Slots Cat/proc/Mdstat # View soft raid information Cat/proc/scsi/SCSI # View Dell hard RAID information (IBM, HP requires official Detection Tool) LSPCI # View hardware information Lspci|grep RAID # to see if RAIDLSPCI is supported-VVV |grep Ethernet # view NIC model Lspci-
find a way to GetShell.
Get ROOT
When I knew that the command could be executed, I knew it was time to get the shell. The switch may have some login services such as Telnet or SSH. First, I tried to set telnet by setting the value of SmartDevURL to 'telnetd '. Then, a quick scan (nmap-sS-vvv 10.22.22.1) is performed to check whether telnet is enabled on the switch.
It seems that tenlet is enabled. However, when I try to telnet to a vswitch, I am pr
on the local routing table.
Loop to send the same package.
The packet is sent a few seconds apart.
2.2.1 Send package on third level (Layer 3)First, we send packet on the third level to do the testing. Before this, start another terminal, enter the following command to do a bit of monitoring traffic. tcpdump -i eth0 -XX -vvv icmpThen run send(pkt) the command to send the packet, observing the result:Monitoring results:
1. Install OpenSSL first, although you generally do not use HTTPS to download the installation package, unziptar -xzf openssl-xxx. tar. gzLook at the Configure item.[Email protected]:~/openssl-1.01j$./configure--helpusage:configure [no-386] [--prefix=dir] [--openssldir=openssldir] [--WITH-XXX[=VVV]] [--test-sanity] os/Here, use the basic options../config--prefix=/usr/local/--sharedMake make install two-connected Make Make Install (Requires root acce
= 'iamthecallback'; window [callbackName] = function (uuu, vvv, www) {// perform subsequent processing on the returned data} var script = document. createElement ('script'); script. src = 'HTTP: // melon. github. io/xxx/yyy? Callback = '+ callbackName; document. body. appendChild (script); copy the code, which is part of the front-end code. to truly implement the JSONP function, you also need backend cooperation. For the above example, when the front
commands-L view-N data method-V details-vv-more vvv, more detailed-The exact value of-x is not converted in units.-- Line-numbers: Display the row number column iptables-L-n -- line-numberMatching criteria:General matchGeneral match-S, -- src indicates custom source address matchingIP, NETWORK/NETMASK, 0.0.0.0/0.0.0.0-D: match the target address-P-matching protocols generally use these three protocols (tcp | udp | icmp)-I: The inbound interface etho
select distinct species FROM pet interactively, the output looks like this:
+ --------- +
| Species |
+ --------- +
| Bird |
| Cat |
| Dog |
| Hamster |
| Snake |
+ --------- +
But when running in batch mode, like this:
Species
Bird
Cat
Dog
Hamster
Snake
If you want to obtain the interactive output format in batch mode, use mysql-t. To echo and output the executed command, use mysql-vvv.
Summary
This chapter lists the connection situations between th
It's really comfortable to use coroutine.
Here is a simple stack space model for Greenlet (from greenlet.c)
A pygreenlet is a range of C stacks addresses that must besaved and restored in such a It's the the full range of Thestack Contains valid data when we switch to it. Stack layout for a greenlet: | ^^^ | | Older Data | | | Stack_stop. |_______________| . | | . | Greenlet Data | |
For more information about ssh-general Linux technology-Linux technology and application, see the following. My VM is ubuntu8.04. I just installed openssh and want to access linux from windows.
But when I test ssh in a virtual machine, there is a problem. As follows:
I typed ssh localhost in the terminal and returned read from socked failed: connection reset by peer.
The result obtained by debug is: ssh-vvv localhost
OpenSSH_4.6p1 Debian-5ubuntu0.6,
When running composer under Win7, installing the asset plugin, SSL error occurs:D:\data\www\mmoyu\symapp>composer global require "fxp/composer-asset-plugin:1.0.0"Loadingcomposerrepositorieswithpackageinformation[Composer\Downloader\TransportException]The"https://packagist.org/packages.json"file couldnotbedownloaded:SSLoperationfailedwithcode1.OpenSSLErrormessages:error:14090086:SSLroutines:SSL3_GET_SERVER_CERTIFICATE:certificateverifyfailedFailedtoenablecryptofailedtoopenstream:operationfailedin
Check whether the remote port is open to bash:
echo >/dev/tcp/8.8.8.8/53 echo "open"
Transfer the process to the background:
Ctrl + z
Switch the process to the foreground:
fg
Generate a random hexadecimal number, where n is the number of characters:
openssl rand -hex n
Execute the command in a file in the current shell:
source /home/user/file.name
Extract the first five characters:
${variable:0:5}
SSH debug mode:
ssh -vvv user@ip_address
SSH with pem
Management Protocol), VAT (visual single-frequency tool), and WB (distributed whiteboard). -R assumes that the Esp/ah package adheres to the old instructions (RFC1825 to RFC1829). If this parameter is specified, Tcpdump does not hit the output field. Because there is no protocol version in the Esp/ah description, tcpdump cannot infer its version number. -S outputs the absolute TCP sequence number instead of the relative number.-T do not display timestamps for each capture line. -tt Each capture
"Memcached"① open "cmd" and enter the directory:② viewing the memcached version and HelpD:\memcached>memcached-h③ Installing memcached:d:\memcached>memcached-d Install④ Open memcached:11211 127.0. 0.1 -D startOrIf you need to output the error message or warning message on the server side, you can: - 11211 -VVVThat is, at this point in the client operation, the server side will display information:Memcached parameter Description-P: Port number, default 11211-L: Binding address (default: all all
the remote user's ruser home directory ~ /. Ssh/authorized_keys file, then local users can ssh ruser@10.10.10.11 (remote ip), need to access the user's corresponding relationship must be clear.
6. In an abnormal situation, we may encounter some errors. Even after completing the above steps, we still cannot log on without a password.OK
Confirm remote ~ The permissions of the/. ssh/authorized_keys file are correct, and the file is not serialized.
Make sure the Public Key is correct.
Use the ssh-
Previously used in Linux environments using PHP composer. Today try to run composer under the Win7, but there is an SSL error:D:\data\www\mmoyu\symapp>php-f%phprc%\composer installloading Composer repositories with package information [Composer\downloader\transportexception] T He"Https://packagist.org/packages.json"file could not being Downloaded:ssl operation failed with code1. OpenSSL Error Messages:error:14090086: SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate Verify failed failed to en
1. Create job through ConfigxmlEach job has a config. pom.xml, which contains configuration information about the job, such as SVN, location, and so on. In the interface, the file generated by the operation of this stepWhen creating a job through CONFIG.First create a folder under the $jenkins_home/jobs folder named after the job you want to create, such as I want to create a job with a name of 111Next, go to the 111 folder to create Config. config and write the file. The format of the file refe
The official download of the PHP installation package ext directory is included in the common PHP extension, but in some cases does not meet our project needs, such as the memcache extension is not in the official PHP installation package. Then we need to download the installation ourselves.This article lists the PHP extensions that are officially provided by PHP. Also give the steps to install PHP extensions under Windows (for example, install the memcache extension).Assuming that the memcached
information is output to the console.
Parameter Parsing:
-M memory size
-P Port
-U user
-Vv details
If you want memcached to run in the background as a daemon, you only need to add the-d option.
[Root @ localhost memcached-1.4.25] #/usr/local/memcached/bin/memcached
-M 64-p 11211-u nobody-d
Several important parameters
Several important parameters taken from the Internet
-P -D runs as a daemon.-U -M (Note: The memory size allocated to the memcached instance .)-C -V prompt info
] [--no-scripts] [--nO-progress] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [--ignore-platform-reqs] [packages1] ... [PACKAGESN]After removing the comma, the following error is reported:C:\clearvale\elgg\ztest\oauth_server_bshaffer>composer InstallLoading Composer repositories with the package informationInstalling dependencies (including Require-dev)Your requirements could not being resolved to an installable set of packages.Problem 1-Installat
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.