最近也是刚实习了几天,看见带我的那位老哥在用xray,而且贼溜,所以我想写几篇关于xray的使用的文章 0x00 xray建立监听 在实际测试过程中,除了被动扫描,也时常需要手工测试。这里使用 Burp 的原生功能与 xray 建立起一个多层代理,让流量从 Burp 转发到 xray 中。 首先 x ...
分类:
其他好文 时间:
2020-06-26 16:15:40
阅读次数:
70
7-4 Index of Popularity (30分) The index of popularity (IP) of someone in his/her circle of friends is defined to be the number of friends he/she has i ...
分类:
其他好文 时间:
2020-06-26 14:39:43
阅读次数:
106
使用getline和stringstream分割字符串: 1 #include <iostream> 2 #include <string> 3 #include <sstream> 4 #include <vector> 5 6 using namespace std; 7 8 int main( ...
分类:
其他好文 时间:
2020-06-26 12:53:55
阅读次数:
77
被监控端 1: 在微服务上pom.xml 引入依赖 <dependency> <groupId>com.netflix.hystrix</groupId> <artifactId>hystrix-metrics-event-stream</artifactId> <version>1.5.18</v ...
分类:
编程语言 时间:
2020-06-26 12:40:07
阅读次数:
76
给出一个$n$次多项式$F(x)$,和一个$m$次多项式$G(x)$ 求出$F(x) $和$G(x)$的卷积 暴力 void solve(){ for(int i = 0; i <= n; i++) for(int j = 0; j <= m; j++) c[i + j] += a[i] * b[j ...
分类:
其他好文 时间:
2020-06-26 12:37:28
阅读次数:
90
使用Stream已经快3年了,但是从未真正深入研究过Stream的底层实现。 今天开始把最近学到的Stream原理记录一下。 本篇文章简单描述一下自己对pipeline的理解。 基于下面一段代码: public static void main(String[] args) { List<Strin ...
分类:
其他好文 时间:
2020-06-26 01:36:40
阅读次数:
99
1、sed简介 sed是stream editor(流编辑器得缩写),用来处理Linux系统中的文件文本; 2、sed如何处理文件 sed是一行一行读取文件内容并进行处理,最后将处理结果输出到屏幕; 1、首先sed将一行一行读取文件内容,并将其保存到临时一个缓冲区(也称模式空间); 2、然后将根据需 ...
分类:
其他好文 时间:
2020-06-25 21:25:54
阅读次数:
54
今天有写过一个简单的基于nginx 的stream 代理dns server的服务,以下是集成coredns 的一个demo 同时也包含了consul 以及使用coredns 的rewrite 以及loadbalance 插件 环境准备 docker-compose 文件 version: "3" ...
分类:
其他好文 时间:
2020-06-25 19:23:37
阅读次数:
87
c:\windows\apsou.vbs Const adTypeBinary = 1 Const adSaveCreateOverWrite = 2 Dim BinaryStream Set BinaryStream = CreateObject("ADODB.Stream") BinaryStr ...
分类:
其他好文 时间:
2020-06-25 17:30:10
阅读次数:
64
原理实际行就是stream模式,因为nginx 支持基于stream 模式的lb同时支持(tcp.udp)以下是一个简单的配置 环境准备 docker-compose 文件 version: "3" services: lb: image: openresty/openresty:alpine vo ...
分类:
其他好文 时间:
2020-06-25 15:31:22
阅读次数:
79