Skip to content
KitploitKITPLOIT
उपकरणब्लॉग
जमा करें
उपकरणब्लॉग
जमा करें

हैकिंग, पेनटेस्ट और साइबर सुरक्षा उपकरण आपके सुरक्षा शस्त्रागार के लिए!

Kitploit हैकिंग, साइबर सुरक्षा और पेंटेस्टिंग टूल्स की एक निर्देशिका है। कमजोरियों को खोजने, सिस्टम का विश्लेषण करने, परीक्षण को स्वचालित करने और अपनी सुरक्षा को मजबूत करने के लिए नवीनतम प्रोजेक्ट अपडेट खोजें।

··फ़ीड·संपर्क·गोपनीयता·© 2026 Kitploit

टूल निर्देशिका

श्रेणियाँ

सभी श्रेणियाँ देखें
Loading categories
उपकरण/GitHubGitHub/sliverarmory/malasada
शोषणशेलकोडपोस्ट-शोषणपेनिट्रेशन टेस्टिंगरेड टीमिंगशेलकोड जनरेशनपेलोड डेवलपमेंटबाइनरी शोषण
GitHubsliverarmory/malasada

malasada

लिनक्स शेयर्ड लाइब्रेरी से शेलकोड लोडर

रिपॉजिटरी देखें
1011136 महीने पहलेKitploit द्वारा समीक्षित

सबसे लोकप्रिय

सभी देखें →

हमारे समुदाय द्वारा सबसे अधिक उपयोग किए जाने वाले उपकरण खोजें।

सभी उपकरण खोजें

हमारे उपकरणों का संग्रह ब्राउज़ करें

सभी उपकरण देखें →
साझा करें

malasada

Donut Linux के लिए, एक Linux ELF शेयर्ड ऑब्जेक्ट (.so) को एक पोज़ीशन-इंडिपेंडेंट .bin ब्लॉब में रूपांतरित करता है जिसे सीधे मेमोरी से निष्पादित किया जा सकता है (उदाहरण के लिए, इसे mmap'd क्षेत्र में कॉपी करके और एक फंक्शन पॉइंटर के रूप में उस पर जंप करके)।

यह परियोजना जानबूझकर memfd (memfd_create, memfd पर execveat, आदि) से बचती है।

समर्थित प्लेटफ़ॉर्म

  • Linux amd64
  • Linux arm64
  • Linux 386

बिल्ड

आवश्यकताएँ:

  • Go 1.25+
  • Zig 0.15+ (go generate और परीक्षणों के लिए आवश्यक)

CLI बनाएँ:

root@kitploit:~
make

त्वरित आरंभ (स्थानीय)

एक hello-world .so बनाएँ, इसे .bin में बदलें, और इसे शामिल रनर के साथ चलाएँ:

root@kitploit:~
# Build payload .so
go build -buildmode=c-shared -o /tmp/hello.so ./testdata/hello

# Convert .so -> .bin (call the exported symbol "Hello")
./malasada --call-export Hello -o /tmp/hello.bin /tmp/hello.so

# Optional: compress the embedded payload (stage0 will depack before loading)
./malasada --compress --call-export Hello -o /tmp/hello.compressed.bin /tmp/hello.so

# Build the runner (PIC shellcode executor) with zig cc
zig cc -O2 -o /tmp/runner ./testdata/runner/runner.c

# Run it (stage0 hands off to ld-linux; runner will not return)
/tmp/runner /tmp/hello.bin

अपेक्षित आउटपुट में शामिल है:

root@kitploit:~
hello from go

go generate (पूर्व-निर्माण + stage0 एम्बेड करना)

रिपॉजिटरी में पूर्व-निर्मित stage0 ब्लॉब्स एम्बेड हैं:

  • internal/stage0/stage0_linux_amd64.bin
  • internal/stage0/stage0_linux_arm64.bin
  • internal/stage0/stage0_linux_386.bin

यदि आप internal/stage0/stage0.c या internal/stage0/linker.ld को संपादित करते हैं, तो उन्हें पुनः उत्पन्न करें:

root@kitploit:~
go generate ./...

CLI हमेशा एम्बेडेड stage0 ब्लॉब्स का उपयोग करता है (रनटाइम पर Zig की आवश्यकता नहीं)। stage0 बदलने के लिए, internal/stage0/stage0.c संपादित करें और पुनः चलाएँ:

root@kitploit:~
go generate ./...

डॉकर परीक्षण हार्नेस

testdata/Dockerfile CLI बनाता है, hello .so बनाता है, इसे .bin में बदलता है, Zig के साथ रनर बनाता है, और Linux कंटेनर में एंड-टू-एंड परीक्षण चलाता है।

उदाहरण:

root@kitploit:~
docker buildx build --platform linux/amd64 -f testdata/Dockerfile .
docker buildx build --platform linux/arm64 -f testdata/Dockerfile .
docker buildx build --platform linux/386 -f testdata/Dockerfile .

# Or via Makefile:
make docker-test-386
टूल डाउनलोड करें