V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  morphyhu  ›  全部回复第 6 页 / 共 16 页
回复总数  310
1 ... 2  3  4  5  6  7  8  9  10  11 ... 16  
2022-09-08 16:27:01 +08:00
回复了 xiaojay 创建的主题 分享创造 Hi,来试试 web3 的文件永存吧
0xf6BC9c9FE6FBE5Bb9fa99bEB81635C6341E70f13
2022-09-08 12:09:45 +08:00
回复了 AloneHero 创建的主题 宽带症候群 提子测速很快,实际很慢,什么情况
换电信.
2022-09-06 10:44:35 +08:00
回复了 liuidetmks 创建的主题 程序员 又用了一次淘宝 app,和 pdd 比起来真是天上地下
@zlhsvc 哈哈...有可能...
2022-08-01 10:36:34 +08:00
回复了 Decent 创建的主题 生活 记录一下 58 同城马桶疏通被坑经过
@sekisui
最后花费:58 上面显示的简单疏通费(100 元)+疏通药剂费(300 元) = 400 元

你这个费用可以换个新马桶了.
2022-08-01 10:35:04 +08:00
回复了 adamwhite 创建的主题 NGINX 昨晚上 nginx 0day 漏洞?搜了一圈没有明确的验证方式呢?
不用 LDAP 基本没影响.
2022-07-28 17:59:40 +08:00
回复了 morphyhu 创建的主题 程序员 阿里的轻量云发现有一个这样的 LKM 模块.
@Richard14 有在用,良心云貌似没有这么干.
2022-07-28 14:08:37 +08:00
回复了 morphyhu 创建的主题 程序员 阿里的轻量云发现有一个这样的 LKM 模块.
干净多了.

[root@ aliyun local]# lsmod
Module Size Used by
nfit 55016 0
libnvdimm 147731 1 nfit
iosf_mbi 15582 0
crc32_pclmul 13133 0
ghash_clmulni_intel 13273 0
aesni_intel 189415 0
ppdev 17671 0
lrw 13286 1 aesni_intel
gf128mul 15139 1 lrw
glue_helper 13990 1 aesni_intel
ablk_helper 13597 1 aesni_intel
cryptd 21190 3 ghash_clmulni_intel,aesni_intel,ablk_helper
parport_pc 28205 0
i2c_piix4 22401 0
pcspkr 12718 0
virtio_balloon 18015 0
joydev 17389 0
parport 46395 2 ppdev,parport_pc
ip_tables 27126 0
ext4 579979 1
mbcache 14958 1 ext4
jbd2 107478 1 ext4
ata_generic 12923 0
pata_acpi 13053 0
virtio_blk 18222 2
virtio_console 28076 1
virtio_net 28063 0
cirrus 24377 1
drm_kms_helper 179394 1 cirrus
syscopyarea 12529 1 drm_kms_helper
sysfillrect 12701 1 drm_kms_helper
sysimgblt 12640 1 drm_kms_helper
fb_sys_fops 12703 1 drm_kms_helper
ttm 114635 1 cirrus
ata_piix 35052 0
drm 429744 4 ttm,drm_kms_helper,cirrus
libata 243133 3 pata_acpi,ata_generic,ata_piix
crct10dif_pclmul 14307 0
crct10dif_common 12595 1 crct10dif_pclmul
crc32c_intel 22094 0
serio_raw 13434 0
virtio_pci 22985 0
virtio_ring 22746 5 virtio_blk,virtio_net,virtio_pci,virtio_balloon,virtio_console
virtio 14959 5 virtio_blk,virtio_net,virtio_pci,virtio_balloon,virtio_console
drm_panel_orientation_quirks 12957 1 drm
floppy 69432 0
[root@ aliyun local]#
2022-07-28 14:07:42 +08:00
回复了 morphyhu 创建的主题 程序员 阿里的轻量云发现有一个这样的 LKM 模块.
终于搞定了.
参考
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/managing_monitoring_and_updating_the_kernel/managing-kernel-modules_managing-monitoring-and-updating-the-kernel

cat >> /etc/modprobe.d/blacklist.conf <<EOF
# Blacklists AliSecGuard
blacklist AliSecGuard
install AliSecGuard /bin/false
EOF

reboot
2022-07-28 13:50:57 +08:00
回复了 morphyhu 创建的主题 程序员 阿里的轻量云发现有一个这样的 LKM 模块.
不管用.还是存在...
2022-07-28 13:48:47 +08:00
回复了 morphyhu 创建的主题 程序员 阿里的轻量云发现有一个这样的 LKM 模块.
Google 到了

/usr/local/aegis/AliSecGuard/AliSecGuard --stopdriver
2022-07-28 13:44:37 +08:00
回复了 morphyhu 创建的主题 程序员 阿里的轻量云发现有一个这样的 LKM 模块.
[root@aliyun ~]# rmmod AliSecGuard
rmmod: ERROR: Module AliSecGuard is in use

请教如何彻底移除??
2022-07-28 13:35:54 +08:00
回复了 morphyhu 创建的主题 程序员 阿里的轻量云发现有一个这样的 LKM 模块.
@l2d 问题是 rootkit 存在, AliSecGuard 根本没检测出来. 感觉这玩意有其它的用途.
2022-07-23 11:21:37 +08:00
回复了 Eyon 创建的主题 分享创造 炫耀贴:我的小程序上微博热搜了
刚用了一下,很方便,简洁.给楼主点赞.
2022-07-01 12:40:25 +08:00
回复了 cogear 创建的主题 职场话题 聊一聊糟心的华为 OD offer
这样看,华为没有啥吸引力,建议楼主不要考虑了.
是金子总会发光的.不一定要在华为.
2022-06-28 23:12:30 +08:00
回复了 bugfan 创建的主题 分享创造 最近整了个无插件内网穿透工具
#!/usr/bin/env bash
#
# Description: A Nat Script by sean bugfan
#
# Copyright (C) 2022 - Now bugfan <[email protected]>
# URL: i996.me
# https://github.com/bugfan
#
access_token=$1
pipe_dir="/tmp/clotho/"
if [ -d ${pipe_dir} ]; then
rm -rf ${pipe_dir}
fi
if [ ! -d ${pipe_dir} ]; then
mkdir ${pipe_dir}
fi
pipe_websocket=$(echo ${pipe_dir}"websocket")
if [ ! -p ${pipe_websocket} ]; then
mkfifo ${pipe_websocket}
fi
pipe_internal=$(echo ${pipe_dir}"internal")
if [ ! -p ${pipe_internal} ]; then
mkfifo ${pipe_internal}
fi

message_request="ClothoHTTPRequest"
message_broadcast="ClothoBroadcast"
message_break="ClothoBreakClient"
message_key="ClothoMsg"


sys_protocol="https://"
sys_host="api.i996.me"
public_api_protocol="https://"
public_host="xxxx.i996.me"
private_host="127.0.0.1:8080"
wxtoken="xxxx"

include(){
tmp=$(echo $1 | grep "${2}")
if [[ "$tmp" != "" ]]
then
return 1
else
return 0
fi
}

check_token(){
if [ -z "${1}" ]; then
return 1
fi
msg=$(curl -s --http1.1 -X POST ''$sys_protocol$sys_host'/sys-auth' -H 'Authorization: '${1}'')
if [ $? != 0 ]; then
return 2
fi

include $msg $message_broadcast
stat=$?
if [ ${#msg} == '0' ]; then
return 1
fi
if [ $stat == 0 ]; then
return 1
fi
wxtoken=${1}
info=${msg#*$message_broadcast}
private_host=${info#*|}
public_host=${info%%|*}
# echo 'forward a:'$private_host
# echo 'forward b:'$public_host
# echo 'forward c:'$wxtoken
return 0
}

init(){
while :
do
# # read token
# echo "请输入 Token: \c"
# token=''
# while : ;
# do
# read -n 1 -s -p "" pw
# if [ $pw ]; then
# token=${token}$pw
# echo "*\c"
# else
# echo
# break
# fi
# done

# # read token
# # read -p "请输入 Token:" token
# check_token $token
# state=$?
# if [ $state == 0 ]; then
# break
# fi
# if [ $state == 2 ]; then
# echo '抱歉,服务器可能暂时出了点问题!请稍后再尝试~'
# else
# echo 'Token 验证失败!请关注"敲代码斯基"公众号获取 Token!(免费)'
# fi

# check token
token=${access_token}
if [ ${#token} == '0' ];then
echo '请指定 Token 参数!(curl -s i996.me | bash -s Token)'
exit 0
fi
check_token $token
state=$?
if [ $state == 0 ]; then
break
fi
if [ $state == 2 ]; then
echo '抱歉,服务器可能暂时出了点问题!请稍后再尝试~'
else
echo 'Token 验证失败!请关注"敲代码斯基"公众号获取 Token!(免费)'
fi
exit 0
done

}

init

new_fifo_name(){
echo $1$2
}

string_index(){
x="${1%%$2*}"
[[ $x = $1 ]] && echo -1 || echo ${#x}
}
do_request(){
# get message id
tmp="${1#*${message_key}:}"
message_id=${tmp%%\'*}
if [ ${#message_id} -lt 5 ]; then
printf "error message:%s\n" $message_id
return
fi
echo "==== request ====>:"$message_id

internal_fifo=$(new_fifo_name ${pipe_dir} ${message_id})
mkfifo ${internal_fifo}
response ${message_id} ${internal_fifo} &
(eval "$1") > ${internal_fifo}
# echo "===tunnel-client curl exit state===>:"$?
rm ${internal_fifo}
}

response(){
# printf 'normal msg id is:%s,%s\n' $1 $2
curl -X POST --http1.1 -v ''$sys_protocol$sys_host'/sys-callback' -H 'Authorization: '${wxtoken}'' -H 'ClothoMsg: '${1}'' --data-binary '@'${2}'' 2>/dev/null
echo "<==== response ====:"${1}
}

handle(){
msg=${1}
# printf "===message===>:%s\n" ${msg}
include $msg $message_request
req=$?
if [ $req > 0 ]; then
payload=${msg#*$message_request}
# printf "%s\n" $payload
cmd=$(echo $payload|base64 -d)
# cmd="curl -X 'GET' -d '' -H 'Accept: */*' -H 'ClothoMsg: '${wxtoken}'' -H 'User-Agent: curl/7.77.0' 'http://127.0.0.1:9090'"
do_request "$cmd" &
fi

# if [ $msg == *$message_break* ]; then
# echo '远端更新了,请输入 Token 重新启动!!'
# exit 0
# fi

}
ssh_response(){
while :
do
read msg < ${pipe_internal}
printf 'normal msg is:%s\n' $msg
curl -X POST --http1.1 -v ''$sys_protocol$sys_host'/sys-callback' -H 'Authorization: '${wxtoken}'' -H 'ClothoMsg: '${msg}'' --data-binary '@'${pipe_internal}''
echo "----send response ok ----\n"

done
echo "finish ssh_response\n"
}

read_io(){
# tail -f ${pipe_websocket} | while read -r line ; do
echo "It works!!! "
while IFS= read -r line ; do
handle "${line}"
done < "${pipe_websocket}"
echo "Connect exception...\n"
}


sys_connect(){
# listen conn
read_io & 2>/dev/null
read_io_pid=$!
# printf "worker pid:%s\n" ${read_io_pid}

# ssh_response &
# ssh_response_pid=$!
# printf "read response pid:%s\n" ${ssh_response_pid}

# do connect
curl -s --no-buffer --http1.1 -H 'Authorization: '${wxtoken}'' -H 'Connection: keep-alive, Upgrade' -H 'Upgrade: websocket' -v -H 'Sec-WebSocket-Version: 13' -H 'Sec-WebSocket-Key: websocket' ''$sys_protocol$sys_host'/sys-ws' ws -o ${pipe_websocket} 2>/dev/null
echo "System connection has broken! Retry...."
kill ${read_io_pid} 2>/dev/null
}

# finish func
finish () {
kill ${read_io_pid}
rm -rf ${pipe_dir}
rm 0
exit 0
}

# catch "Exit"
# catch "Ctrl + c"
trap finish EXIT SIGTERM SIGINT SIGQUIT

run(){
while :
do
sys_connect
sleep 5
done
}

run


# # Inifinite sleep
# sleep infinity
# wait $!
2022-06-28 17:35:35 +08:00
回复了 ppxppx 创建的主题 分享创造 分享一个网盘+markdown 笔记
支持开源.加油.
2022-05-31 16:44:16 +08:00
回复了 MonikaCeng 创建的主题 Bitcoin 买了 Ledger 后才知道原来有 20% off 的代金券。。
谢谢楼主
2022-05-15 21:36:46 +08:00
回复了 LosLord 创建的主题 Windows 有什么办法看到什么程序在注入剪贴板
估计是中毒了。重装一下系统吧。
2022-05-05 16:55:20 +08:00
回复了 nasaboy 创建的主题 云计算 阿里云国际 HK 轻量新开服务上 SS 立马被阻断端口
估计墙现在主要针对的是 tls 流量了。测试了一下。套用 TLS 马上被阻断。相反。更换端口直接连服务反正一切正常。。神奇的 GFW 开发
1 ... 2  3  4  5  6  7  8  9  10  11 ... 16  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3711 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 48ms · UTC 10:41 · PVG 18:41 · LAX 03:41 · JFK 06:41
Developed with CodeLauncher
♥ Do have faith in what you're doing.