编程笔记
-
HelloWolrd
java入门仪式 新建一个文件名为helloworld.java的文件 编写代码 public class helloworld{ public static void main(String[] args){ System.out.print("Hello World!"); } } cmd命令窗口,进入该java文件的根目录…
-
Object--hashCode()
hashCode() 1 /** 2 * Returns a hash code value for the object. This method is 3 * supported for the benefit of hash tables such as those provided by 4 * {@link java.util.HashMap}. 5 * <p> 6 * …
-
R语言中 str_detect函数
str_detect函数属于tidyverse包中函数, 功能类似于grepl函数。 001、 str1 <- c("xx", "yy", "zz", "xx", "pp", "xx") str1 grepl("xx", str1) str_detect("xx", str1)
-
Docker 04 构建并运行基础镜像
ZIP示例应用程序地址:https://github.com/docker/getting-started/archive/refs/heads/master.zip linux系统使用 wget -bcO app.zip https://github.com/docker/getting-started/archive/refs/heads/master.zi…
-
MathProblem 85 Five pirates and a 1000 coins problem
Five pirates have come across a treasure of 1000 coins. According to pirate rules the pirate of highest rank must make a suggestion on how to divide the money. If a majority agree to his suggestion t…
-
MathProblem 83 To confess or not confess problem
You and your partner in crime are both arrested and questioned separately. You are offered a chance to confess, in which you agree to testify against you partner, in exchange for all charges being dr…
-
网传JBOSS EAP/AS 6.x Remote Code Execution
https://cxsecurity.com/issue/WLB-2022070035发现一份msf的脚本,主要是remoting 3握手aced0005然后/x77/x01/x16/x79这个魔数+CommonsCollections5(当然要有cc5这个lib,没安装过jboss不确定是不是默认就带这个包)
-
前段配置缺陷
前端配置常用场景 sop(同源策略) 跨域访问方式: csp(内容安全策略) 为了减少xss,csrf。 csp绕过手法 cors
-
齐治堡垒机
齐治堡垒机新版本 app="齐治科技-堡垒机" 这个是php版本的 title=="登录 RIS 数据中心风险洞察系统"但是通过查询发现fofa上仅有几条,访问第一条,就确认是蜜罐估计这几个都是蜜罐,通过jsonp抓取相关信息,无奈从…
-
lamp
目录 lamp平台构建 安装httpd 安装mysql 安装php 安装报错问题 lamp平台构建 lamp平台软件安装次序:httpd --> mysql --> php 注意:php要求httpd使用prefork MPM 安装httpd //YUM源配置 [root@z1 yum.repos.…