I followed along with you on VS code and I did not get the same results as you. I triple checked my code and no "Hello" return, nothing was the same. Help!
Hey man I’m new like a complete beginner trying to do projects and I chose a honey pot is this like exactly how to build a honey pot bc for an example I decided to follow the video and I’m gonna go off your code and try understanding it but this is how to create a honeypot right now?
Hey there. I'm implementing this for a project I'm working on, works great how you've programmed it here. But I'm wanting to let a connection go through no matter what, so I changed FAILED to SUCCESSFUL in 'return paramiko.AUTH_FAILED'. Trying to run 'ssh localhost -p 2222', I get this error every time: "channel 0: open failed: administratively prohibited:" So with 'sudo sshd -T | grep -Ei 'TCPKeepAlive|AllowTCPForwarding|PermitOpen', I verified tcpkeepalive was set to yes, allowtcpforwarding set to yes, and permitopen set to any. Still the same error. On top of this, I'd like to allow for functionality to be able to run the common commands like cd,ls,etc. like you mentioned @ 18:01 . How do you suggest I go about that? Any pointers you can give me on either of these are greatly appreciated! Great video!
Huh. Interesting. Nothing obvious jumps to mind. As far as other commands, you just need to look at the other functions to overwrite and then decide what you want to do with them (actually run them with subprocess, or log them and return some error message, or come up with some fake os all in Python).
So I think the issue is that `args` takes an interable (list, tuple, etc), and I was giving it just the one socket. So I eventually changed it to `args=(socket,)`. `(x,)` is a tuple with one item, kinda like `[x]` is a list with one item. With tuples, you have to use the extra , or it will think you're just using () for separation.