I was running python -m http.server that's just a simple http server so I could transfer a file. While my server was up (on a public-facing port) it received the following: - - [22/Aug/2016 23:09:24] code 404, message File not found - - [22/Aug/2016 23:09:24] "GET http://www.baidu.com/cache/global/img/gs.gif HTTP/1.1" 404

What was happening here? I assume it was some sort of hacking attempt - though I'm not sure if it was directed at me, or at someone else.

  • 1
    Honestly, that looks like nothing more than the usual noise all web servers get. – Alexander O'Mara Aug 24 '16 at 3:26
  • Typical scan which looks for hosts which can be misused as open proxy. – Steffen Ullrich Aug 24 '16 at 4:02
  • I wouldn't have guessed it's a "primarily opinion-based question", but from the comments it looks so... – techraf Aug 24 '16 at 4:18
  • No it is not a hacking attempt, someone was trying to GET a image which was not placed on your server, so got 404 instead of 200. So common. If it was a POST request, you may have had to be worry since it won't log anything, but not for this one. HTTP/1.1 is for version, you can learn how it works if you try to get the header of a site by telneting to it. So be happy, and enjoy the rest of your week. – FarazX Aug 24 '16 at 4:37
  • @FarazX Please don't answer the question in the comments section. If you want to answer, use an answer field. – techraf Aug 24 '16 at 4:50

Browse other questions tagged or ask your own question.