Batch modify file name under Linux

##################################### #Case sharing of batch modification of file names under Linux #date: 2019-05-09  #Discuz Forum: www.slinuxserver.com #QQ: 1431975440 #E-mail: 1431975440@qq.com ##################################### The documents to be modified are as follows: [root@localhost file]# ll total 8 -rw-r--r--. 1 root root  98 Ma ...

Posted on Thu, 14 Nov 2019 09:20:24 -0800 by rd2010

How to retrieve password through email in Java Web

In the development of Java Web project, the use of e-mail to help users retrieve passwords.Effect display: Need a jar package to send mail: javax.mail.jar1.JSP page (set mailbox input box) HTML: < p > please enter the email associated with your account</p> Email: < input type = "email" name = "email" id = & ...

Posted on Thu, 14 Nov 2019 08:13:20 -0800 by uglyrat

Object oriented composition

1. Composition and reusability The important way of software reuse is not only inheritance, but also combinationCombination: the value of data attribute in one class is the object of another class #!/usr/bin/env python # -*- coding:utf-8 -*- # Author: vita class Equip: #Weapons and equipment def fire(self): print('release Fire sk ...

Posted on Thu, 14 Nov 2019 06:59:43 -0800 by chet139

Docker image creation, data management and network communication

Blog Outline:I. how to create Docker image1. Create based on existing image2. Create based on local template3. Create based on DockerfileData management of Docker1. data volume2. Data volume containerIII. Docker network communication1. Port mapping2. Container interconnection I. how to create Docker image Docker image is not only the core te ...

Posted on Thu, 14 Nov 2019 03:20:07 -0800 by hey_suburbia

TCP for Connection Tracking

brief introduction tcp is more complex than udp protocol.In order to provide reliable transmission for the application layer, the tcp protocol introduces the features of flags, options, serial numbers, sliding windows and so on. TCP Flag Bits #define TCPHDR_FIN 0x01 #define TCPHDR_SYN 0x02 #define TCPHDR_RST 0x04 #define TCPHDR_PSH 0x08 #define ...

Posted on Wed, 13 Nov 2019 18:14:31 -0800 by netdog

Rsync & inotify tools real-time synchronization

1. After deploying the rsync service according to the previous essay on rsync, you can start the deployment of inotify 2. Deployment and use of inotify ①. Check whether the system supports inotify [root@iZ25w1kdi5zZ ~]# ls -lsart /proc/sys/fs/inotify total 0 0 dr-xr-xr-x 0 root root 0 Sep 19 09:38 .. 0 -rw-r--r-- 1 root root 0 Jan 1 13 ...

Posted on Wed, 13 Nov 2019 12:10:37 -0800 by Hafkas

Groovy unit test framework spock basic function Demo

spock is an all-around unit testing framework. Recently, we are doing the research and attempt of unit testing framework. The currently determined framework includes spock, Junit, Mockito and powermock. Because of its own use of Groovy, I prefer to use spock to get home, but the compatibility is poor, especially with the high-level syntax of ...

Posted on Wed, 13 Nov 2019 11:47:20 -0800 by syed

Scan blaster for CCTV camera: Cameradar

Scan blaster for CCTV camera: Cameradar 0x01 function introduction      Brief introduction: Cameradar is a RTSP data flow access tool based on docker. The tool can brutally crack the account password through the form of RTSP protocol authentication. It can penetrate conventional CCTV cameras. The account key dictionary and target flow path fie ...

Posted on Wed, 13 Nov 2019 04:41:15 -0800 by pratheshshah

Building Nginx website service in Linux system

About Nginx A high-performance, lightweight Web service software High stability Low system resource consumption High processing power for HTTP concurrent connections A single physical server can support 30000 ~ 50000 concurrent requests Nginx compilation and installation Nginx source package download Install support software [root@ ...

Posted on Tue, 12 Nov 2019 13:44:15 -0800 by Kazhultee

nginx service introduction and installation

nginx introduction nginx is a lightweight high-performance HTTP service, reverse proxy service and email (IMAP\POP3) proxy server. Advantage: As a Web server: compared with Apache, nginx uses less resources, supports more concurrent connections, and embodies higher efficiency; nignx uses epoll and kqueue as the development model, and can sup ...

Posted on Tue, 12 Nov 2019 10:59:19 -0800 by rline101