{"id":23,"date":"2018-11-12T01:23:18","date_gmt":"2018-11-12T09:23:18","guid":{"rendered":"http:\/\/www.maddog187.com\/?p=23"},"modified":"2018-11-12T01:23:18","modified_gmt":"2018-11-12T09:23:18","slug":"ssh-tip-of-the-day","status":"publish","type":"post","link":"https:\/\/www.maddog187.com\/index.php\/2018\/11\/12\/ssh-tip-of-the-day\/","title":{"rendered":"SSH Tip Of The Day"},"content":{"rendered":"<div class=\"entry-content\">\n<p>Change your default SSH port from 22 to 2222 and run\u00a0netcat in a screen session in a while loop like so:<\/p>\n<p>while true; do nc -l -v -p 22; done<\/p>\n<p>Then when hackers attempt\u00a0to connect into the SSH port, a\u00a0connection to netcat is made instead. Netcat is setup so it does not time out, which will hang the hacking attempt. The hacker will more than likely move on to a different target as their scripts break due to netcat not timing out. Great way to stop hackers dead in their tracks<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Change your default SSH port from 22 to 2222 and run\u00a0netcat in a screen session in a while loop like so: while true; do nc -l -v -p 22; done Then when hackers attempt\u00a0to connect into the SSH port, a\u00a0connection to netcat is made instead. Netcat is setup so it does not time out, which [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.maddog187.com\/index.php\/wp-json\/wp\/v2\/posts\/23"}],"collection":[{"href":"https:\/\/www.maddog187.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.maddog187.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.maddog187.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.maddog187.com\/index.php\/wp-json\/wp\/v2\/comments?post=23"}],"version-history":[{"count":1,"href":"https:\/\/www.maddog187.com\/index.php\/wp-json\/wp\/v2\/posts\/23\/revisions"}],"predecessor-version":[{"id":24,"href":"https:\/\/www.maddog187.com\/index.php\/wp-json\/wp\/v2\/posts\/23\/revisions\/24"}],"wp:attachment":[{"href":"https:\/\/www.maddog187.com\/index.php\/wp-json\/wp\/v2\/media?parent=23"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.maddog187.com\/index.php\/wp-json\/wp\/v2\/categories?post=23"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.maddog187.com\/index.php\/wp-json\/wp\/v2\/tags?post=23"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}