Coder Social home page Coder Social logo

eonraider / bca-phantom Goto Github PK

View Code? Open in Web Editor NEW
94.0 4.0 8.0 38.59 MB

A multi-platform HTTP(S) Reverse Shell Server and Client in Python 3

License: GNU Affero General Public License v3.0

Python 84.51% Shell 15.49%
penetration-testing-tools network-programming red-teaming http-server http-client security-tools reverse-shell

bca-phantom's People

Contributors

eonraider 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

Watchers

 avatar  avatar  avatar  avatar

bca-phantom's Issues

Build Error

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.

build error

[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

issue with certificacion

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

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.