Skip to content

timwhitez/Bof2PIC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bof2PIC

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.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published