会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
5
6
7
8
9
10
下一页
2023年8月21日
c2工具sliver的python客户端无法修改grpc超时时间的解决办法
摘要: 业务需要,调用了很多implants来执行对应系统上的命令, 但是无论怎么指定interactive.py中execute方法参数, 命令执行超时时间总是30. 后面通过扩展`execute`方法增加一个grpc超时参数后解决;具体方法如下: ``` async def execute_ex(sel
阅读全文
posted @ 2023-08-21 19:03 干炸小黄鱼
阅读(86)
评论(0)
推荐(0)
2023年8月1日
centos7 搭建snmpv3靶场
摘要: ### 安装文件 ``` yum install net-snmp net-snmp-utils -y ``` ### 关闭服务创建用户 ``` systemctl stop snmpd # 添加一个用户 如 root net-snmp-create-v3-user -ro -A admin123
阅读全文
posted @ 2023-08-01 15:51 干炸小黄鱼
阅读(198)
评论(0)
推荐(0)
2023年7月19日
sliver生成木马.sh
摘要: 生成sliver木马多个步骤合成一个sh ``` #!/bin/bash # date: 20230222 host_ip=$1 WORK_DIR=/opt/work rm -rf /root/.sliver-client/ cd ${WORK_DIR}/sliver rm -rf adjectiv
阅读全文
posted @ 2023-07-19 12:07 干炸小黄鱼
阅读(298)
评论(0)
推荐(0)
2023年7月6日
linux挂载磁盘
摘要: `fdisk -l fdisk /dev/sdb1 mkfs.ext4 /dev/sdb1 mkdir /mnt/data mount /dev/sdb1 /mnt/data # 自动挂载 vim /etc/fsstat /dev/sdb1 /mnt/data ext4 defaults 0 0 #
阅读全文
posted @ 2023-07-06 17:09 干炸小黄鱼
阅读(27)
评论(0)
推荐(0)
2023年5月26日
chatgpt
摘要: 可以使用golang设计一个微服务体系来支撑上述服务,以下是一种可能的设计方案: 1. 资产解析微服务:这个微服务负责解析域名和IP地址,并返回URL列表、IP地址列表和域名列表。可以使用golang编写,使用第三方库如github.com/miekg/dns来处理DNS解析。 2. 资产活跃探测微
阅读全文
posted @ 2023-05-26 19:18 干炸小黄鱼
阅读(298)
评论(0)
推荐(0)
2023年5月17日
centos上使用makefile编译sliver时 提示gcc 错误,cannot find -ldl cannot find -lpthread cannot find -lc
摘要: github.com/bishopfox/sliver/server /usr/local/go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1 /usr/bin/ld: cannot find -ldl /usr/bin/l
阅读全文
posted @ 2023-05-17 09:12 干炸小黄鱼
阅读(756)
评论(0)
推荐(0)
2023年4月13日
go build gcc报错 /usr/bin/ld | cannot find -ldl cannot find -lpthread cannot find -lc
摘要: 之前一直在kali或者其他ubuntu设备编译sliver, 临时在centos7上编译时报错了 # github.com/bishopfox/sliver/server /usr/local/go/pkg/tool/linux_amd64/link: running gcc failed: exi
阅读全文
posted @ 2023-04-13 16:05 干炸小黄鱼
阅读(334)
评论(0)
推荐(0)
2023年4月12日
编译安装c2工具sliver以及python 客户端sdk
摘要: 背景: 项目需要安装sliver服务端和客户端还有sliver的python sdk; git clone https://github.com/BishopFox/sliver.git cd sliver make # 执行make后会拉取当前服务器版的go安装包,包括windows,linux(
阅读全文
posted @ 2023-04-12 20:50 干炸小黄鱼
阅读(641)
评论(0)
推荐(0)
渗透测试-命令注入
摘要: 背景: 有些场景支持直接传参给系统命令并调用的情况;如输入一个ip 执行ping命令看是否能ping同;这种场景如果没有对参数进行校验直接传参就会存在命令注入的情况; 首先需要连接下通过命令连接符号连接的命令执行策略: commandA; commandB //commandA无论正确与否都会执行c
阅读全文
posted @ 2023-04-12 14:20 干炸小黄鱼
阅读(113)
评论(0)
推荐(0)
2023年4月10日
golang读取用户名和密码文件并生成笛卡尔积
摘要: 密码爆破时需要读取用户名字典和密码字典来生成笛卡尔积派发爆破任务;直接读取全部字典内容到内存时成本较高; package main import ( "bufio" "fmt" "os" ) func main() { // 打开1.txt文件 file1, err := os.Open("1.tx
阅读全文
posted @ 2023-04-10 11:14 干炸小黄鱼
阅读(97)
评论(0)
推荐(0)
上一页
1
···
5
6
7
8
9
10
下一页
公告