Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conpot -f --template default /bin/sh: conpot: not found ~ $ #576

Open
PWNZ1337cr3w opened this issue Dec 7, 2022 · 3 comments
Open

conpot -f --template default /bin/sh: conpot: not found ~ $ #576

PWNZ1337cr3w opened this issue Dec 7, 2022 · 3 comments
Labels

Comments

@PWNZ1337cr3w
Copy link

Hi,
I try run conpot but i have error:

docker run -it -p 80:80 -p 102:102 -p 502:502 -p 161:161/udp --network=bridge honeynet/conpot:latest /bin/sh

~ $ conpot -f --template default

/bin/sh: conpot: not found

CentOS 4.18.0-348.7.1.el8_5.x86_64
Docker version 20.10.21, build baeda1f

@xandfury
Copy link
Member

The conpot binary should be inside the docker image. I am guessing you are trying to conpot from the host.

@johseg
Copy link

johseg commented Feb 25, 2023

/home/conpot/.local/bin is not in $PATH. Run
/home/conpot/.local/bin/conpot -f --template default

@Harshiths1
Copy link

Try running using the following command , It should solve the problem :
sudo docker run -it -p 81:81 -p 103:103 -p 503:503 -p 160:160/udp --network=bridge
honeynet/conpot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants