https 39 whitelist protocol

安全学习之路Day39

![](https://img2023.cnblogs.com/blog/3073714/202308/3073714-20230804165747072-317927668.png) ![](https://img2023.cnblogs.com/blog/3073714/202308/30737 ......
Day 39

#轮廓线dp#HDU 1400 Mondriaan's Dream

[题目传送门](https://acm.hdu.edu.cn/showproblem.php?pid=1400) # 分析 状压dp会TLE,考虑用轮廓线dp, 设 $dp[i][j][S]$ 表示现在处理到 $(i,j)$ 这个位置轮廓线上状态为 $S$ 的情况 二进制位为1表示左边或者上方有骨牌 ......
轮廓 Mondriaan Dream 1400 HDU

「GYM103470G」Paimon's Tree

树上区间dp。 由于dp转移跟左右端点有关,考虑怎样转移端点。 左右端点只有被染色了才能被转移,那就多记个两维,表示左右端点是否已经被染色就好了。 $dp_{u,v,t,0/1,0/1}$ 表示左右端点 $u$,$v$ 当前已经染了 $t$ 个点,左右端点染色四种情况的路径长度。 ```cpp #i ......
103470G 103470 Paimon Tree GYM

猴子补丁;python中反射;http和https区别

# 猴子补丁;python中反射;http和https区别 ## 什么是猴子补丁,有什么用途 ```python - 猴子补丁(Monkey Patching)是一种在运行时动态地修改或扩展已有代码的技术。是在不修改源代码的情况下,改变代码的执行方式或增加功能。 - Python的类是可变的(mut ......
猴子 补丁 python https http

什么是猴子补丁,有什么用途,什么是反射,python中如何使用反射,http和https的区别

1 什么是猴子补丁,有什么用途 ```python 猴子补丁:动态修改或扩展代码的技术,通在不修改源代码的情况下,改变代码的执行方式或增加功能 -Monkey Patching是在 运行时(run time) 动态替换属性(attributes)或方法 -Python的类是可变的(mutable), ......
猴子 补丁 用途 python https

POJ 1041 John's trip

## [$POJ$ $1041$ $John's$ $trip$](http://poj.org/problem?id=1041) ### 一、题目大意 多组数据,输入$x,y,z$,表示结点$x$和结点$y$之间有一条序号为$z$的边,如果这个 **无向图** 中存在欧拉回路,就 **输出字典序最 ......
1041 John trip POJ 39

Uncaught SyntaxError: Identifier 'originalPrompt' has already been declared

![](https://img2023.cnblogs.com/blog/1232210/202308/1232210-20230804102520004-1269016387.png) 控制台报错: Uncaught SyntaxError: Identifier 'originalPrompt' ......

nginx使用openssl自签名,实现https登录

1.确认nginx是否已安装SSL模块 查验方法:进入sbin目录,执行以下语句,显示结果如标记所示则表示安装成功 ./nginx -V 2.确认系统以安装SSL工具,开始制作证书 选择一个存放证书的路径,执行以下语句即可: (1)生成密钥,得到文件private.key openssl genpk ......
openssl nginx https

Don't be clever

![](https://img2023.cnblogs.com/blog/474029/202308/474029-20230803214759188-444633570.png) ![](https://img2023.cnblogs.com/blog/474029/202308/474029-2 ......
clever Don 39 be

[async]子线程内开启协程 RuntimeError: There is no current event loop in thread 'Thread-2'

在子线程内直接获取事件循环会报错:RuntimeError: There is no current event loop in thread 'Thread-2',此时的代码为: loop = asyncio.get_event_loop()loop.run_until_complete(协程函数 ......
线程 RuntimeError current Thread thread

中间人攻击 http与https的区别

由一个视频引发的问题 https://v.douyin.com/iJJ9n2r7/ 中间人攻击 由于HTTP本身不具备加密的功能,所以也无法做到对通信整体(使用HTTP协议通信的请求和相应的内容)进行加密,即HTTP报文使用明文(未经过加密的报文)方式发送。 (对应于信件使用的文字不加密) 抓包:可 ......
中间人 https http

Vue3+ setup语法中报错 'defineProps' is not defined(eslint[no-undef])

## 1. 问题 ### 1.1 场景 使用**Vue3 + setup**语法,使用`defineProps`时出现Eslint错误: ![](https://img2023.cnblogs.com/blog/2240374/202308/2240374-20230803101840773-197 ......
中报 defineProps 语法 no-undef defined

解决 heatmap.js 'Cannot assign to read only property 'data' of object' 问题与 patch-package 使用方法

## **一、问题背景** 问题是这样发生的,因为项目中需要实现热力图的功能,所以使用了第三方的库 **[heatmap.js](https://github.com/pa7/heatmap.js)**。 但是在一些浏览器中使用它时,会出现这个错误: ``` > Uncaught TypeError ......

The Report Viewer Web Control HTTP Handler has not been registered in the application's web.config file. Add

system.webServer 内加 <handlers> <add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl. ......

服务器执行hbase shell报错: ipc.AbstractRpcClient: SASL authentication failed. The most likely cause is missing or invalid credentials. Consider 'kinit'.

2023-08-01 21:02:09,923 FATAL [main] ipc.AbstractRpcClient: SASL authentication failed. The most likely cause is missing or invalid credentials. Consi ......

"account_id like '%':account_id||'%'", hasKey(p, "account_id")

该 SQL 语句用于进行模糊查询,目标是根据传入的参数 `p` 中的 `account_id` 来查询 `sys_account` 表中的数据。 解释如下: 1. `"account_id like '%':account_id||'%'"`: 这是 SQL 的查询条件部分,其中 `account_ ......
account_id account quot 39 id

python3 install 其他包 报:ModuleNotFoundError: No module named '_ctypes' 的问题

# python3 install 其他包 报:ModuleNotFoundError: No module named '_ctypes' 的问题 > python2 > import _ctypes 没有问题 > python3 > import _ctypes 报上述错误,说明_ctypes确 ......

Nginx报错Can't open PID file /var/run/nginx.pid (yet?) after start: No such file or directory

# 1. 关于报错 启动nginx服务发现 Systemd 中存在报错: > Can't open PID file /var/run/nginx.pid (yet?) after start: No such file or directory ![](https://img2023.cnblog ......
file directory Nginx after nginx

如何与 Dillard's 建立 EDI 连接?

Dillard's 是主营时装、化妆品和家居用品的零售商,为顾客提供高质量的商品和优质的购物体验。2022年,Dillard's 公司位列当年《财富》美国 500 强排行榜第 488 名。本文将为大家介绍 Dillard's 的 EDI 需求,了解如何快速对接 Dillard's EDI。 Dill ......
Dillard EDI 39

ModuleNotFoundError: No module named 'cv2'

# 前言 运行 `python3 req.py` 文件时遇到:`ModuleNotFoundError: No module named 'cv2' ` 原因是:环境中缺少 `cv2` 的包,所以会出现 `No module named 'cv2’` 的问题。 `cv2` 的包名并不叫 `cv2` ......
ModuleNotFoundError module named 39 cv2

CF1835D Doctor's Brown Hypothesis

由于 $k$ 够大,你可以随便在图上走环,不用担心不用走,那么你所担心的只有环长的 $\rm gcd$。 将所有强连通分量先求出,满足条件的点对必然在一个强连通分量里。我们以随便一个点为根,跑出强连通分量中的一棵dfs树,我们断言,如果 $dep_x-dep_y \equiv dep_y-dep_x ......
Hypothesis Doctor 1835D Brown 1835

渗透-02:HTTPS主干-分支和HTTPS传输过程

# 一、HTTPS主干-分支 ## 第一层 第一层,是主干的主干,加密通信就是双方都持有一个对称加密的秘钥,然后就可以安全通信了。 问题就是,无论这个最初的秘钥是由客户端传给服务端,还是服务端传给客户端,都是明文传输,中间人都可以知道。那就让这个过程变成密文就好了呗,而且还得是中间人解不开的密文。 ......
HTTPS 主干 分支 过程 02

使用WinINet实现HTTP/HTTPS下载文件

环境: Windows平台:Windows 10 专业版(64位)、VS2019 开始: 一、工具类 class internet { public: internet(HINTERNET hInternet) : _internet(hInternet) { } internet(internet ......
WinINet 文件 HTTPS HTTP

Could not find server 'server name' in sys.servers. SQL Server 2014

Could not find server 'server name' in sys.servers. SQL Server 2014 At first check out that your linked server is in the list by this query select nam ......
server servers Server Could 39

关于安装python包执行setup.py文件报错类似提示line 155 warnings.warn(f'Cannot copy file {src_path}.') SyntaxError: invalid

首先可以确定世python语法问题,一般来说python3.6以后字符串使用f是没有问题的,后来发现问题所在,原来我安装好python以后,没有将python命令软连接到python3,导致python命令其实一直是使用的python2,所以才会有这样的问题。所以,当python3安装好以后,一定要 ......
SyntaxError warnings src_path invalid 文件

https请求忽略ssl

import com.alibaba.fastjson.JSON;import com.alibaba.fastjson.JSONObject;import com.zeekrlife.udepsvctasks.entity.push.Result;import lombok.extern.slf4 ......
https ssl

C# 反序列化报错 XML 文档(1, 2)中有错误:不应有 <xml xmlns=''>

1.XmlSerializer症状 用XmlSerializer进行xml反序列化的时候,程序报错: ​不应有 <xml xmlns=''>。​​说明: ​执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 ​异常详细信息: ​S ......
序列 错误 文档 xmlns 39

记一次 HTTPS 抓包分析和 SNI 的思考

日常听说 HTTPS 是加密协议,那现实中的 HTTPS 流量,是真的完全加密吗? ——答案是,不一定。原因嘛,抓个包就知道了。 我们用 curl 命令触发一下: ```bash curl -v 'https://s-api.37.com.cn/api/xxx' * Trying 106.53.10 ......
HTTPS SNI

《莫生气》 外文名《Don't be angry》

人生就像一场戏,因为有缘才相聚。 相扶到老不容易,是否更该去珍惜。 为了小事发脾气,回头想想又何必。 别人生气我不气,气出病来无人替。 我若气死谁如意,况且伤神又费力。 邻居亲朋不要比,儿孙琐事由他去。 吃苦享乐在一起,神仙羡慕好伴侣。 中文名《莫生气》 外文名《Don't be angry》 启 ......
angry Don 39 be