naksyn / pyramid Goto Github PK
View Code? Open in Web Editor NEWa tool to help operate in EDRs' blind spots
License: Apache License 2.0
a tool to help operate in EDRs' blind spots
License: Apache License 2.0
Some indents like for function quarter_round use 2 spaces for indent, other times, such as in moduleshifting, it uses 4 spaces for indent. Other times, such as in LaZagne.py ZipImportError, a tab is used, though this is not the case for moduleshifting.
Pyramid/Server/Modules/moduleshifting.py
Line 142 in e787beb
Pyramid/Server/Modules/LaZagne.py
Line 220 in e787beb
python3 PyramidHTTP.py 443 user Password@123 /root/home/user/SSL/key.pem /root/home/user/SSL/cert.pem /root/home/user/Pyramid/Server/
__________ .__ .___
______ _..____________ _____ || | /
| < | |_ __ _ \ / | |/ __ |
| | _ | | | // __ | Y Y \ / // |
|____| / ____| || (____ /|| /_ |
/ / / /
HTTP/S server with Basic Auth
[+] Pyramid HTTP Server listening on port 443
[+] Serving Pyramid files from folder /root/home/user/Pyramid/Server/
[+] Using SSL key /root/home/user/SSL/key.pem
[+] Using SSL cert /root/home/user/SSL/cert.pem
[+] User allowed to fetch files: user
[!] ENTER PEM PASSPHRASE BELOW AND PRESS ENTER
Traceback (most recent call last):
File "PyramidHTTP.py", line 190, in
server.socket = ssl.wrap_socket (server.socket, options.sslkey, options.sslcert, server_side=True)
File "/usr/lib/python3.7/ssl.py", line 1216, in wrap_socket
context.load_cert_chain(certfile, keyfile)
FileNotFoundError: [Errno 2] No such file or directory
Hello,
I´m getting errors when I´m trying to execute several modules (donPAPI, clr, pythonmemory & secretsdump). I now default module is bloodhound, however, I just changing the "cradle.py" to point to other non-default modules.
It´s is a correct way to use?. Example:
With some other modules I do the same things, and I was able to execute without issues (lazagne, bloodhound, shellcode & sock5 ). I´ts because I need to install first the python requirements of each module?
I´m also attaching several screenshots.
Environment:
Windows 11 x64 21H2 build 22000.1817
Python 3.11.2
Thanks in advance.
Regards.
The given example command
python3 pyramid.py -p 443 -ssl -u testuser -pass Sup3rP4ss! -enc "chacha20" -passenc "TestPass1" -server "192.168.1.2" -generate -setcradle pythonmemorymodule.py
Appears to cause issues due to the quotes shown.
The Python REPL crashes out and you get a non-execution of the payload.
In testing I omit these double quotes around the pass, server and enc and I have no trouble, works very well after that.
I note in the video that you do not use the quotes.
--Shameless plug warning--
I have recently released a memory importing tool that can import both normal python (.py) and python c extension (.pyd) files fully from memory.
--End shameless plug--
With this new functionality, if it isn't too difficult to implement it into this projects structure, you could potentially drop the zip requirement from this project. Feel free to close if that would be needlessly complex or the interest isn't there. If you are interested, the project is https://github.com/rkbennett/od_import.
Hello,
When trying to execute on Windows Server 2012 R2 "python cradle.py" (Python 3.10.6), I´m getting the following syntax error:
On server side, looks like this (when "ENTER PEM pass phrase", I entered the one I used upon execution of):
openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 365
python3 pyramid.py -p 443 -ssl -u testuser -pass Sup3rP4ss! -enc "chacha20" -passenc "TestPass1" -server "10.8.40.14" -generate
I also tried running cradle on a Windows11 box with the same results. What I´m doing wrong?. The code looks like this:
Thanks in advance.
Regards.
Hi. Could you help me please.
I testing your scripts and found that socks5 tunnel just dropping after few hours of connection. On testing machine there's no problem with process, all works. netstat -an shows ssh connection established, but at server process sshd just dying after some time. I tried to edit flags at source of .py file, added keep interval at server, tcp alive and etc but nothing helped me. Confused with this.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.