avatar
Articles
51
Tags
3
Categories
0

Home
Archives
Tags
About
BlogSpace
Home
Archives
Tags
About
如何下载网页上的视频
Created2022-02-15
用浏览器直接下载视频和音频学会这项技能的学习资料不是javascript,不是chrome debug 而是http协议 https://developer.mozilla.org/zh-CN/docs/Web/HTTP 下载音频使用bing translator为例子 https://cn.bing.com/translator F12打开浏览器调试界面,打开network标签页,并清空该标签页 firefox直接类型选择media,chrome需要all 输入文本,点击试听,浏览器会播放一段音频 找到对应语音的post请求 目前是v1那个请求,右键copy as cURL terminal中复制刚才的命令并加上–output tts.mp3 完成下载即可 浏览器直接播放该音频 在刚下载好的音频目录,启动http服务器1python3 -m http.server 浏览器console标签页12audio = new Audio("http://localhost:8000/tts.mp3");audio.play(); 下载视频目前可行的通用方法是 ...
如何用github action完成定时任务
Created2022-02-15
github action使用github action所创建的虚拟机 创建github action在项目上方Actions点击后,创建一个workflow即可 本质上就是在项目中建立.github/workflow/*.yaml文件 建立虚拟机shell
如何写github wiki
Created2022-02-15
如何使用不同方式发送http请求
Created2022-02-15
http请求发送http请求,通过命令行或者代码方法 > https://curlconverter.com cURL123curl -H "Content-Type:text/html" www.google.com # headcurl www.google.com?cmd="ls -al" # getcurl --data "param1=value1&param2=value2" www.google.com # post javascript fetch123456789101112131415161718//headfetch('http://www.google.com', { headers: { 'Content-Type': 'text/html' }});// getfetch('http://www.google.com?cmd=ls -al' ...
如何在debian机器上使用kali源
Created2022-02-15
在debian系统上添加kali源突然想要用到kali,但是不想安装.但是kali是基于debian的,想到区别应该不大,把源加上就行了 添加kali源编辑/etc/apt/sources.list 12345# debiandeb http://mirrors.ustc.edu.cn/debian/ bullseye main non-free contribdeb-src http://mirrors.ustc.edu.cn/debian/ bullseye main non-free contrib# kalideb http://mirrors.ustc.edu.cn/kali/ kali-rolling main non-free contrib 添加kali官方密钥1wget -q -O - https://archive.kali.org/archive-key.asc | apt-key add 更新源1apt update 奇葩想法 在debian上安装pacman
自建KMS服务器激活Windows
Created2022-02-15
kms微软windows/office激活工具(Key Management Services) 微软连接https://learn.microsoft.com/en-us/windows-server/get-started/kms-create-host 这里是要创建linux版的激活服务器 项目基于https://github.com/Wind4/vlmcsd 工具直接从github.com/Wind4/vlmcsd下载可执行文件 如需编译,自行编译 1wget https://github.com/Wind4/vlmcsd/releases/download/svn1113/binaries.tar.gz 配置启动服务即可 12# create a server listening on 1688./vlmcsd 使用 Windows激活 在需要激活的windows上执行如下命令(带管理员的cmd) 1234567# 输入激活密钥slmgr.vbs -ipk VDYBN-27WPP-V4HQT-9VMD4-VMK7H# 连接kms服务器slmgr.vbs -sk ...
Linux上轻量桌面对比
Created2022-02-15
性能消耗最小的linux desktop使用的是只有2G内存的CentOS云服务器,尝试一下desktop linux系统切换桌面环境使用vnc连接桌面,编辑$HOME/.vnc/xstartup 让vnc启动Xfce桌面环境 1/etc/X11/xinit/xinitrc 关闭vnc 1vncserver -kill :1 gnomegnome一开就占用500M空间,且不用的情况下,内存占用还会扩大,作为桌面还是可以的, 但是作为服务器就差强人意了 Xfce 安装 1dnf groupinstall "Xfce" 启动 编辑$HOME/.vnc/xstartup 12# /etc/X11/xinit/xinitrcstartxfce4 测评 实际使用空间在300M,比gnome好很多了 lxde 安装 1pacman -S lxde 启动 编辑$HOME/.vnc/xstartup 12# /etc/X11/xinit/xinitrcexec startlxde 测评 实际空间使用在1 ...
无处不在的linux云服务
Created2022-02-15
cloud serverIBM LinuxONEIBM教育免费服务器,支持免费用120天 inteljupter 10小时使用时长,250G内存,CPU豪华级配置 devcloud 16G 支持使用120天 woiden云主机使用telegram注册,可以使用7天,可以持续续期. 共享公网IP的NAT VPS,可以使用反向代理 [登录IPv6](https://ssh.hax.co.id/) alwaysdata100M免费空间,可以使用ssh登录,创建定时任务 cloud shell分享各种提供linux shell的云服务 xshellz提供的shell可以连续运行15天 google cloud shell有5G免费空间,可以用tmux一直保持运行,网页版本身就是tmux,每周50小时限制 github codespaces有8G内存,32G空间,写代码专用,30分钟无活动自动关闭 github actions可以创建定时任务 red hat openshift30天免费试用,等待90天后可以再次使用 功能太多,目前找到sandbox ide也非常好用 http ...
如何使用metasploit
Created2022-02-15
网络安全之metasploit各种漏洞测试的工具 metasploit安装这下不能直接命令安装了,搜索官网 123curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall && \ chmod 755 msfinstall && \ ./msfinstall 开始使用以暴力破解ssh为例,开始演示 12345msfconsoleuse auxiliary/scanner/ssh/ssh_login #使用这个模块msf auxiliary(ssh_login) > set RHOSTS 10.0.0.27 # 设置remote hostmsf auxiliary(ssh_login) > set USERPASS_FILE root_userpass.txt # 设置密码文件msf auxilia ...
P2P原理研究
Created2022-02-15
p2p对于两台公网机器p2p十分容易实现,如今内网都会经过nat,解决用UDP实现p2p 用工具或代码实现 工具配置使用FAQtcp raw_socket对于已经握手成功的tcp连接,假如存在第三者冒出服务器发送数据给客户端是否能成功, 目前实验没有成功,还需要跟踪数据包 模拟环境 1234nc -lvp 1234 # server# when client connected it will show the ip and port of clientnc 127.0.0.1 1234 # client 使用hping3发送恶意改造的数据包 1echo "malicious" | sudo hping3 -c 1 -p client_port -s 1234 -A 127.0.0.1 tcp劫持tcp重建DNS欺诈创建自定义DNS服务器
1…3456
avatar
JumHorn
Articles
51
Tags
3
Categories
0
Follow Me
Announcement
BlogSpace
Recent Post
openshift创建不过期的token2024-05-09
云浏览器2024-03-27
C++语法糖2024-03-05
C++反汇编2024-02-29
正则表达式2024-02-29
Tags
信息 架构 技术
Archives
  • May 20241
  • March 20242
  • February 20246
  • January 20242
  • October 20231
  • September 20232
  • May 20231
  • April 20232
Info
Article :
51
UV :
PV :
Last Push :
©2020 - 2025 By JumHorn
Framework Hexo|Theme Butterfly