timwhitez starred Bof2PIC
2022-9-27 21:14:39 Author: github.com(查看原文) 阅读量:27 收藏

main
Switch branches/tags

1 branch 0 tags

Code

Latest commit

Git stats

Files

Permalink

Failed to load latest commit information.

Type

Name

Latest commit message

Commit time

BOF/COFF obj file to PIC(shellcode). by golang

在原项目的基础上将生成器从py改成了go

加入了bof的传参支持(sliver格式)

\boftest\
测试用的bof文件和传参json文件,json文件格式与sliver一致

\loader_bin\
bofloader 核心shellcode生成

\constgen\
将核心shellcode转换成const.go文件

.\
项目主体

Usage:

.\bofgopic.exe -bof .\boftest\dir.x64.o -args .\boftest\dir.json

.\bofgopic.exe -bof .\boftest\whoami.x64.o

生成的bin文件即为PIC shellcode

Reference

@FalconForceTeam's BOF2shellcode repository

Note that the loader code in this repository is heavily based on @trustedsec's COFFLoader and @thefLink's C-To-Shellcode-Examples repository.


文章来源: https://github.com/timwhitez/Bof2PIC
如有侵权请联系:admin#unsafe.sh