[Comprehensive explanation of Linux commands] 207. “setsid” and “unset” commands: powerful tools for managing process sessions and deleting variables

Article directory setsid Additional information grammar Options Example unset summary The main purpose Options parameter return value example Learn `python` from scratch setsid Run the program in a new session Supplementary instructions setsid command The child process inherits from the parent process: SessionID, process group ID and open terminal. If the child process wants to […]

OSCP Series Shooting Range-Esay-SunsetDecoy

Summary getwebshell: Found the zip file → zip has a password → john exploded the zip password → Found passwd and shadow files → Exploded shadow password → ssh login Right escalation idea: Discover background running programs → Upload pspy64 for viewing → Discover chkrootkit → chkrootkit Elevate privileges Preparation Start VPN Obtain the attacking […]

OSCP Series Shooting Range-Esay-SunsetNoontideNanny Level

OSCP series shooting range-Esay-SunsetNoontide Directory OSCP Series Shooting Range-Esay-SunsetNoontide Summarize Preparation Information collection-port scanning Target open port collection Target port corresponding service detection Information collection-port testing chatgpt learning Exploit-getwebshell Exploit-unrealircd Intranet travel-getshell interactive shell FLAG1 Get Information collection-Intranet basic information collection Detect the distribution version of Linux operating system Detecting the kernel version of a […]

OSCP series shooting range-Esay-SunsetDecoy nanny level

OSCP series shooting range-Esay-SunsetDecoy nanny level Directory OSCP series shooting range-Esay-SunsetDecoy nanny level Summarize Preparation Information collection-port scanning Target open port collection Target port corresponding service detection Information collection-port testing 22-SSH port information collection 22-SSH port version information and MSF utilization 22-Login methods supported by SSH protocol 22-SSH manual login attempt (none) 22-SSH weak password […]

Hbase-spring-boot error reporting and solving java.io.FileNotFoundException: HADOOP_HOME and hadoop.home.dir are unset. Configure environment variables

Problem scenario: This problem occurs when the hbase template class is encapsulated in spring-boot for testing. The error message is: Error description: java.io.FileNotFoundException: java.io.FileNotFoundException: HADOOP_HOME and hadoop.home.dir are unset. -see https://wiki.apache.org/hadoop/WindowsProblems at org.apache.hadoop.util.Shell.fileNotFoundException(Shell.java:534) ~[hadoop-common-2.10.0.jar:na] at org.apache.hadoop.util.Shell.getHadoopHomeDir(Shell.java:555) ~[hadoop-common-2.10.0.jar:na] at org.apache.hadoop.util.Shell.getQualifiedBin(Shell.java:578) ~[hadoop-common-2.10.0.jar:na] at org.apache.hadoop.util.Shell.<clinit>(Shell.java:675) ~[hadoop-common-2.10.0.jar:na] at org.apache.hadoop.util.StringUtils.<clinit>(StringUtils.java:78) ~[hadoop-common-2.10.0.jar:na] at org.apache.hadoop.conf.Configuration.getBoolean(Configuration.java:1567) ~[hadoop-common-2.10.0.jar:na] at org.apache.hadoop.hbase.HBaseConfiguration.checkDefaultsVersion(HBaseConfiguration.java:70) ~[hbase-common-2.4.3.jar:2.4.3] at org.apache.hadoop.hbase.HBaseConfiguration.addHbaseResources(HBaseConfiguration.java:84) ~[hbase-common-2.4.3.jar:2.4.3] […]

[Shell command collection system settings]? Linux cancel or delete the environment variables that have been set unset command user guide

Directory Title Description Grammar format Parameter Description Error condition Notes Bottom layer implementation Example example one Example two Example three Example four Example five Example six Example seven Implemented in c language Conclusion Shell command column: Linux Shell command full analysis Description In Linux, the unset command is used to cancel or delete the environment […]

firewalld firewall (it’s time to watch the sunset and sunset again)

Article directory 1. Overview of firewalld Two, the relationship between firewalld and iptables 3. The concept of firewalld area Four, firewalld data processing flow Five, firewalld checks the rules of the source address of the packet Six, firewalld firewall configuration types 1. Runtime configuration 2. Permanent configuration Seven, firewalld firewall configuration method Eight, use the […]

Field projection for MongoDB aggregation pipeline ($addFields, $set, $unset, $project)

In the previous article, we introduced the document filtering and grouping statistics of the MongoDB aggregation pipeline: $match: document filtering $group: document grouping, and introduces common operations in grouping: $addToSet, $avg, $sum, $min, $max, etc. For further information, please refer to:Document filtering and group statistics of MongoDB aggregation pipeline https://blog.csdn.net/m1729339749/article/details/130034658This article mainly introduces the use […]