Тёмный

Creating a SSH Honeypot with Python 

0xdf
Подписаться 11 тыс.
Просмотров 6 тыс.
50% 1

Опубликовано:

 

15 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 19   
@gelzki
@gelzki Год назад
As always a great explanation. You are so underrated. This can be used by one of the machines in the current HTB season. 😊
@s4dbrd494
@s4dbrd494 Год назад
I really liked this video, well explained!
@StacySirbu-jb5be
@StacySirbu-jb5be Месяц назад
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!
@kunaljoshi8268
@kunaljoshi8268 28 дней назад
bro you were using kali linux or windows. ubuntu or other version of linux would work too but not windows. So keep that in mind.
@NotEv3nReal
@NotEv3nReal 11 месяцев назад
Useful video 👍
@DexieTheSheep
@DexieTheSheep Год назад
that thumbnail is awesome
@0xdf
@0xdf Год назад
Thank you! Bing Image Creator + Gimp!
@DexieTheSheep
@DexieTheSheep Год назад
@@0xdf based, i love editing ai art into stuff :P
@SirFred3
@SirFred3 5 месяцев назад
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?
@0xdf
@0xdf 3 месяца назад
Hey, this is one way. If I were starting from scratch I may just deploy an existing honeypot project like cowrie
@lorenzomartorana912
@lorenzomartorana912 5 месяцев назад
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!
@0xdf
@0xdf 5 месяцев назад
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).
@lorenzomartorana912
@lorenzomartorana912 5 месяцев назад
@@0xdf Got it! Thanks a bunch, still wrestling with that strange error unfortunately but I appreciate the reply :)
@NidhiBISHT-mb2ml
@NidhiBISHT-mb2ml 6 месяцев назад
its not working in vscode , no error is generate but although no output is generate .why? how can i fix it?
@kunaljoshi8268
@kunaljoshi8268 28 дней назад
you were using window or linux?? Look terminals work differently in both the OSs so you need to work accordingly
@Soshx
@Soshx 8 месяцев назад
@ 15:25 got the same error but not sure how you fixed it
@0xdf
@0xdf 6 месяцев назад
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.
@tg7943
@tg7943 Год назад
Push!
Далее
How SSH Works
8:54
Просмотров 547 тыс.
Python Socket Programming Tutorial
49:43
Просмотров 1 млн
Improving Readability Through Fewer Arguments
13:12
Просмотров 2,3 тыс.
Code your OWN HONEYPOT in PYTHON! 🍯
8:17
Просмотров 3,6 тыс.
Python SSH Client - Paramiko. SSH with Python.
7:21
Просмотров 76 тыс.
Creating VMs with Vagrant
20:37
Просмотров 1,4 тыс.
Simple Automated SSH Python Bot
17:50
Просмотров 32 тыс.
How I Would Learn To Code (If I Could Start Over)
13:43