something interesting. 1:
The results returned by the page expose the target using Perl and Storable 2.7. After Google search, I know that Storable is a Perl module used for data serialization. Check the Storable official documentation. We can see a large security prompt:
Some features of Storable can lead to secur
packaged 2:vim-enhanced-7.4.160-1.el7.x86_64 required--Checking transaction---> Package GPM-LIBS.X86_64.0.1.20.7-5.EL7 will be installed---> Package perl.x86_ 64.4.5.16.3-283.EL7 will be installed--processing dependencies Perl (Socket) >= 1.3, which is required by package 4:perl-5.16.3-283.el7.x86_64 and is processing dependencies Perl (Scalar::util) >= 1.10, which is required by the package 4:perl-5.16.3-283.el7.x86_64 and is processing dependency Perl-macros, it is package 4: perl-5.16.3-283.
IDPrivate int recordId; // the ID of the corresponding recordPrivate String key; // The Key of the access record}
Search by index, and perform the following three steps:
1. Search for the corresponding IndexEntry In the RecordStore named "index" based on the String.2. Retrieve the IndexEntry and obtain the ID of the record.3. obtain another RecordStore Record Based on the ID number, and then you can read, update, and delete the record.
As shown in:
Because the IndexEntry stores very little da
an index:
Class Indexentry {private int selfid; ID of the Indexentryprivate int RecordID; ID of the corresponding recordPrivate String key; Access key for Record}
Based on index lookup, 3 steps are performed:
1. Finds the corresponding indexentry in the recordstore named "Index" based on string.2. Remove the indexentry and get the record ID number.3. Get another RecordStore record based on the ID number, and then you can read, update, and delete the record.
As shown in the following illustratio
DNS servers refuse to respond to requests from non-local operators in the region, so we have to distribute the monitoring sites to different places. In fact, it is enough to use the nagios distributed method to do this. However, if you want to do an instant trigger emergency task, even if you click execute immediately on the nagios page, it will take a while to return all the results. Therefore, I chose to write a distributed asynchronous system.
The central controller script is as follows:
#!
, changed! Your/perl/install/DIR/bin/Perl.Step 4: Check whether the bugzilla module is missing. Sadly, I was prompted that the old storable module could not be found during execution. I downloaded the latest one from www.cpan.org. So I had to hack checksetup. Pl to see what was going on. It turns out that the version numbers required by the storable and dynloader modules do not match. It requires version 2.
Serialize () and unserialize () are explained in the PHP manual as:
Serialize-generates a storable representation of a value, producing a representation of the value that can be stored.
Unserialize-creates a PHP value from a stored representation to create a PHP value from the stored representation.
Serialize () returns a string that contains a byte stream representing value that can be stored anywhere. This facilitates the storage or delivery of
an abstract basic subclass for easy implementation of portable server applications, which provides a way to implement a Daemon common task: start, log on, connect to the client, authenticate, set environment variables for security, and enter the working status.
Storable-0.6.11 makes data storage more continuous and stable. You can store any data structure to the disk in a recursive way. you can also retrieve data from the storage file and recreate
The description of serialize () and unserialize () in the php manual is: serializeGeneratesastorablerepresentationofavalueserialize generates a stored value indicating that the pipeline creates PHP from the stored Representation
Serialize () and unserialize () are described in the php manual as follows: serialize Generates a storable representation of a value serialize Generates a stored value that indicates unserialize Creates a PHP value from a stor
Serialize () serialization function of PHP. The explanations of serialize () and unserialize () in the php Manual are: serialize-Generatesastorablerepresentationofavalue, which generates a representation of the stored values. Unserialize-crecreserialize () and unserialize () are described in the php manual as follows:
Serialize-Generates a storable representation of a value to generate a representation of a stored value.
Unserialize-Creates a PHP v
The client serialization object of Perl memcached adopts the nfreeze method of the storable module, which calls the C extended do_store method. The deserialization uses the thaw method of the storable module, this method is the do_retrieve method of the c extension called.
In PHP, The serialize and unserialize operations are performed. Results that cannot be normally read.
Perl stores references to an arr
1 wants to store the data "Barbaz" with Key "Foo". Client 1 first refers to the node list (A, B, C) and calculates the hash value of key "foo", assuming memcached B is selected. Then, Client 1 directly connect to memcached B, and the data "Barbaz" is stored through key "foo". Client 2 uses the same clients library (which means phase one is the same as the hashing algorithm) and also has the same memcached list (A, B, C).So, after the same hash calculation (phase one), Client 2 calculates the k
hash value of key "foo", assuming memcached B is selected. Then, Client 1 directly connect to memcached B, and the data "Barbaz" is stored through key "foo". Client 2 uses the same clients library (which means phase one is the same as the hashing algorithm) and also has the same memcached list (A, B, C).So, after the same hash calculation (phase one), Client 2 calculates the key "foo" on memcached B, and then it requests memcached B directly to get the data "Barbaz".Various clients have differ
an option for cache::memcached to generate an instance. The cache::memcached commonly used options are shown below.
Options
Description
Servers
specifying memcached servers and ports with arrays
Compress_threshold
Values to use when compressing data
Namespace
Specify the prefix to add to the key
In addition, cache::memcached can then be saved after serializing complex Perl data through the
then be saved after serializing complex Perl data through the Storable module, so hashes, arrays, objects, and so on can be saved directly to the memcached. Save Data
The method of saving data to memcached has the add replace set
They are used in the same way:
My $add = $memcached->add (' key ', ' value ', ' term ');My $replace = $memcached->replace (' key ', ' value ', ' term ');My $set = $memcached->set (' key ', ' value ', ' term ');
You can spec
Serialize () and unserialize() are explained in the PHP manual:
Serialize -generates a storable representation of a value
Serialize -represents a value that can be stored
unserialize -creates A PHP value from a stored representation
unserialize-Create a PHP value from a stored representationDeclaring a classClass Dog { var $name;var $age;var $owner; Function Dog ($in _name = "Unnamed", $in _age = "0", $in _owner = "Unknown") {$this-> name = $in _name;
Serialize () and unserialize () are explained in the PHP manual:
Serialize-generates a storable representation of a value
Serialize-produces a representation of a value that can be stored
Unserialize-creates a PHP value from a stored representation
unserialize-create PHP values from stored representations
Obviously, the interpretation of "a stored representation" translates into a stored value that is still very confusing to the meaning of it.
If the
Release date:Updated on:
Affected Systems:HTML: EP 0.2011Description:--------------------------------------------------------------------------------Bugtraq id: 59833CVE (CAN) ID: CVE-2012-6142HTML: EP is a system that embeds Perl into HTML.The Spoon: Cookie of HTML: EP module 0.2011 for Perl does not correctly use the Storable: thaw function, which allows remote attackers to execute arbitrary code through specially crafted requests.Link: http://xfor
Spoon signature verification security measure Bypass Vulnerability
Release date:Updated on: 2014-06-07
Affected Systems:Perl-Spoon perl-spoke 0.24Description:--------------------------------------------------------------------------------Bugtraq id: 59834CVE (CAN) ID: CVE-2012-6143Spoon is an application framework for building social software Web applications.Spoon module 0.24 for Perl's Spoon: Cookie does not properly use the Storable: thaw functio
Install the Bugzilla-open source Bug management tool-general Linux technology-Linux technology and application information in Linux. For more information, see the following. 1. Install a Database Engine
Mysql> grant all privileges on *. * to bugs @ '%' identified by 'bugs '; // create a bugs user and grant the root permission to the bugs user, after creating a user, you can use Mysql-Front in windows to connect to the mysql database.
Mysql> flush privileges;
Mysql> create database bugs;
2. Ins
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.