比如命令使用aes-256-cbc加密“abc”密码为“password” 1 echo "abc" | openssl enc -aes-256-cbc -a -nosalt -pass pass:password 这个命令的加密结果在苹果系统macos 10.15或者ubuntu 16上为
一次使用curl测试接口结果返回了一下http头但没返回请求体 1 2 3 4 5 6 7 HTTP/1.1 200 P3P: CP=CAO PSA OUR Content-Encoding: gzip Content-Type: text/html;charset=UTF-8 Transfer-Encoding: chunked Date: Tue, 01 Dec 2020 08:01:30 GMT Connection: close 仔细一看发现返回但格式是gzip 所以要想显示请求体就要加上"–compressed"参数
网上讲的sparse checkout方法并没有什么用,因为稀疏检出的方法依旧克隆了全部仓库的历史记录。 最新的git 2.19之后才能够实现克隆部分文件 参考了这个答主的方法:https://stackoverflow.com/questions/600079/git-how-do-i-clone-a-subdirectory-only-of-a-git-repository/52269934#52269934
因为无论usb接口还是webcam摄像头以及这个网卡的蓝牙走的其实是usb线路。 要在这个里面识别才算成功。 网上的USBInjectAll.kext版本最高只有0.71还不支持MacBookPro15,3和MacBookPro16,1 要去这里下载最新版本(目前0.75)活着更改机型即可 https://github.com/Sniki/OS-X-USB-Inject-All/releases 参考资料: https://dortania.github.io/OpenCore-Post-Install/usb/manual/manual.html#missing-usb-ports
以Snow的源码为例, 在当前目录下使用命令 1 javac -d ./build *.java 可以看到java全部编译为class文件 之后打开在build目录下打开命令行 1 jar cvef Snow Jsnow.jar * 注意这里的e参数用于指定主启动类,这个程序里面主启动类是Snow,对应这里的Snow参数,如果不指定,可能会遇到。 “.\Jsnow.jar中没有主清单属性"的错误
说在前面,这个真的不用QEMU = = 1 2 3 sudo dpkg --add-architecture i386 sudo apt-get update sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
禁止复制粘贴 1 2 document.oncontextmenu=new Function("event.returnValue=false"); document.onselectstart=new Function("event.returnValue=false"); 禁止开发人员工具 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ConsoleManager.onOpen = function(){ try{ …
最近在macos下安装python2版本的pwntools遇到两个问题,一个是安装依赖unicorn的时候遇到 error: [Errno 2] No such file or directory: ’libunicorn.dylib' 解决方法是这个: