naksyn / Pyramid

a tool to help operate in EDRs' blind spots

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Syntax error when executing cradle.py

dr4lekhine opened this issue · comments

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.

Hi, your cradle.py is working fine, there's a typo from my end in mod-bh.py.
I just pushed the correction.

import### AUTO-GENERATED PYRAMID CONFIG ### DELIMITER

was substituted with:

import inspect

### AUTO-GENERATED PYRAMID CONFIG ### DELIMITER

Thanks for pointing that out. Let me know now if the issue is solved.

Cheers

Hi!

Yes. It´s solved now!

Thank you.

Regards.