{"id":289353,"date":"2018-09-13T15:35:02","date_gmt":"2018-09-13T11:35:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=289353"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=289353","title":{"rendered":"390k. \u0432\u0435\u0431\u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u0439 \u043f\u0430\u043f\u043a\u043e\u0439 .git"},"content":{"rendered":"\n<div class=\"post__text post__text-html js-mediator-article\">\n<p>\u0412 \u0438\u044e\u043b\u0435 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 \u0412\u043b\u0430\u0434\u0438\u043c\u0438\u0440 \u0421\u043c\u0438\u0442\u043a\u0430 \u0440\u0435\u0448\u0438\u043b <a href=\"https:\/\/lynt.cz\/blog\/global-scan-exposed-git\">\u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442<\/a> \u043d\u0430 \u043f\u0440\u0435\u0434\u043c\u0435\u0442 \u043d\u0430\u043b\u0438\u0447\u0438\u044f \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u0445 \u043f\u0430\u043f\u043e\u043a <code>.git<\/code> \u043f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u043d\u0435\u0434\u0430\u0432\u043d\u043e \u0431\u044b\u043b \u043f\u0440\u043e\u0432\u0435\u0434\u0435\u043d \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0439 \u0430\u0443\u0434\u0438\u0442 \u0434\u043b\u044f \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u0434\u043e\u043c\u0435\u043d\u043e\u0432 \u0427\u0435\u0445\u0438\u0438 \u0438 \u0421\u043b\u043e\u0432\u0430\u043a\u0438\u0438.<\/p>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/n2\/8e\/z-\/n28ez-yrtekgvoihoembcicn4uc.png\" alt=\"leak\"><\/p>\n<p>  <\/p>\n<p>\u041a\u0430\u043a \u0433\u043e\u0432\u043e\u0440\u0438\u0442\u0441\u044f: \u00ab\u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u0442\u0430\u043a\u043e\u0433\u043e \u043d\u0435 \u0431\u044b\u043b\u043e, \u0438 \u0432\u043e\u0442 \u043e\u043f\u044f\u0442\u044c\u00bb. \u041d\u0430\u043f\u043e\u043c\u043d\u044e, 9 \u043b\u0435\u0442 \u043d\u0430\u0437\u0430\u0434 <a href=\"https:\/\/habr.com\/post\/70330\/\">\u0442\u043e\u0447\u043d\u043e \u0442\u0430\u043a\u0430\u044f \u0436\u0435 \u0438\u0441\u0442\u043e\u0440\u0438\u044f<\/a> \u0431\u044b\u043b\u0430 \u0441 \u0440\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u0438\u043c \u0441\u0435\u0433\u043c\u0435\u043d\u0442\u043e\u043c \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430 \u043f\u043e\u0440\u0430\u0436\u0435\u043d\u043d\u044b\u043c \u0441\u0438\u043d\u0434\u0440\u043e\u043c\u043e\u043c \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u0439 <code>.svn<\/code>. \u0414\u0430\u043b\u0435\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u044b \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u043a\u0440\u043e\u043f\u043e\u0442\u043b\u0438\u0432\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u0447\u0435\u0448\u0441\u043a\u043e\u0433\u043e \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439 \u0438 \u043c\u0435\u0442\u043e\u0434\u044b.<\/p>\n<p><a name=\"habracut\"><\/a>  <\/p>\n<h1 id=\"prichiny-nalichiya-uyazvimosti\">\u041f\u0440\u0438\u0447\u0438\u043d\u044b \u043d\u0430\u043b\u0438\u0447\u0438\u044f \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0438<\/h1>\n<p>  <\/p>\n<p>\u0417\u043b\u043e\u0443\u043c\u044b\u0448\u043b\u0435\u043d\u043d\u0438\u043a \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0447\u0435\u0440\u043f\u043d\u0443\u0442\u044c \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043c\u043d\u043e\u0433\u043e \u043a\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u0430\u0436\u043d\u043e\u0439 \u0434\u043b\u044f \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 \u0441\u0430\u0439\u0442\u0430 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u0438\u0437 <a href=\"https:\/\/habr.com\/post\/143079\/\">\u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438<\/a> <code>.git<\/code>. \u0422\u0430\u043a \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0434\u0435\u0440\u0435\u0432\u043e \u0442\u0438\u043f\u0438\u0447\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430.<\/p>\n<p>  <\/p>\n<pre><code class=\"diff\">\u251c\u2500\u2500 HEAD \u251c\u2500\u2500 branches \u251c\u2500\u2500 config \u251c\u2500\u2500 description \u251c\u2500\u2500 hooks \u2502 \u251c\u2500\u2500 pre-commit.sample \u2502 \u251c\u2500\u2500 pre-push.sample \u2502 \u2514\u2500\u2500 ... \u251c\u2500\u2500 info \u2502 \u2514\u2500\u2500 exclude \u251c\u2500\u2500 objects \u2502 \u251c\u2500\u2500 info \u2502 \u2514\u2500\u2500 pack \u2514\u2500\u2500 refs  \u251c\u2500\u2500 heads  \u2514\u2500\u2500 tags<\/code><\/pre>\n<p>  <\/p>\n<p>\u0422\u0430\u043c \u043c\u043e\u0433\u0443\u0442 \u0445\u0440\u0430\u043d\u0438\u0442\u0441\u044f \u043f\u0430\u0440\u043e\u043b\u0438 \u0438 \u043a\u043b\u044e\u0447\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u043c API, \u0431\u0430\u0437\u0430\u043c \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u0432\u044b\u043d\u0435\u0441\u0435\u043d\u043d\u044b\u043c \u0432 \u043e\u0431\u043b\u0430\u043a\u043e \u0441\u043b\u0443\u0436\u0431\u0430\u043c.<\/p>\n<p>  <\/p>\n<p>\u0427\u0430\u0441\u0442\u043e, \u043a\u0430\u043a \u0438 \u043f\u043e\u043b\u043e\u0436\u0435\u043d\u043e, \u043f\u043e\u043f\u044b\u0442\u043a\u0430 \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u043f\u0430\u043f\u043a\u0443 <code>.git<\/code> \u0432\u044b\u0434\u0430\u0435\u0442 HTTP \u043e\u0448\u0438\u0431\u043a\u0443 403, \u043d\u043e \u043f\u0440\u0438\u0447\u0438\u043d\u0430 \u0432\u0441\u0435\u0433\u043e \u043b\u0438\u0448\u044c \u0432 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0438 <code>index.html \/ index.php<\/code> \u0438 \u043f\u0440\u0430\u0432 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0438\u043d\u0434\u0435\u043a\u0441\u0430\u0446\u0438\u0438 \u043f\u0430\u043f\u043a\u0438, \u0432 \u0442\u043e \u0432\u0440\u0435\u043c\u044f \u043a\u0430\u043a <strong>\u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u0432\u0441\u0435 \u0435\u0449\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b<\/strong>. \u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0443\u0434\u043e\u0441\u0442\u043e\u0432\u0435\u0440\u0438\u0442\u044c\u0441\u044f \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0441\u0430\u0439\u0442 \u043d\u0435 \u043f\u043e\u0434\u0432\u0435\u0440\u0436\u0435\u043d \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0438 \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 <strong><code>\u0434\u043e\u043c\u0435\u043d\/.git\/HEAD<\/code><\/strong>.<\/p>\n<p>  <\/p>\n<p>\u042d\u0442\u043e\u0442 \u0444\u0430\u0439\u043b \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u0442\u0435\u043a\u0443\u0449\u0443\u044e \u0432\u0435\u0442\u043a\u0443 \u043f\u0440\u043e\u0435\u043a\u0442\u0430.<\/p>\n<p>  <\/p>\n<pre><code>$ cat .git\/HEAD ref: refs\/heads\/master<\/code><\/pre>\n<p>  <\/p>\n<p>\u0414\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0438\u043d\u0434\u0435\u043a\u0441\u0430\u0446\u0438\u044f \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0439 \u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d\u0430, <strong>\u043c\u043e\u0436\u043d\u043e \u043b\u0435\u0433\u043a\u043e \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0432\u0441\u044e \u043f\u0430\u043f\u043a\u0443<\/strong> <code>.git<\/code>, \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u044f \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u0438 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u044f \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u043c \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u044b\u0445 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0439, \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u0442\u043e\u043c\u0443, \u0447\u0442\u043e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430<code>.git<\/code> \u044f\u0441\u043d\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0430. \u0415\u0441\u0442\u044c \u0442\u0430\u043a\u0436\u0435 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u2014 <a href=\"https:\/\/github.com\/internetwache\/GitTools\">GitTools<\/a>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u0440\u043e\u0434\u0435\u043b\u0430\u0435\u0442 \u0432\u0441\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f.<\/p>\n<p>  <\/p>\n<h1 id=\"sredstva-proizvodstva\">\u0421\u0440\u0435\u0434\u0441\u0442\u0432\u0430 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0441\u0442\u0432\u0430<\/h1>\n<p>  <\/p>\n<p>\u041d\u0435 \u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0432\u0441\u044e \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0438 \u0430\u043c\u0431\u0438\u0446\u0438\u043e\u0437\u043d\u043e\u0441\u0442\u044c \u0437\u0430\u0434\u0430\u0447\u0438, \u0437\u0430\u0442\u0440\u0430\u0442\u044b \u0432 \u0434\u0435\u043d\u0435\u0436\u043d\u043e\u043c \u044d\u043a\u0432\u0438\u0432\u0430\u043b\u0435\u043d\u0442\u0435 \u043e\u043a\u0430\u0437\u0430\u043b\u0438\u0441\u044c \u0441\u043a\u0440\u043e\u043c\u043d\u044b\u043c\u0438. \u041d\u0430 \u0432\u0441\u0435, \u043f\u0440\u043e \u0432\u0441\u0435 \u0443\u0448\u043b\u043e 250 \u0434\u043e\u043b\u043b. \u0421\u0428\u0410.<\/p>\n<p>  <\/p>\n<h2 id=\"servera\">\u0421\u0435\u0440\u0432\u0435\u0440\u0430<\/h2>\n<p>  <\/p>\n<p>\u0421\u043c\u0438\u0442\u043a\u0430 \u0430\u0440\u0435\u043d\u0434\u043e\u0432\u0430\u043b \u0434\u043b\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430 18 VPS \u0438 4 \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0441\u0435\u0440\u0432\u0435\u0440\u0430. \u041f\u043e \u0435\u0433\u043e \u0441\u043b\u043e\u0432\u0430\u043c, \u0435\u0433\u043e \u0432\u044b\u0431\u043e\u0440 \u043d\u0435 \u043f\u0430\u043b \u043d\u0430 AWS \u043f\u043e \u0442\u043e\u0439 \u043f\u0440\u0438\u0447\u0438\u043d\u0435, \u0447\u0442\u043e \u043f\u043e\u043b\u043d\u0430\u044f \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c \u0443\u0441\u043b\u0443\u0433\u0438 \u0441 \u0443\u0447\u0435\u0442\u043e\u043c \u043e\u0436\u0438\u0434\u0430\u0435\u043c\u044b\u0445 \u0433\u0438\u0433\u0430\u043d\u0442\u0441\u043a\u0438\u0445 \u043e\u0431\u044a\u0435\u043c\u043e\u0432 \u0442\u0440\u0430\u0444\u0438\u043a\u0430, \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0434\u0438\u0441\u043a\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0430 \u0438 \u0432\u044b\u0441\u043e\u043a\u0438\u0445 \u043d\u0430\u0433\u0440\u0443\u0437\u043e\u043a \u043d\u0430 CPU, \u043d\u0435 \u043f\u043e\u0434\u0434\u0430\u0432\u0430\u043b\u0430\u0441\u044c \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u043a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0446\u0438\u0438. \u0426\u0435\u043d\u0430 \u0436\u0435 \u0430\u0440\u0435\u043d\u0434\u043e\u0432\u0430\u043d\u043d\u044b\u0445 VPS \u0431\u044b\u043b\u0430 \u0444\u0438\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u0430 \u043d\u0430\u043f\u0435\u0440\u0435\u0434.<\/p>\n<p>  <\/p>\n<h2 id=\"spisok-domenov\">\u0421\u043f\u0438\u0441\u043e\u043a \u0434\u043e\u043c\u0435\u043d\u043e\u0432<\/h2>\n<p>  <\/p>\n<p>\u0412 \u043e\u0441\u043d\u043e\u0432\u0443 \u0441\u043f\u0438\u0441\u043a\u0430 \u043b\u0435\u0433\u043b\u0438 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0435 \u043b\u043e\u0433\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 <a href=\"https:\/\/opendata.rapid7.com\/\">OpenData Rapid7<\/a> \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 <code>JSON<\/code>.<\/p>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u0445\u0435\u043c\u0430 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 Forward DNS<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code>{   \"$id\": \"https:\/\/opendata.rapid7.com\/sonar.fdns_v2\/\",   \"type\": \"object\",   \"definitions\": {},   \"$schema\": \"http:\/\/json-schema.org\/draft-07\/schema#\",   \"additionalProperties\": false,   \"properties\": {     \"timestamp\": {       \"$id\": \"\/properties\/timestamp\",       \"type\": \"string\",       \"description\": \"The time when this response was received in seconds since the epoch\"     },     \"name\": {       \"$id\": \"\/properties\/name\",       \"type\": \"string\",       \"description\": \"The record name\"     },     \"type\": {       \"$id\": \"\/properties\/type\",       \"type\": \"string\",       \"description\": \"The record type\"     },     \"value\": {       \"$id\": \"\/properties\/value\",       \"type\": \"string\",       \"description\": \"The response received for a record of the given name and type\"     }   } }<\/code><\/pre>\n<\/div>\n<\/div>\n<p>  <\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0444\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u0438 TLD \u0438 \u0434\u043e\u043c\u0435\u043d\u043e\u0432 \u0432\u0442\u043e\u0440\u043e\u0433\u043e \u0443\u0440\u043e\u0432\u043d\u044f \u0432 \u0441\u043f\u0438\u0441\u043a\u0435 \u0432\u0441\u0435 \u0435\u0449\u0435 \u043e\u0441\u0442\u0430\u0432\u0430\u043b\u043e\u0441\u044c <strong>\u0431\u043e\u043b\u0435\u0435 230 \u043c\u0438\u043b\u043b\u0438\u043e\u043d\u043e\u0432 \u0437\u0430\u043f\u0438\u0441\u0435\u0439<\/strong>.<\/p>\n<p>  <\/p>\n<p>\u0414\u0430\u043b\u0435\u0435 \u0431\u0430\u0437\u0443 \u0434\u0430\u043d\u043d\u044b\u0445 \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u043b\u0438 \u043d\u0430 \u0431\u043b\u043e\u043a\u0438 \u043f\u043e 2 \u043c\u0438\u043b\u043b\u0438\u043e\u043d\u0430 \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u0438 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043b\u0438 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0443 \u043f\u043e \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0430\u043c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e PHP \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f.<\/p>\n<p>  <\/p>\n<h2 id=\"soft\">\u0421\u043e\u0444\u0442<\/h2>\n<p>  <\/p>\n<p>\u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0440\u0430\u0431\u043e\u0447\u0435\u0439 \u043b\u043e\u0448\u0430\u0434\u043a\u0438 \u0432\u044b\u0441\u0442\u0443\u043f\u0438\u043b Python \u043e\u0431\u0432\u0435\u0448\u0430\u043d\u043d\u044b\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430\u043c\u0438 \u0430\u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u043e\u0439 \u0441\u0432\u044f\u0437\u0438 <a href=\"https:\/\/docs.python.org\/3\/library\/asyncio.html\">asyncio<\/a> \u0441 <a href=\"https:\/\/aiohttp.readthedocs.io\/en\/stable\/\">aiohttp<\/a>. \u041f\u043e\u043f\u044b\u0442\u043a\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u043b\u044f \u044d\u0442\u0438\u0445 \u0446\u0435\u043b\u0435\u0439 <a href=\"http:\/\/docs.python-requests.org\/en\/master\/\">Requests<\/a> \u0438 <a href=\"https:\/\/urllib3.readthedocs.io\/en\/latest\/\">Urllib3<\/a> \u0443\u0441\u043f\u0435\u0445\u043e\u043c \u043d\u0435 \u0443\u0432\u0435\u043d\u0447\u0430\u043b\u0430\u0441\u044c, \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u043f\u043e\u043b\u043d\u0435 \u043c\u043e\u0433 \u0431\u044b \u0441\u0433\u043e\u0434\u0438\u0442\u044c\u0441\u044f, \u043d\u043e \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043d\u0435 \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u043b\u0441\u044f \u0441 \u0442\u0430\u0439\u043c-\u0430\u0443\u0442\u0430\u043c\u0438 \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438. \u0412\u0442\u043e\u0440\u043e\u0439 \u0436\u0435 \u043d\u0435\u0432\u0430\u0436\u043d\u043e \u0441\u043f\u0440\u0430\u0432\u043b\u044f\u043b\u0441\u044f \u0441 \u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u0434\u043e\u043c\u0435\u043d\u043e\u0432 \u0438 \u0438\u0437-\u0437\u0430 \u044d\u0442\u043e\u0433\u043e \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0441\u043a\u043e\u0440\u043e \u0438\u0441\u0447\u0435\u0440\u043f\u0430\u043b \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430\u0445 \u043f\u0430\u043c\u044f\u0442\u044c.<\/p>\n<p>  <\/p>\n<p>\u0414\u043b\u044f \u043e\u043f\u043e\u0437\u043d\u0430\u043d\u0438\u044f \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b, \u043f\u0440\u043e\u0444\u0438\u043b\u044f \u0443\u044f\u0437\u0432\u0438\u043c\u044b\u0445 \u0441\u0430\u0439\u0442\u043e\u0432 \u0421\u043c\u0438\u0442\u043a\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u0443\u0442\u0438\u043b\u0438\u0442\u0443 <a href=\"https:\/\/github.com\/CERN-CERT\/WAD\">WAD<\/a>, \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u043d\u0430 \u0431\u0430\u0437\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 <a href=\"https:\/\/github.com\/AliasIO\/Wappalyzer\">Wappalyzer<\/a> \u2014 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u0432\u0435\u0431 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0435\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0435 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438.<\/p>\n<p>  <\/p>\n<p>\u0422\u0430\u043a\u0436\u0435 \u0431\u044b\u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u044b \u043f\u0440\u043e\u0441\u0442\u044b\u0435 \u0443\u0442\u0438\u043b\u0438\u0442\u044b \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 \u0432\u0440\u043e\u0434\u0435 <code>GNU Parallels<\/code> \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0443\u0441\u043a\u043e\u0440\u0438\u0442\u044c \u0432\u0440\u0435\u043c\u044f \u0438\u0441\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430 \u0438 \u043f\u0440\u0435\u0434\u043e\u0442\u0432\u0440\u0430\u0442\u0438\u0442\u044c \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u044f \u0438\u0437-\u0437\u0430 \u043e\u0434\u043d\u043e\u0433\u043e \u0437\u0430\u0432\u0438\u0441\u0430\u043d\u0438\u044f.<\/p>\n<p>  <\/p>\n<pre><code>cat sites.txt | parallel --bar --tmpdir .\/wad --files wad -u {} -f csv<\/code><\/pre>\n<p>  <\/p>\n<h1 id=\"rezultaty\">\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b<\/h1>\n<p>  <\/p>\n<p>\u0421\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u043b\u043e\u0441\u044c 2 \u043d\u0435\u0434\u0435\u043b\u0438, \u0432 \u0438\u0442\u043e\u0433\u0435 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c:<\/p>\n<p>  <\/p>\n<ul>\n<li>\u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b 390 \u0442\u044b\u0441. \u0443\u044f\u0437\u0432\u0438\u043c\u044b\u0445 \u0432\u0435\u0431 \u0441\u0430\u0439\u0442\u043e\u0432;<\/li>\n<li>\u0441\u043e\u0431\u0440\u0430\u043b 290 \u0442\u044b\u0441. \u0430\u0434\u0440\u0435\u0441\u043e\u0432 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u043f\u043e\u0447\u0442\u044b;<\/li>\n<li>\u043e\u043f\u043e\u0432\u0435\u0441\u0442\u0438\u043b 18 \u0442\u044b\u0441. \u0430\u0434\u0440\u0435\u0441\u0430\u0442\u043e\u0432 \u043e \u043d\u0430\u0439\u0434\u0435\u043d\u043d\u043e\u0439 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0438;<\/li>\n<\/ul>\n<p>  <\/p>\n<p>\u0412 \u043e\u0442\u0432\u0435\u0442 \u043d\u0430 \u0441\u0432\u043e\u0438 \u0441\u0442\u0430\u0440\u0430\u043d\u0438\u044f \u0421\u043c\u0438\u0442\u043a\u0430 \u043f\u043e\u043b\u0443\u0447\u0438\u043b:<\/p>\n<p>  <\/p>\n<ul>\n<li>\u043e\u043a\u043e\u043b\u043e 2000 \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445 \u043f\u0438\u0441\u0435\u043c;<\/li>\n<li>30 \u043b\u043e\u0436\u043d\u044b\u0445 \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0439 \u0441 honeypot \u0441\u0438\u0441\u0442\u0435\u043c;<\/li>\n<li>1 \u0443\u0433\u0440\u043e\u0437\u0430 \u043f\u043e\u0437\u0432\u043e\u043d\u0438\u0442\u044c \u0432 \u043f\u043e\u043b\u0438\u0446\u0438\u044e \u041a\u0430\u043d\u0430\u0434\u044b;<\/li>\n<\/ul>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/i9\/m8\/ur\/i9m8urwuwnqdxyctjkf7wwzuyyu.png\" alt=\"platform\"><\/p>\n<p>  <\/p>\n<p>\u0421\u0430\u043c\u044b\u043c \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u043c \u044f\u0437\u044b\u043a\u043e\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f <strong>PHP<\/strong>. \u041e\u0434\u043d\u0430\u043a\u043e, \u0435\u0441\u043b\u0438 \u043d\u043e\u0440\u043c\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0439 \u0434\u043e\u043b\u0435 \u0442\u043e\u0433\u043e \u0438\u043b\u0438 \u0438\u043d\u043e\u0433\u043e \u042f\u041f, \u0442\u043e PHP \u0443\u0441\u0442\u0443\u043f\u0430\u0435\u0442 \u043b\u0438\u0434\u0435\u0440\u0441\u0442\u0432\u043e Python \u0438 Node.js. \u0412\u043f\u0440\u043e\u0447\u0435\u043c \u043d\u0435\u043f\u043e\u043d\u044f\u0442\u043d\u043e \u043d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0434\u043e\u0441\u0442\u043e\u0432\u0435\u0440\u043d\u043e\u0439 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0442\u0430\u043a\u0430\u044f \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0434\u043e\u043b\u0438 \u0440\u044b\u043d\u043a\u0430 \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u044f\u0437\u044b\u043a\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f.<\/p>\n<p>  <\/p>\n<p>\u0421\u043f\u0438\u0441\u043e\u043a \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u043e\u0441\u0442\u0438 \u0432\u0435\u0431 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432 \u0432\u043e\u0437\u0433\u043b\u0430\u0432\u043b\u044f\u0435\u0442 <strong>Apache<\/strong>, \u043d\u0430 \u0432\u0442\u043e\u0440\u043e\u043c \u043c\u0435\u0441\u0442\u0435 Nginx, \u0430 \u043a\u0438\u0442\u0430\u0439\u0441\u043a\u0438\u0439 \u043a\u043b\u043e\u043d Nginx <a href=\"http:\/\/tengine.taobao.org\/\">Tengine<\/a> \u0432\u043d\u0435\u0437\u0430\u043f\u043d\u043e \u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u043d\u0430 \u0442\u0440\u0435\u0442\u044c\u0435\u043c \u043c\u0435\u0441\u0442\u0435.<\/p>\n<p>  <\/p>\n<p>\u0421\u0430\u043c\u043e\u0439 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u043e\u0439 \u041e\u0421 \u043e\u043a\u0430\u0437\u0430\u043b\u0430\u0441\u044c <strong>Ubuntu<\/strong>, \u0434\u0430\u043b\u0435\u0435 Debian, \u0430 CentOS \u043d\u0430 \u0442\u0440\u0435\u0442\u044c\u0435\u043c \u043c\u0435\u0441\u0442\u0435.<\/p>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/0m\/0_\/c6\/0m0_c6twa-m7jul3thwbrsyxyjm.png\" alt=\"OS\"><\/p>\n<p>  <\/p>\n<p>\u041d\u043e\u043c\u0438\u043d\u0430\u0446\u0438\u044f CMS \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043e\u043a\u0430\u0437\u0430\u043b\u0430\u0441\u044c \u0442\u0435\u0430\u0442\u0440\u043e\u043c \u043e\u0434\u043d\u043e\u0433\u043e \u0430\u043a\u0442\u0435\u0440\u0430, \u0438 \u044d\u0442\u0438\u043c \u0430\u043a\u0442\u0435\u0440\u043e\u043c \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f <strong>WordPress<\/strong> \u0441 85% \u0434\u043e\u043b\u0435\u0439 \u0432\u0441\u0435\u0445 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u043d\u044b\u0445 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c.<\/p>\n<p>  <\/p>\n<h1 id=\"chto-zhe-dalshe\">\u0427\u0442\u043e \u0436\u0435 \u0434\u0430\u043b\u044c\u0448\u0435<\/h1>\n<p>  <\/p>\n<p>\u041f\u043e\u0447\u0438\u043d\u0438\u0442\u044c \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044c \u043d\u0435\u0441\u043b\u043e\u0436\u043d\u043e.<\/p>\n<p>  <\/p>\n<h2 id=\"htaccess\">.htaccess<\/h2>\n<p>  <\/p>\n<pre><code>RewriteRule \"(^|\/)\\.(?!well-known\\\/)\" - [F]<\/code><\/pre>\n<p>  <\/p>\n<h2 id=\"nginx\">.nginx<\/h2>\n<p>  <\/p>\n<pre><code class=\"nginx\">location ~ \/\\.(?!well-known\\\/) {     deny all; }<\/code><\/pre>\n<p>  <\/p>\n<h2 id=\"apache22conf\">apache22.conf<\/h2>\n<p>  <\/p>\n<pre><code class=\"apache\">&lt;Directory ~ \"\/\\.(?!well-known\\\/)\"&gt;     Order deny,allow     Deny from all &lt;\/Directory&gt;<\/code><\/pre>\n<p>  <\/p>\n<h2 id=\"apache24conf\">apache24.conf<\/h2>\n<p>  <\/p>\n<pre><code class=\"apache\">&lt;Directory ~ \"\/\\.(?!well-known\\\/)\"&gt;     Require all denied &lt;\/Directory&gt;<\/code><\/pre>\n<p>  <\/p>\n<h2 id=\"caddyfile\">Caddyfile<\/h2>\n<p>  <\/p>\n<pre><code>status 403 \/blockdot rewrite {     r \/\\.(?!well-known\\\/)     to \/blockdot }<\/code><\/pre>\n<\/div>\n<p>        <script class=\"js-mediator-script\">!function(e){function t(t,n){if(!(n in e)){for(var r,a=e.document,i=a.scripts,o=i.length;o--;)if(-1!==i[o].src.indexOf(t)){r=i[o];break}if(!r){r=a.createElement(\"script\"),r.type=\"text\/javascript\",r.async=!0,r.defer=!0,r.src=t,r.charset=\"UTF-8\";var d=function(){var e=a.getElementsByTagName(\"script\")[0];e.parentNode.insertBefore(r,e)};\"[object Opera]\"==e.opera?a.addEventListener?a.addEventListener(\"DOMContentLoaded\",d,!1):e.attachEvent(\"onload\",d):d()}}}t(\"\/\/mediator.mail.ru\/script\/2820404\/\",\"_mediator\")}(window);<\/script>     <br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/post\/422725\/\"> https:\/\/habr.com\/post\/422725\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html js-mediator-article\">\n<p>\u0412 \u0438\u044e\u043b\u0435 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 \u0412\u043b\u0430\u0434\u0438\u043c\u0438\u0440 \u0421\u043c\u0438\u0442\u043a\u0430 \u0440\u0435\u0448\u0438\u043b <a href=\"https:\/\/lynt.cz\/blog\/global-scan-exposed-git\">\u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442<\/a> \u043d\u0430 \u043f\u0440\u0435\u0434\u043c\u0435\u0442 \u043d\u0430\u043b\u0438\u0447\u0438\u044f \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u0445 \u043f\u0430\u043f\u043e\u043a <code>.git<\/code> \u043f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u043d\u0435\u0434\u0430\u0432\u043d\u043e \u0431\u044b\u043b \u043f\u0440\u043e\u0432\u0435\u0434\u0435\u043d \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0439 \u0430\u0443\u0434\u0438\u0442 \u0434\u043b\u044f \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u0434\u043e\u043c\u0435\u043d\u043e\u0432 \u0427\u0435\u0445\u0438\u0438 \u0438 \u0421\u043b\u043e\u0432\u0430\u043a\u0438\u0438.<\/p>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/n2\/8e\/z-\/n28ez-yrtekgvoihoembcicn4uc.png\" alt=\"leak\"><\/p>\n<p>  <\/p>\n<p>\u041a\u0430\u043a \u0433\u043e\u0432\u043e\u0440\u0438\u0442\u0441\u044f: \u00ab\u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u0442\u0430\u043a\u043e\u0433\u043e \u043d\u0435 \u0431\u044b\u043b\u043e, \u0438 \u0432\u043e\u0442 \u043e\u043f\u044f\u0442\u044c\u00bb. \u041d\u0430\u043f\u043e\u043c\u043d\u044e, 9 \u043b\u0435\u0442 \u043d\u0430\u0437\u0430\u0434 <a href=\"https:\/\/habr.com\/post\/70330\/\">\u0442\u043e\u0447\u043d\u043e \u0442\u0430\u043a\u0430\u044f \u0436\u0435 \u0438\u0441\u0442\u043e\u0440\u0438\u044f<\/a> \u0431\u044b\u043b\u0430 \u0441 \u0440\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u0438\u043c \u0441\u0435\u0433\u043c\u0435\u043d\u0442\u043e\u043c \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430 \u043f\u043e\u0440\u0430\u0436\u0435\u043d\u043d\u044b\u043c \u0441\u0438\u043d\u0434\u0440\u043e\u043c\u043e\u043c \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u0439 <code>.svn<\/code>. \u0414\u0430\u043b\u0435\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u044b \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u043a\u0440\u043e\u043f\u043e\u0442\u043b\u0438\u0432\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u0447\u0435\u0448\u0441\u043a\u043e\u0433\u043e \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439 \u0438 \u043c\u0435\u0442\u043e\u0434\u044b.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-289353","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/289353","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=289353"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/289353\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=289353"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=289353"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=289353"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}