01.07.2020 Views

Cyber Defense eMagazine July 2020 Edition

Cyber Defense eMagazine July Edition for 2020 #CDM #CYBERDEFENSEMAG @CyberDefenseMag by @Miliefsky a world-renowned cyber security expert and the Publisher of Cyber Defense Magazine as part of the Cyber Defense Media Group as well as Yan Ross, US Editor-in-Chief, Pieruligi Paganini, Co-founder & International Editor-in-Chief, Stevin Miliefsky, President and many more writers, partners and supporters who make this an awesome publication! Thank you all and to our readers! OSINT ROCKS! #CDM #CDMG #OSINT #CYBERSECURITY #INFOSEC #BEST #PRACTICES #TIPS #TECHNIQUES

Cyber Defense eMagazine July Edition for 2020 #CDM #CYBERDEFENSEMAG @CyberDefenseMag by @Miliefsky a world-renowned cyber security expert and the Publisher of Cyber Defense Magazine as part of the Cyber Defense Media Group as well as Yan Ross, US Editor-in-Chief, Pieruligi Paganini, Co-founder & International Editor-in-Chief, Stevin Miliefsky, President and many more writers, partners and supporters who make this an awesome publication! Thank you all and to our readers! OSINT ROCKS! #CDM #CDMG #OSINT #CYBERSECURITY #INFOSEC #BEST #PRACTICES #TIPS #TECHNIQUES

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

TIMEOUT = 10<br />

listener = socket.socket(socket.AF_INET, socket.SOCK_STREAM)<br />

def hon():<br />

print ('[*] Honeypot starting on ' + LHOST + ':' + str(LPORT))<br />

eel.test('[*] Honeypot starting on ' + LHOST + ':' + str(LPORT))<br />

atexit.register(exit_handler)<br />

listener.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)<br />

listener.bind((LHOST, LPORT))<br />

listener.listen(5)<br />

while True:<br />

(insock, address) = listener.accept()<br />

insock.settimeout(TIMEOUT)<br />

print ('[*] Honeypot connection from ' + address[0] + ':' + str(address[1]) + ' on port ' + str(LPORT))<br />

eel.test('[*] Honeypot connection from ' + address[0] + ':' + str(address[1]) + ' on port ' +<br />

str(LPORT))<br />

try:<br />

insock.send(BANNER.encode())<br />

data = insock.recv(1024)<br />

except socket.error as e:<br />

sendLog(address[0],'Error: ' + str(e))<br />

else:<br />

sendLog(address[0],data)<br />

finally:<br />

insock.close()<br />

<strong>Cyber</strong> <strong>Defense</strong> <strong>eMagazine</strong> –<strong>July</strong> <strong>2020</strong> <strong>Edition</strong> 134<br />

Copyright © <strong>2020</strong>, <strong>Cyber</strong> <strong>Defense</strong> Magazine. All rights reserved worldwide.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!