eonraider / bca-phantom Goto Github PK
View Code? Open in Web Editor NEWA multi-platform HTTP(S) Reverse Shell Server and Client in Python 3
License: GNU Affero General Public License v3.0
A multi-platform HTTP(S) Reverse Shell Server and Client in Python 3
License: GNU Affero General Public License v3.0
Hi !
First of all, thank you very much for this great tool !
I'm trying to build binary with self signed certs (made with your script).
Unfortunately the build doesn't work and python return an error I don't understand.
$python build.py server --server-cert server-cert.pem
Traceback (most recent call last):
File "build.py", line 38, in <module>
def server(args: argparse.Namespace) -> list[str]:
TypeError: 'type' object is not subscriptable
Hope this question is not to stupid.
Thanks in advance for your help.
[root@VM10096 BCA-Phantom]# python3 build.py server --server-cert /root/cert/server.pem
Traceback (most recent call last):
File "build.py", line 38, in
def server(args: argparse.Namespace) -> list[str]:
TypeError: 'type' object is not subscriptable
I got this message in the client when I have to connect
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)>
` ./https_linux_client
Traceback (most recent call last):
File "urllib/request.py", line 1346, in do_open
File "http/client.py", line 1279, in request
File "http/client.py", line 1325, in _send_request
File "http/client.py", line 1274, in endheaders
File "http/client.py", line 1034, in _send_output
File "http/client.py", line 974, in send
File "http/client.py", line 1448, in connect
File "ssl.py", line 500, in wrap_socket
File "ssl.py", line 1040, in _create
File "ssl.py", line 1309, in do_handshake
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "client.py", line 145, in
File "client.py", line 84, in execute
File "commands.py", line 38, in open_session
File "commands.py", line 26, in _send
File "client.py", line 78, in post
File "urllib/request.py", line 214, in urlopen
File "urllib/request.py", line 517, in open
File "urllib/request.py", line 534, in _open
File "urllib/request.py", line 494, in _call_chain
File "urllib/request.py", line 1389, in https_open
File "urllib/request.py", line 1349, in do_open
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)>
[3535] Failed to execute script 'client' due to unhandled exception!`
Both certificates were build with the generate_certs.sh
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.