hashcat
hashcat crack sha256 with rockyou.txt
cat sha256_hash_rockyou.txt
F09EDCB1FCEFC6DFB23DC3505A882655FF77375ED8AA2D1C13F640FCCC2D0C85
hashcat -m 1400 -a 0 sha256_hash_rockyou.txt ~/rockyou/rockyou.txt
hashcat -m 1400 --show sha256_hash_rockyou.txt
f09edcb1fcefc6dfb23dc3505a882655ff77375ed8aa2d1c13f640fccc2d0c85:paule
hashcat crack brcypt with rockyou.txt
It’s slow, so just crack the 1. 4 letter word 2. 4 litter letter.…
nmap & Linux Process Analysis
I have begun learning security skills on the TryHackMe website and have completed two rooms. In my opinion, it is the best site for acquiring and practicing security skills so far.
- Nmap Live Host Discovery
- Linux Process Analysis
And several …
如何把SAP AI Core 接入Cursor
SAP AI Core 接入Cursor
估计这是全网第一篇把SAP AI Core 接入Cursor 的教程。
教程很简单,按照下面项目README,跑一个本地AI Core LLM 代理服务器
http://127.0.0.1:5000
接着找一台有公网IP的电脑,注册绑定好域名,在Nginx设置好反向代理
比如 https://ai-proxy
然后在Cursor 设置自定义Open AI URL
https://ai-proxy/v1
这个代理服务器是手工搓的,目前支持gpt-4,gpt-4o, Claude 3.5 sonnet 统一了OpenAI API协议,所以可以用到任何兼容OpenAI API 的客户端。
至此,Token自由。
SAP AI Core LLM Proxy 介绍
Heart bleed testing with nmap or msfconsole

nmap
sudo nmap --script vuln -p443 host
sudo nmap -sV --script=ssl-heartbleed host
msfconsole
msfconsole
search heartbleed
use auxiliary/scanner/ssl/openssl_heartbleed
options
set RHOSTS xx.xx.xx.xx
set VERBOSE true
exploit
run
… OpenWRT + OpenClash
iptables
opkg update
opkg install coreutils-nohup bash iptables dnsmasq-full curl ca-certificates ipset ip-full iptables-mod-tproxy iptables-mod-extra libcap libcap-bin ruby ruby-yaml kmod-tun kmod-inet-diag unzip luci-compat luci luci-base
nftables
opkg update
opkg install coreutils-nohup bash dnsmasq-full curl ca-certificates ipset ip-full libcap libcap-bin ruby …
群晖双网口OpenWRT软路由设置
家里的黑群之前用OpenWRT做软路由的时候买过一个网卡,最近把黑群升级到了最新版本,软路由虽然一直没用,但还是把它设置起来以备不时之需。
所以现在有两个网卡
- LAN 1(Default)
- LAN 2(新加的)
在Virtual Machine Manger里增加两个网卡
- eth0 -LAN 2(新加的)
- eth1 -LAN 1(Default)

在Virtual Machine-OpenWrt这个虚拟机上加入上面新增的两个网卡,这样就等于在 OpenWrt里插入了两个网卡eth0, eth1

接下来在OpenWRT里面分别设置eth0(LAN2,新加的)作为局域网, eth1(LAN1,Default)作为外网连接,设置网关为家里路由器的ip, 内部局域网段为192.168.2.xxx
- eth0-lan(内网)
- eth1-wan(外网)
cat /etc/config/network
/etc/init.d/network restart

Cloudflare转发公网IP非443端口
上海电信公网IP开通后,一些常用的端口如80和443不能使用。因此,必须使用其他端口,例如将443端口改为8443端口。访问时还需要在URL中加入特定的端口号:https://host:8443。
昨天搜了一下,原来Cloudflare支持转发非443端口,你需要做的就两步
- DNS enable proxy
- Rules-Origin Rules-Custom Filter Expression, 在这里添加一些转换规则-Then rewrite to “8443”
这样就设置好了,通过访问https://host, Cloudflare就会自动转到了源地址https://host:8443

群晖启用xiaogpt
使用Docker来开启xiaogpt, 当前Docker官文Docker源被墙了,所以可以先找一个国内的镜像,比如
docker pull dockerproxy.cn/yihong0618/xiaogpt
准备好config.yaml文件,然后命令行启动
docker run -v /volume2/hdd_4T/xiaogpt/config:/config yihong0618/xiaogpt --config=/config/myconfig_livingroom.yaml

Fix syno storage management
Problem
In the syno storage management, it can’t show the disk information.
Check the “invalid ELF” log
So first check the “invalid ELF” log in the “/var/log”
root@DiskStation:/var/log# grep -R "invalid ELF" *
grep -R "2024-05-01.*invalid ELF" *
messages:2024-05-01T22:48:55+08:00 DiskStation
…