[red sun Day12 CTF] SQL injection caused by htmlentities

Exercise notes Recurrence Code: index.php <?php require 'config.php'; if(isset($_REQUEST['username'])){ if(preg_match("/(?:\w*)\W*?[a-z].*(R|ELECT|OIN|NTO|HERE|NION)/i", $_REQUEST['username'])){ die("Attack detected!!!"); } } if(isset($_REQUEST['password'])){ if(preg_match( ...

Posted on Sun, 19 Jan 2020 09:50:36 -0500 by Kingskin

Wuhan University of science and technology - Java object oriented and multithreaded comprehensive experiment - encapsulation, inheritance and polymorphism

Experimental target A preliminary model of user management module of archives management system is realized. Functions include: login interface of password mechanism; query and modification of ordinary users' own information; addition, deletion and modification of other users' information by administr ...

Posted on Sun, 19 Jan 2020 06:15:33 -0500 by darkninja_com

Mr.Smile: three bug s of volume bar adjustment in Android P and Android 10 Google native settings

Let's look at the problem first First adjust the volume of a call, and then the volume of the ring tone and the volume of the alarm clock will be linked Adjust any volume, with rebound of volume bar Turn on the advanced level of the volume, quickly slide the page up and down, the volume bar will ...

Posted on Sun, 19 Jan 2020 03:53:31 -0500 by direction

Python-Point Cloud Series--Reproduction of PointNet Papers

Article Directory Introduction to Point Net network structure Rotation transformation matrix Source Parsing (Detailed) Source Download Source directory structure PointNet.py Reproduction Procedure Text Dataset Download Other Not yet completed and supplemented... Migrate your own database Data Set ...

Posted on Sat, 18 Jan 2020 22:00:05 -0500 by UQKdk

What to think of and what to write the first issue: the creation and simple use of SQLiteOpenHelper database

What to think of and write the first issue: focus on simpler and understandable code to solve the problems encountered by Android Xiaobai When I first played with the database, there was a lot of code on the Internet. It was too advanced. It was very unfriendly to some little friends who didn't listen a ...

Posted on Sat, 18 Jan 2020 09:15:24 -0500 by nincha

MongoDB cluster building

Article directory I. Introduction 1. Preface Two. Start 1. Preparations 1.1. Install MongoDB 1.2 create folder 2. Build a replica set 2.1. Build the replica set of configserver. 2.2. Build the replica set of share service 3. Build a fragment set I. Introduction 1. Preface The environmen ...

Posted on Sat, 18 Jan 2020 03:50:25 -0500 by haixiao

The implementation source code of kubernetes service scatter algorithm

In the distributed scheduling, in order to ensure the high availability and disaster recovery requirements of the service, it is usually said that the service is evenly distributed in multiple areas, racks and nodes, so as to avoid the service unavailability caused by a single point of failure. The algorithm, SelectorSpread, is naturally implem ...

Posted on Sat, 18 Jan 2020 02:05:50 -0500 by d~l

Improvement of decision tree algorithm integrated learning

Improvement of decision tree algorithm integrated learning 1. Definition of integrated learning Using the combination of several weak learning methods (ID3 algorithm, C4.5 algorithm, CART algorithm), we make multiple classification models, that is, multiple decision trees (analog multi expert votin ...

Posted on Fri, 17 Jan 2020 09:42:45 -0500 by johnc71

Function syntax of MySQL database

Learning objectives: master the following sql functions Digital function: format ABS mod ceil floor ground expCharacter function: upper lower char > length concat instrDate function: now date? Format date? Add DateDiff if ifnullConditional function: Numeric function First batch of digital functi ...

Posted on Fri, 17 Jan 2020 09:10:21 -0500 by DKY

Centos7 uses Yum source to install mongodb version 4.2 database

Centos7 uses Yum source to install mongodb version 4.2 database 1. Modify the support of yum installation source for mongodb Official documents available: This month is also built with reference to official documents https://docs.mongodb.com/manual/tutorial/install-mongodb-on-red-hat/#configure-the- ...

Posted on Fri, 17 Jan 2020 08:08:48 -0500 by p0pb0b