Code Monkey home page Code Monkey logo

pyramid's People

Contributors

naksyn avatar realmatthours avatar snovvcrash avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pyramid's Issues

error

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

Getting OS error

pymemmodule error

Could you suggest us to resolve this. I m running in windows 11

Syntax error when executing cradle.py

Hello,

When trying to execute on Windows Server 2012 R2 "python cradle.py" (Python 3.10.6), I´m getting the following syntax error:

image

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

image

I also tried running cradle on a Windows11 box with the same results. What I´m doing wrong?. The code looks like this:

image

Thanks in advance.

Regards.

inconsistent indentation

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.

https://github.com/naksyn/Pyramid/blob/e787bebf7cf29723e363e11299244979bec55970/Agent/cradle.py#L84C1-L84C1


"""Exception raised by zipimporter objects."""

Full in-memory loading (Feature request)

--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.

Example command

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.

Errors when executing several modules (donPAPI, clr, pythonmemory & secretsdump)

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:

image

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.

socks disconnecting

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.