from threading import Thread g_num = 0 def test1(): global g_num for i in range(1000000): g_num += 1 print(" test1 g_num=%d"%g_num) def test2(): globa ...
分类:
编程语言 时间:
2020-05-07 21:24:41
阅读次数:
75
from multiprocessing import Pool import os,time,random def worker(msg): start_time = time.time() print("(%s)开始执行,进程号为(%s)"%(msg,os.getpid())) time.sle ...
分类:
编程语言 时间:
2020-05-07 21:24:09
阅读次数:
72
仅供个人娱乐 靶机信息 Lazysysadmin靶机百度云下载链接:https://pan.baidu.com/s/1pTg38wf3oWQlKNUaT-s7qQ提取码:q6zo 信息收集 nmap全端口扫 nmap -sS -Pn -A -p- -n 192.168.181.192 别的不管,66 ...
分类:
其他好文 时间:
2020-05-07 20:17:33
阅读次数:
73
1.idea类注释 打开:file->setting->Editor->Filr and Code Templates->Includes->File Header 类注释模板: /***@Program: ${PROJECT_NAME}*@ClassName: ${NAME}*@Author: s ...
分类:
其他好文 时间:
2020-05-07 19:53:58
阅读次数:
220
仅供个人娱乐 靶机信息 下载地址:http://www.five86.com/downloads/DC-4.zip 一、主机扫描 arp-scan -l nmap -p 1-65535 -A -sV 192.168.17.130 二、信息收集 dirb http://192.168.17.130 三 ...
分类:
其他好文 时间:
2020-05-07 19:49:44
阅读次数:
79
仅供个人娱乐 靶机信息 靶机下载地址:https://www.vulnhub.com/entry/sickos-12,144/一、主机发现 arp-scan -l 二、端口扫描 1. masscan --rate=10000 -p0-65535 192.168.181.133 三、端口服务识别 nm ...
分类:
其他好文 时间:
2020-05-07 19:29:39
阅读次数:
106
package main import ( "fmt" "time" "github.com/ysmood/rod" "github.com/ysmood/rod/lib/input" "github.com/ysmood/rod/lib/launcher" ) func Example_reuse ...
分类:
其他好文 时间:
2020-05-07 19:26:29
阅读次数:
64
Vue 动态表格+插入自定义表头 <!-- 表格 --> <el-table :data="templateData" style="width: 100%;" stripe ref="templateTable" :empty-text="$t('basic.noData')" @filter-c ...
分类:
其他好文 时间:
2020-05-07 18:14:31
阅读次数:
190
2020年05月07日 17:38 1.要想让硬件知道你指定的命令,我们必须通过Shell将我们输入的命令与内核沟通。2.Linux系统默认的shell就是bash在系统中的地址为/bin/bash。3.bash shell的最常用的功能: (1)、历史命令(history) ~/.bash_his ...
分类:
其他好文 时间:
2020-05-07 18:10:13
阅读次数:
64
在线程中的设置代码如下,首先需要确保你是单个线程在跑! 查看对应线程的cpu占用方法如下: adb shell top p [线程所属进程的pid,如相机进程就是camerahalserver的pid,也是通过top命令查看] H | [findstr/grep] [线程名称,采用prctl设置线程 ...
分类:
移动开发 时间:
2020-05-07 17:00:51
阅读次数:
83