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:// […]

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. […]

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 […]

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 […]