*注: www.heihei.work 为本人测试网站,可由 官方测试网站 scanme.nmap.org代替。 NO.11.扫描端口开放的服务nmap -T4 -A -v www.heiehi.work或nmap -Pn www.heihei.work (防止触发防火墙) 2.端口状态-Open ...
分类:
其他好文 时间:
2020-08-06 17:09:01
阅读次数:
109
ThreadPoolExecutor executor = new ThreadPoolExecutor(2, //核心线程数 5,//最大线程数 60L, //临时线程空闲时间 TimeUnit.SECONDS,//时间单位 new ArrayBlockingQueue<Runnable>(25) ...
分类:
编程语言 时间:
2020-08-06 17:06:28
阅读次数:
85
1.Linux命令的基本使用 序号 命令 单词 功能 1 ls list 查看当前文件的内容 2 pwd print work directory 查看当前所在文件路径 3 cd[dir_name] change directory 切换文件夹 4 touch[file_name] touch 创建 ...
分类:
系统相关 时间:
2020-08-06 17:02:54
阅读次数:
112
组合模式的角色:● Component(抽象构件):它可以是接口或抽象类,为叶子构件和容器构件对象声明接口, 在该角色中可以包含所有子类共有行为的声明和实现。在抽象构件中定义了访问及管理它的子构件的方法,如增加子构件、删除子构件、获取子构件等。● Leaf(叶子构件):它在组合结构中表示叶子节点对象 ...
分类:
其他好文 时间:
2020-08-06 09:20:48
阅读次数:
72
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, HTTPApp; type TForm1 = class( ...
##1.找出ifconfig “网卡名” 命令结果中本机的IPv4地址 案例思路 **分析:**要去出IP地址,首先要取到IP所在的行,取行可以通过head和tail来完成;取列我们会想到用cut来完成,不过此例中要注意分隔符(空格和冒号),因此要引入tr。 [root@localhost data ...
分类:
其他好文 时间:
2020-08-05 18:12:51
阅读次数:
90
中间件集群协议msgpack /// <author>cxg 2020-8-5</author> /// 集群协议 /// broker:代理服务器 unit groupProtocol; interface uses SysUtils, MsgPack ,classes ; const //命令字 ...
分类:
其他好文 时间:
2020-08-05 16:53:29
阅读次数:
75