Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Shared library implementations that transform the containing process into a shell when loaded (useful for privilege escalation, argument injection, file overwrites, LD_PRELOAD, etc.).

License

NotificationsYou must be signed in to change notification settings

SeanPesce/lib2shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Author: Sean Pesce

Overview

Shared library implementations that transform the containing process into a shell on load (useful for privilege escalation, argument injection, file overwrites, etc.). A write-up of a privilege escalation scenario using this technique can be found onmy blog.

Usage

(Many examples on GTFOBins)

Examples for Unix operating systems:

ssh-keygen -D ./lib2shell.so
openssl req -engine ./lib2shell.so

Examples on Windows:

ssh-keygen -D .\lib2shell.dll
openssl req -engine .\lib2shell.dll

Compiling

Unix:

make

Windows:

Open the project in Visual studio, select your build configuration ("Release" and your target architecture), then in the top menu clickBuildBuild Solution.


For inquiries and/or information about me, visit mypersonal website.

About

Shared library implementations that transform the containing process into a shell when loaded (useful for privilege escalation, argument injection, file overwrites, LD_PRELOAD, etc.).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp