question Colleague J met a requirement, which caused an error to be reported in an interface that had nothing to do with the requirement. The error message was due to a SQL syntax problem. Normal SQL should look like this: select * from table where condition order by field limit from, size But now it […]
Tag: execute
Yunchen Shooting Range Medium_Socnet The internal network is docker. There is no site agent. There is no privilege escalation method for gcc. Solve the problem that ldd is too high and cannot execute exp. Specify the so file.
First, we can scan the current intranet through arp-scan. But I don’t know why it can’t be scanned out. Then we can use fscan to get the survival The scan here generally only opens port 22. So we use nmap for information collection scanning nmap -sS -sV -A -p- 172.25.0.13 Perform version service scanning through […]
Failed to execute yum install
Want to install: [root@localhost ~]# yum install lrzsz Updating Subscription Management repository. Unable to read customer identity This system has not been registered with the rights server. Registration can be done using subscription-manager. RHEL9-BaseOS 0.0 B/s | 0 B 00:00 Errors during downloading metadata for repository ‘RHEL9-BaseOS’: – Curl error (37): Couldn’t read a file:// […]
jquery multiple methods are executed first, java multiple methods are executed in order
This article mainly introduces the execution sequence of multiple jquery methods, which has certain reference value. Friends in need can refer to it. I hope you will gain a lot after reading this article. Let the editor take you to understand it together. Reference documentation: Timer 1. Why is js single-threaded? Java is a single-threaded […]
How a SQL is executed in MyBatis
Foreword MyBatis’s core interface for executing SQL is the SqlSession interface, which provides some CURD and transaction control methods. In addition, you can first obtain an instance of the Mapper interface through SqlSession, and then execute SQL through the Mapper interface. The execution of the Mapper interface methods is ultimately delegated to Methods in SqlSession. […]
Can javascript be executed directly? Where is javascript executed?
This article mainly introduces where javascript can be executed in the following places. It has certain reference value and friends in need can refer to it. I hope you will gain a lot after reading this article. Let the editor take you to understand it together. During the running of JavaScript, we often encounter some […]
python uses execjs and jsdom to execute js code solutions containing documents and set environment variables
Let’s talk about the environment first: win7 64-bit, python3.8.10. When python uses execjs to execute js code containing document, an error will appear: execjs._exceptions.ProgramError: TypeError: ‘document’ is undefined The reason is that pure js code does not contain objects in the browser (such as document, window, etc.). In this case, a library called jsdom is […]
Command mode – let the program execute smoothly
● Introduction to command mode Command Pattern is one of the behavioral design patterns. Compared with other design patterns, the command pattern does not have so many rules and regulations. In fact, it is not a very “ruled” pattern. However, based on one point, the command pattern is more flexible and changeable than other design […]
Java connection to Linux tool class (execute Linux commands, send files)
import ch.ethz.ssh2.Connection; import ch.ethz.ssh2.Session; import ch.ethz.ssh2.StreamGobbler; import com.jcraft.jsch.*; import lombok.Data; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang.StringUtils; import org.apache.commons.net.ftp.FTPClient; import org.springframework.stereotype.Component; import java.io.*; import java.util.Properties; @Data @Slf4j @Component public class ConnLinuxServerUtil { /** * Can be configured in nacos or passed in through parameters */ // linux server IP address private String ip = “”; // linux login […]