{"id":300098,"date":"2020-03-13T15:00:27","date_gmt":"2020-03-13T15:00:27","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=300098"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=300098","title":{"rendered":"Write-up CTFZone Quals 2019: Chicken"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/company\/bizone\/blog\/492222\/\">\u041d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430&nbsp;\u043f\u0435\u0440\u0435\u043d\u043e\u0441 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0438 <a href=\"https:\/\/offzone.moscow\/ru\/\">OFFZONE 2020<\/a>, \u0444\u0438\u043d\u0430\u043b\u0443 \u0441\u043e\u0440\u0435\u0432\u043d\u043e\u0432\u0430\u043d\u0438\u0439 <a href=\"https:\/\/offzone.moscow\/ru\/ctfzone\/\">CTFZone<\/a> \u0431\u044b\u0442\u044c! \u0412&nbsp;\u044d\u0442\u043e\u043c \u0433\u043e\u0434\u0443 \u043e\u043d&nbsp;\u0432\u043f\u0435\u0440\u0432\u044b\u0435 \u043f\u0440\u043e\u0439\u0434\u0435\u0442 \u0432&nbsp;\u043e\u043d\u043b\u0430\u0439\u043d-\u0440\u0435\u0436\u0438\u043c\u0435 \u0438&nbsp;\u0431\u0443\u0434\u0435\u0442 \u0430\u043a\u0442\u0438\u0432\u043d\u043e \u0442\u0440\u0430\u043d\u0441\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0432&nbsp;\u0441\u043e\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0445 \u0441\u0435\u0442\u044f\u0445.<\/p>\n<p>  \u041e&nbsp;\u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u044f\u0445 \u043c\u044b&nbsp;\u043e\u0431\u044a\u044f\u0432\u0438\u043c \u043f\u043e\u0437\u0436\u0435, \u0430&nbsp;\u043f\u043e\u043a\u0430 \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u043c \u0438\u0437\u0443\u0447\u0438\u0442\u044c \u0440\u0430\u0439\u0442\u0430\u043f \u0432\u0435\u0431-\u0442\u0430\u0441\u043a\u0430 \u0441&nbsp;\u043e\u0442\u0431\u043e\u0440\u043e\u0447\u043d\u043e\u0433\u043e \u044d\u0442\u0430\u043f\u0430. \u0420\u0430\u0437\u0431\u043e\u0440 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043d\u0430\u043c \u043f\u0440\u0438\u0441\u043b\u0430\u043b <b>Devand MacLean<\/b> \u0438\u0437&nbsp;\u041a\u0430\u043d\u0430\u0434\u044b. \u0421\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u0434\u043b\u044f \u00ab\u0425\u0430\u0431\u0440\u0430\u00bb \u043c\u044b&nbsp;\u043f\u0435\u0440\u0435\u0432\u0435\u043b\u0438 <a href=\"https:\/\/medium.com\/@offzone.conf\/writeup-ctfzone-quals-2019-chicken-f47f7f80591f\">\u0442\u0435\u043a\u0441\u0442 \u0440\u0430\u0439\u0442\u0430\u043f\u0430<\/a> \u0438&nbsp;\u043f\u0440\u0438\u0433\u043b\u0430\u0448\u0430\u0435\u043c \u0443\u0437\u043d\u0430\u0442\u044c, \u0441&nbsp;\u043a\u0430\u043a\u043e\u0439 \u0446\u0435\u043f\u043e\u0447\u043a\u043e\u0439 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0435\u0439 \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0438\u0441\u044c \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0438 \u0438&nbsp;\u043f\u0440\u0438 \u0447\u0435\u043c \u0437\u0434\u0435\u0441\u044c \u043a\u0443\u0440\u0438\u0446\u0430.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/qq\/kw\/um\/qqkwum4pqnrjnrgqxa9__wofqec.png\"><br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h2>\u041e\u0431\u0449\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f<\/h2>\n<p>  <b>\u0410\u0432\u0442\u043e\u0440 \u0442\u0430\u0441\u043a\u0430:<\/b> \u041f\u0430\u0432\u0435\u043b \u0421\u043e\u0440\u043e\u043a\u0438\u043d<br \/>  <b>\u0411\u0430\u043b\u043b\u044b:<\/b> 470<br \/>  <b>\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u043e\u043c\u0430\u043d\u0434, \u0440\u0435\u0448\u0438\u0432\u0448\u0438\u0445 \u0442\u0430\u0441\u043a:<\/b> 2  <\/p>\n<p><b>\u041f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u0441\u0441\u044b\u043b\u043a\u0438:<\/b><\/p>\n<p>  <\/p>\n<ul>\n<li><a href=\"https:\/\/gchq.github.io\/CyberChef\/\">https:\/\/gchq.github.io\/CyberChef\/<\/a><\/li>\n<li><a href=\"https:\/\/docs.microsoft.com\/en-us\/aspnet\/core\/host-and-deploy\/directory-structure?view=aspnetcore-3.0\">https:\/\/docs.microsoft.com\/en-us\/aspnet\/core\/host-and-deploy\/directory-structure?view=aspnetcore-3.0<\/a><\/li>\n<li><a href=\"https:\/\/jakeydocs.readthedocs.io\/en\/latest\/tutorials\/first-mvc-app\/adding-view.html\">https:\/\/jakeydocs.readthedocs.io\/en\/latest\/tutorials\/first-mvc-app\/adding-view.html<\/a><\/li>\n<li><a href=\"https:\/\/blog.mindedsecurity.com\/2018\/10\/from-path-traversal-to-source-code-in.html\">https:\/\/blog.mindedsecurity.com\/2018\/10\/from-path-traversal-to-source-code-in.html<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/0xd4d\/dnSpy\/releases\">https:\/\/github.com\/0xd4d\/dnSpy\/releases<\/a><\/li>\n<\/ul>\n<p>  <\/p>\n<h2>\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0442\u0430\u0441\u043a\u0430<\/h2>\n<p>  <\/p>\n<p>\u041d\u0430 \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u0437\u0433\u043b\u044f\u0434, \u0432\u0435\u0431-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043b\u043e:<\/p>\n<p>  <\/p>\n<ul>\n<li>\u0434\u043e\u043c\u0430\u0448\u043d\u044e\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 <b><font color=\"#ff0000\">(\/Home\/Index)<\/font><\/b>;<\/li>\n<li>\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u043f\u0440\u043e \u043a\u0443\u0440\u0438\u0446 <b><font color=\"#ff0000\">(\/Home\/Hens)<\/font><\/b>;<\/li>\n<li>\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0441 \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u0430\u043c\u0438 <b><font color=\"#ff0000\">(\/Home\/Contact)<\/font><\/b>;<\/li>\n<li>\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0434\u043b\u044f \u0432\u0445\u043e\u0434\u0430 <b><font color=\"#ff0000\">(\/Auth\/Login)<\/font><\/b>.<\/li>\n<\/ul>\n<p>  <\/p>\n<p>\u041f\u043e\u0437\u0434\u043d\u0435\u0435, \u0432&nbsp;\u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u0430\u043d\u0430\u043b\u0438\u0437\u0430, \u0442\u0430\u043a\u0436\u0435 \u0431\u044b\u043b\u0438 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u044b:<\/p>\n<p>  <\/p>\n<ul>\n<li>\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u0434\u043b\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043f\u0430\u0440\u043e\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f;<\/li>\n<li>\u0432\u0442\u043e\u0440\u043e\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0441&nbsp;API \u0434\u043b\u044f \u0432\u0445\u043e\u0434\u0430, \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0438&nbsp;\u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043f\u0430\u0440\u043e\u043b\u044f.<\/li>\n<\/ul>\n<p>  <\/p>\n<h2>\u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u0442\u0430\u0441\u043a\u0430<\/h2>\n<p>  \u041d\u0430&nbsp;\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \/Home\/Hens \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u0441\u044f \u0441\u0441\u044b\u043b\u043a\u0438 \u043d\u0430&nbsp;\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443 \u00ab\u043f\u0430\u0441\u043f\u043e\u0440\u0442\u043e\u0432\u00bb \u043a\u0443\u0440\u0438\u0446.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/7n\/nc\/1n\/7nnc1nhfmbr0yfkok8ra-hqi1fo.png\"><\/div>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u0434\u0435\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f Base64 \u043d\u0430\u0445\u043e\u0434\u0438\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 filename: 1.txt. \u0421&nbsp;\u043f\u043e\u043c\u043e\u0449\u044c\u044e CyberChef \u043a\u043e\u0434\u0438\u0440\u0443\u0435\u043c <b>\/etc\/passwd<\/b> \u0432&nbsp;Base64 \u0438&nbsp;\u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043f\u043e&nbsp;\u0441\u0441\u044b\u043b\u043a\u0435:<\/p>\n<p>  <a href=\"http:\/\/web-chicken.ctfz.one\/File\/Download?filename=L2V0Yy9wYXNzd2Q=\">http:\/\/web-chicken.ctfz.one\/File\/Download?filename=L2V0Yy9wYXNzd2Q=<\/a><\/p>\n<p>  \u0412&nbsp;\u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0444\u0430\u0439\u043b\u0430 <b>\/etc\/passwd<\/b> \u043d\u0430&nbsp;\u0441\u0435\u0440\u0432\u0435\u0440\u0435, \u0430&nbsp;\u0437\u043d\u0430\u0447\u0438\u0442, \u043c\u044b&nbsp;\u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043f\u0440\u0430\u0432\u0430 \u043d\u0430&nbsp;\u0447\u0442\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 \u0432&nbsp;\u0441\u0438\u0441\u0442\u0435\u043c\u0435.<\/p>\n<p>  \u041f\u0440\u0438 \u043f\u043e\u043f\u044b\u0442\u043a\u0435 \u043e\u0442\u044b\u0441\u043a\u0430\u0442\u044c \u0434\u0440\u0443\u0433\u0438\u0435 \u0444\u0430\u0439\u043b\u044b \u0432&nbsp;\u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c \u043e\u0448\u0438\u0431\u043a\u0443, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u043f\u0440\u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u0435 \u043d\u0435\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0433\u043e \u0444\u0430\u0439\u043b\u0430 (\u0438\u043b\u0438 \u0444\u0430\u0439\u043b\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0435\u043b\u044c\u0437\u044f \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u0441&nbsp;\u043f\u0440\u0430\u0432\u0430\u043c\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f):<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/oc\/au\/su\/ocausuexy92ii3ackgqn2fnh-ta.png\"><\/div>\n<p>  \u0423\u0432\u0438\u0434\u0435\u0432, \u0447\u0442\u043e \u043e\u0448\u0438\u0431\u043a\u0430 \u0441\u0441\u044b\u043b\u0430\u0435\u0442\u0441\u044f \u043d\u0430&nbsp;\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e \u0441\u0440\u0435\u0434\u044b <b>ASPNETCORE_ENVIRONMENT<\/b>, \u043c\u044b&nbsp;\u043d\u0430\u0447\u0438\u043d\u0430\u0435\u043c \u0438\u0437\u0443\u0447\u0430\u0442\u044c \u043c\u0430\u043a\u0435\u0442\u044b \u0432\u0435\u0431-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 ASP.NET Core. \u0418&nbsp;\u0432\u0438\u0434\u0438\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/dr\/oz\/7s\/droz7stwr6mkzt3buptphi6yt88.png\"><\/div>\n<p>  \u0427\u0442\u043e\u0431\u044b \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u044c \u043d\u0443\u0436\u043d\u044b\u0435 \u043f\u0443\u0442\u0438 \u0438&nbsp;\u0438\u043c\u0435\u043d\u0430 \u0444\u0430\u0439\u043b\u043e\u0432 \u0438&nbsp;\u0438\u0437\u0432\u043b\u0435\u0447\u044c \u0438\u0445&nbsp;\u0432&nbsp;Base64, \u043f\u0438\u0448\u0435\u043c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0441\u043a\u0440\u0438\u043f\u0442 \u043d\u0430&nbsp;Python (<b>fetch.py<\/b>):<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/aq\/nv\/of\/aqnvofypmm8iiotr8xq0koyybtg.png\"><\/div>\n<p>  <\/p>\n<p>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u044d\u0442\u0438 \u0437\u043d\u0430\u043d\u0438\u044f \u043e&nbsp;\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0435 \u0432\u0435\u0431-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f MVC, \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0432&nbsp;ASP.NET Core, \u0441&nbsp;\u043f\u043e\u043c\u043e\u0449\u044c\u044e fetch.py \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0444\u0430\u0439\u043b\u043e\u0432:<\/p>\n<p>  <\/p>\n<ul>\n<li>..\/Views\/Shared\/_Layout.cshtml<\/li>\n<li>..\/Views\/Home\/Index.cshtml<\/li>\n<li>..\/Views\/Home\/Contact.cshtml<\/li>\n<li>..\/Views\/Home\/Hens.cshtml<\/li>\n<li>..\/Views\/Auth\/Login.cshtml<\/li>\n<\/ul>\n<p>  \u0421\u0434\u0435\u043b\u0430\u0432 \u044d\u0442\u043e \u0438&nbsp;\u0438\u0437\u0443\u0447\u0438\u0432 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 \u043a\u0430\u0436\u0434\u043e\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b, \u043c\u044b&nbsp;\u043d\u0430\u0445\u043e\u0434\u0438\u043c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0443\u044e \u0434\u0435\u0442\u0430\u043b\u044c \u0432&nbsp;Hens.cshtml <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/7w\/kp\/mq\/7wkpmqusqncbmjsdigxelqxxy2c.png\"><\/div>\n<p>  \u0412&nbsp;\u0441\u0442\u0440\u043e\u043a\u0435 1&nbsp;\u0435\u0441\u0442\u044c \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f @ using StackHenneryMVCAppProject, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432&nbsp;ASP.NET \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442 \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430&nbsp;DLL-\u0444\u0430\u0439\u043b.<\/p>\n<p>  \u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c ..\/StackHenneryMVCAppProject.dll \u2014 \u043d\u043e&nbsp;\u043d\u0435&nbsp;\u0447\u0435\u0440\u0435\u0437 \u0443\u0442\u0438\u043b\u0438\u0442\u0443 Python \u0432&nbsp;Kali Linux, \u0430&nbsp;\u0432&nbsp;\u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u043d\u0430&nbsp;Windows, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u043c\u0441\u044f \u0434\u0435\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u043e\u0442 \u0444\u0430\u0439\u043b \u0432&nbsp;Windows. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0442\u0430\u043a\u043e\u0439 URL:<\/p>\n<p>  <a href=\"http:\/\/web-chicken.ctfz.one\/File\/Download?filename=Li4vU3RhY2tIZW5uZXJ5TVZDQXBwUHJvamVjdC5kbGw=\">http:\/\/web-chicken.ctfz.one\/File\/Download?filename=Li4vU3RhY2tIZW5uZXJ5TVZDQXBwUHJvamVjdC5kbGw=<\/a><\/p>\n<p>  \u041e\u0442\u043a\u0440\u044b\u0432 DLL-\u0444\u0430\u0439\u043b \u0432&nbsp;dnSpy (\u0434\u0435\u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0435 .NET), \u0441\u0440\u0430\u0437\u0443 \u0432\u0438\u0434\u0438\u043c, \u0447\u0442\u043e \u0432&nbsp;\u043c\u0435\u0442\u043e\u0434\u0435 <b>Initialize()<\/b> \u043a\u043b\u0430\u0441\u0441\u0430 <b>Config.Configuration<\/b>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u043f\u0440\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0435 \u0432\u0435\u0431-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0444\u0430\u0439\u043b\u0430 <b>chicken_domains_internal.txt<\/b>. \u0421&nbsp;\u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u043a\u0440\u0438\u043f\u0442\u0430 Python \u0438\u0437\u0432\u043b\u0435\u043a\u0430\u0435\u043c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u044d\u0442\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430:<\/p>\n<p>  web-chicken-flag<br \/>  web-chicken-auth<\/p>\n<p>  \u041c\u0435\u0442\u043e\u0434 <b>Initialize()<\/b> \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u043a&nbsp;<b>web-chicken-flag<\/b> \u0447\u0435\u0440\u0435\u0437 \u043f\u043e\u0440\u0442 4321 \u0438&nbsp;\u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432: <b>secret_token<\/b>, <b>RSA_key<\/b> \u0438&nbsp;<b>flag<\/b>.<\/p>\n<p>  \u041a&nbsp;\u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u0438\u043d\u0438\u0446\u0438\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a&nbsp;web-chicken-flag \u043d\u0435&nbsp;\u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f. \u041d\u043e, \u043a\u043e\u0433\u0434\u0430 \u043c\u044b&nbsp;\u0437\u0430\u0434\u0430\u0435\u043c \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u0443\u044e DNS-\u0437\u0430\u043f\u0438\u0441\u044c hosts, \u0447\u0442\u043e\u0431\u044b \u043f\u0435\u0440\u0435\u0432\u0435\u0441\u0442\u0438 web-chicken-auth \u043d\u0430&nbsp;\u0432\u043d\u0435\u0448\u043d\u0438\u0439 IP-\u0430\u0434\u0440\u0435\u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 (<b>34.89.232.240<\/b>), \u043d\u0430\u043c \u0443\u0434\u0430\u0435\u0442\u0441\u044f \u043e\u0442\u043a\u0440\u044b\u0442\u044c <a href=\"http:\/\/web-chicken-auth\/\">http:\/\/web-chicken-auth\/<\/a> \u0441&nbsp;\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u043c <b>Swagger&nbsp;UI<\/b>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0438&nbsp;\u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u043c\u0430\u043d\u0434 \u0447\u0435\u0440\u0435\u0437 REST API.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/zy\/jq\/he\/zyjqherp-esnmlziil2jnubkram.png\"><\/div>\n<p>  \u0415\u0449\u0435 \u043f\u043e\u043a\u043e\u043f\u0430\u0432\u0448\u0438\u0441\u044c \u0432&nbsp;\u0434\u0435\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u043c DLL-\u0444\u0430\u0439\u043b\u0435, \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u0443&nbsp;\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430 <b>AuthController<\/b> \u0431\u044b\u043b \u043d\u0435&nbsp;\u0442\u043e\u043b\u044c\u043a\u043e \u043c\u0435\u0442\u043e\u0434 <b>Login()<\/b>, \u043d\u043e&nbsp;\u0438&nbsp;\u043c\u0435\u0442\u043e\u0434 <b>Change_Password_Test()<\/b>:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/tz\/zb\/1c\/tzzb1cui_v-acwn19zzbvi-5kbq.png\"><\/div>\n<p>  \u041f\u0440\u0438 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0435 \u043a&nbsp;<b>\/Auth\/Change_Password_Test<\/b> \u043c\u044b&nbsp;\u0432\u0438\u0434\u0438\u043c \u0442\u0430\u043a\u0443\u044e \u0444\u043e\u0440\u043c\u0443:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/hx\/-l\/we\/hx-lwesr4_cxhuu-ryjzb2ku76w.png\"><\/div>\n<p>  <\/p>\n<p>\u041f\u0440\u0438 \u0438\u0437\u0443\u0447\u0435\u043d\u0438\u0438 \u043c\u0435\u0442\u043e\u0434\u0430 <b>Change_Password_Test()<\/b> \u043c\u044b&nbsp;\u043f\u043e\u043d\u0438\u043c\u0430\u0435\u043c, \u0447\u0442\u043e \u043e\u043d&nbsp;\u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u0447\u0435\u0442\u044b\u0440\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 \u0442\u0438\u043f\u0430 String \u0447\u0435\u0440\u0435\u0437 \u0437\u0430\u043f\u0440\u043e\u0441 HTTP POST:<\/p>\n<p>  <\/p>\n<ul>\n<li>username;<\/li>\n<li>new_password;<\/li>\n<li>old_password;<\/li>\n<li>base_url.<\/li>\n<\/ul>\n<p>  <\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/qx\/ik\/qt\/qxikqtcwxuiix9mslp_stalz9ea.png\"><\/div>\n<p>  \u0427\u0443\u0442\u044c \u043d\u0438\u0436\u0435 \u0432&nbsp;\u043c\u0435\u0442\u043e\u0434\u0435 <b>Change_Password_Test()<\/b> \u0432\u0438\u0434\u0438\u043c: \u043d\u0435&nbsp;\u043f\u043e\u043b\u0443\u0447\u0438\u0432 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0434\u043b\u044f <b>base_url<\/b>, \u043c\u0435\u0442\u043e\u0434 \u0431\u0435\u0440\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 <b>conf.auth_server<\/b>, \u0442\u043e&nbsp;\u0435\u0441\u0442\u044c <b>web-chicken-auth<\/b>, \u0430&nbsp;\u0437\u0430\u0442\u0435\u043c \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 <b>\/auth\/login<\/b> \u0432&nbsp;\u043a\u043e\u043d\u0435\u0446 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f <b>base_url<\/b>, \u043d\u0430\u0437\u043d\u0430\u0447\u0430\u044f \u043f\u043e\u043b\u0443\u0447\u0438\u0432\u0448\u0443\u044e\u0441\u044f \u0441\u0442\u0440\u043e\u043a\u0443 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 <b>requestUri<\/b>:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/-d\/aa\/uj\/-daaujfp1ocf8i6l9gtf1rtvemi.png\"><\/div>\n<p>  \u0412&nbsp;\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0432\u0430\u0436\u043d\u043e\u0439 \u0447\u0430\u0441\u0442\u0438 \u043a\u043e\u0434\u0430 \u0441\u0442\u0440\u043e\u043a\u043e\u0432\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 <b>username<\/b> \u0438&nbsp;<b>old_password<\/b> \u0438\u0437&nbsp;\u0437\u0430\u043f\u0440\u043e\u0441\u0430 HTTP POST, \u0430&nbsp;\u0441&nbsp;\u043d\u0438\u043c\u0438 \u0438&nbsp;<b>secret_token<\/b> \u0438\u0437&nbsp;\u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0432\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0432&nbsp;\u0441\u0442\u0440\u043e\u043a\u0443 JSON. \u0417\u0430\u0442\u0435\u043c \u0438\u0437&nbsp;\u044d\u0442\u0438\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0441\u043e\u0437\u0434\u0430\u0435\u0442\u0441\u044f \u043e\u0431\u044a\u0435\u043a\u0442 JSON <b>StringContent<\/b>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043a\u0430\u043a \u0434\u0430\u043d\u043d\u044b\u0435 HTTP POST \u0432&nbsp;\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e <b>requestURI<\/b>, \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u0443\u044e \u043d\u0430&nbsp;\u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u043c \u0448\u0430\u0433\u0435.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/3w\/qd\/5b\/3wqd5b7hjj1ftppsvtcxvfdpdyi.png\"><\/div>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0441\u0435\u0440\u0432\u0435\u0440 \u0436\u0434\u0435\u0442, \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u043f\u0440\u043e\u0441 HTTP POST \u043a&nbsp;<b>requestUri<\/b> \u0432\u0435\u0440\u043d\u0443\u043b \u043e\u0431\u044a\u0435\u043a\u0442 JSON \u0441&nbsp;\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c <b>code<\/b>, \u0440\u0430\u0432\u043d\u044b\u043c 0. \u0415\u0441\u043b\u0438 \u044d\u0442\u043e\u0433\u043e \u043d\u0435&nbsp;\u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442, \u043c\u044b&nbsp;\u043f\u043e\u043f\u0430\u0434\u0430\u0435\u043c \u0432&nbsp;\u0432\u0435\u0442\u0432\u044c \u043a\u043e\u0434\u0430, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u0441\u043e&nbsp;\u0441\u0442\u0440\u043e\u043a\u0438 6&nbsp;\u0438&nbsp;\u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 <b>\/Views\/Auth\/Login<\/b> \u0441&nbsp;\u043e\u0448\u0438\u0431\u043a\u043e\u0439 <b>Invalid login\/password<\/b>.<\/p>\n<p>  \u0415\u0441\u043b\u0438 \u0437\u0430\u043f\u0440\u043e\u0441 HTTP POST \u0432\u0441\u0435-\u0442\u0430\u043a\u0438 <b><i>\u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442<\/i><\/b> \u043e\u0431\u044a\u0435\u043a\u0442 JSON \u0441&nbsp;\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c <b>code<\/b>, \u0440\u0430\u0432\u043d\u044b\u043c&nbsp;0, \u043c\u044b&nbsp;\u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u0432&nbsp;\u0432\u0435\u0442\u043a\u0443 \u043a\u043e\u0434\u0430 \u0441\u043e&nbsp;\u0441\u0442\u0440\u043e\u043a\u0438 11. \u0422\u043e\u0433\u0434\u0430 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f <b>requestUri2<\/b> \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 <b><a href=\"http:\/\/web-chicken-auth\">http:\/\/web-chicken-auth<\/a><\/b>, \u0441\u043e\u0437\u0434\u0430\u0435\u0442\u0441\u044f \u0435\u0449\u0435 \u043e\u0434\u0438\u043d \u043e\u0431\u044a\u0435\u043a\u0442 JSON <b>StringContent<\/b> \u0441&nbsp;\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438 \u0438\u0437&nbsp;\u0438\u0441\u0445\u043e\u0434\u043d\u043e\u0433\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0430 HTTP POST, \u043a\u0430\u043a \u0432&nbsp;\u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u0447\u0430\u0441\u0442\u0438, \u0438&nbsp;\u044d\u0442\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043d\u0430&nbsp;\u0430\u0434\u0440\u0435\u0441 <b>requestUri2<\/b>&nbsp;\u0432 \u0437\u0430\u043f\u0440\u043e\u0441\u0435 HTTP PUT. \u041d\u0430\u043a\u043e\u043d\u0435\u0446, \u043a\u043b\u0438\u0435\u043d\u0442\u0443 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 <b>Password changed<\/b>.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/cj\/8y\/wh\/cj8ywhk0pr5vmdm8uyabhg26cf0.png\"><\/div>\n<p>  \u0412&nbsp;\u0434\u0432\u0443\u0445 \u0441\u043b\u043e\u0432\u0430\u0445: \u0432\u0435\u0441\u044c \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u0441&nbsp;\u0437\u0430\u043f\u0440\u043e\u0441\u0430 HTTP POST \u043a&nbsp;<b>\/Auth\/Change_Password_Test<\/b>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043e\u0436\u0438\u0434\u0430\u0435\u0442 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432. \u041e\u043d&nbsp;\u0431\u0435\u0440\u0435\u0442 \u044d\u0442\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0438&nbsp;\u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u043e\u0431\u044a\u0435\u043a\u0442 JSON, \u0447\u0442\u043e\u0431\u044b \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0435\u0433\u043e \u0432&nbsp;<b>&lt;base_url&gt;\/auth\/login<\/b> \u0447\u0435\u0440\u0435\u0437 HTTP POST. \u0415\u0441\u043b\u0438 \u0432&nbsp;\u043e\u0442\u0432\u0435\u0442 \u043e\u043d&nbsp;\u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 JSON \u0441&nbsp;\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c <b>code<\/b>, \u0440\u0430\u0432\u043d\u044b\u043c&nbsp;0, \u0442\u043e&nbsp;\u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u0435\u0449\u0435 \u043e\u0434\u0438\u043d \u043e\u0431\u044a\u0435\u043a\u0442 JSON \u0438&nbsp;\u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0437\u0430\u043f\u0440\u043e\u0441 HTTP PUT \u043d\u0430&nbsp;<b><a href=\"http:\/\/web-chicken-auth\/auth\/change_password\">http:\/\/web-chicken-auth\/auth\/change_password<\/a><\/b>.<\/p>\n<p>  \u041f\u0440\u0438 \u0438\u0437\u0443\u0447\u0435\u043d\u0438\u0438 REST API \u0432&nbsp;Swagger UI&nbsp;\u043c\u044b&nbsp;\u0432\u0438\u0434\u0438\u043c, \u0447\u0442\u043e \u0432&nbsp;\u0434\u0435\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u043c DLL-\u0444\u0430\u0439\u043b\u0435 \u0431\u044b\u043b\u0438 \u043d\u0435&nbsp;\u0442\u043e\u043b\u044c\u043a\u043e \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u044b <b>\/auth\/login<\/b> \u0438<b>&nbsp;\/auth\/change_password<\/b>, \u043d\u043e&nbsp;\u0438&nbsp;\u043c\u0430\u0440\u0448\u0440\u0443\u0442 \u0434\u043b\u044f <b>\/auth\/password_recovery<\/b>.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/oh\/kn\/3p\/ohkn3pbbiptuoxndp_xxo-in92q.png\"><\/div>\n<p>  \u042d\u0442\u043e\u0442 API-\u043c\u0430\u0440\u0448\u0440\u0443\u0442 \u043e\u0436\u0438\u0434\u0430\u043b \u043e\u0431\u044a\u0435\u043a\u0442 JSON \u0441&nbsp;\u0434\u0432\u0443\u043c\u044f \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438: <b>email<\/b> \u0438&nbsp;<b>secret_token<\/b>. \u0415\u0441\u043b\u0438 \u043e\u043d&nbsp;\u0435\u0433\u043e \u043f\u043e\u043b\u0443\u0447\u0430\u043b, \u0442\u043e&nbsp;\u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u043b \u043e\u0431\u044a\u0435\u043a\u0442 JSON \u0441\u043e&nbsp;\u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e\u043c <b>code<\/b>, \u0440\u0430\u0432\u043d\u044b\u043c&nbsp;0, \u0438&nbsp;\u0441\u0442\u0440\u043e\u043a\u0430\u043c\u0438 <b>message<\/b> \u0438&nbsp;<b>token<\/b>.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/qw\/a1\/j3\/qwa1j37cbbppj5gpzr8iz6vdl2q.png\"><\/div>\n<p>  \u041f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0435\u0441\u043b\u0438 \u043c\u044b&nbsp;\u043a\u0430\u043a-\u0442\u043e \u0437\u0430\u0441\u0442\u0430\u0432\u0438\u043c \u043c\u0435\u0442\u043e\u0434 <b>Check_Password_Test()<\/b> \u0441\u0440\u0430\u0437\u0443 \u0437\u0430\u043f\u0440\u043e\u0441\u0438\u0442\u044c \u043c\u0430\u0440\u0448\u0440\u0443\u0442 <b>\/auth\/password_recovery<\/b> \u0432\u043c\u0435\u0441\u0442\u043e <b>\/auth\/login<\/b>, \u0442\u043e&nbsp;\u0434\u043b\u044f \u0432\u0445\u043e\u0434\u0430 \u0432&nbsp;\u0432\u0435\u0442\u043a\u0443 \u0441\u043c\u0435\u043d\u044b \u043f\u0430\u0440\u043e\u043b\u044f \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0432\u0432\u0435\u0441\u0442\u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u044b\u0439 \u0430\u0434\u0440\u0435\u0441.<\/p>\n<p>  \u041c\u044b&nbsp;\u0441\u043d\u043e\u0432\u0430 \u0438\u0437\u0443\u0447\u0430\u0435\u043c \u0447\u0430\u0441\u0442\u044c \u043a\u043e\u0434\u0430, \u0432&nbsp;\u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043c\u0435\u0442\u043e\u0434 <b>Check_Password_Test()<\/b> \u043f\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 <b>requestUri<\/b> \u0432&nbsp;\u0438\u0441\u0445\u043e\u0434\u043d\u043e\u043c \u0437\u0430\u043f\u0440\u043e\u0441\u0435 HTTP POST, \u0438&nbsp;\u043f\u043e\u043d\u0438\u043c\u0430\u0435\u043c, \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 <b><a href=\"http:\/\/web-chicken-auth\/auth\/password_recovery#\">http:\/\/web-chicken-auth\/auth\/password_recovery#<\/a><\/b> \u043a\u0430\u043a \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 base_url, \u0438&nbsp;requestUri \u0432&nbsp;\u043a\u043e\u043d\u0435\u0447\u043d\u043e\u043c \u0438\u0442\u043e\u0433\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 <b><a href=\"http:\/\/web-chicken-auth\/auth\/password_recovery#\/auth\/login\">http:\/\/web-chicken-auth\/auth\/password_recovery#\/auth\/login<\/a><\/b>.<\/p>\n<p>  \u0421\u0438\u043c\u0432\u043e\u043b # \u0432&nbsp;HTTP URL \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u0447\u0442\u043e \u0447\u0430\u0441\u0442\u044c \u0430\u0434\u0440\u0435\u0441\u0430 \u0441&nbsp;\u0437\u0430\u043f\u0440\u043e\u0441\u043e\u043c \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u043b\u0430\u0441\u044c. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441\u0435\u0440\u0432\u0435\u0440, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u043b\u0443\u0447\u0438\u0442 \u0437\u0430\u043f\u0440\u043e\u0441, \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0440\u043e\u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u0435\u0442 \u0447\u0430\u0441\u0442\u044c <b>\/auth\/login<\/b>.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/-d\/aa\/uj\/-daaujfp1ocf8i6l9gtf1rtvemi.png\"><\/div>\n<p>  \u042d\u0442\u043e, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u0445\u043e\u0440\u043e\u0448\u043e, \u043d\u043e&nbsp;\u043d\u0430\u043c \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u0442\u044c, \u043a\u0430\u043a REST endpoint, \u043a\u0443\u0434\u0430 \u043c\u044b&nbsp;\u0442\u0435\u043f\u0435\u0440\u044c \u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u0437\u0430\u043f\u0440\u043e\u0441, \u043f\u043e\u043b\u0443\u0447\u0438\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 <b>email<\/b>. \u0411\u0435\u0437 \u044d\u0442\u043e\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0437\u0430\u043f\u0440\u043e\u0441 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u0441\u044f \u043e\u0448\u0438\u0431\u043a\u043e\u0439, \u0438&nbsp;\u0434\u0430\u043b\u044c\u0448\u0435 \u043c\u044b&nbsp;\u043d\u0435&nbsp;\u043f\u0440\u043e\u0434\u0432\u0438\u043d\u0435\u043c\u0441\u044f.<\/p>\n<p>  \u0412\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u0440\u0438\u0433\u043b\u044f\u0434\u044b\u0432\u0430\u0435\u043c\u0441\u044f \u043a&nbsp;\u0442\u043e\u043c\u0443, \u043a\u0430\u043a \u043c\u0435\u0442\u043e\u0434 <b>Check_Password_Test()<\/b> \u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0435 JSON, \u0438&nbsp;\u0432\u0438\u0434\u0438\u043c, \u0447\u0442\u043e \u0432\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0441\u043e\u0432\u0441\u0435\u043c \u043d\u0438\u043a\u0430\u043a \u043d\u0435&nbsp;\u043e\u0447\u0438\u0449\u0430\u044e\u0442\u0441\u044f, \u0430&nbsp;\u0437\u043d\u0430\u0447\u0438\u0442, \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0442\u043e \u0432\u043d\u0435\u0434\u0440\u044f\u0442\u044c \u0441\u0432\u043e\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b. \u0414\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0432&nbsp;\u0437\u0430\u043f\u0440\u043e\u0441\u0435 HTTP POST:<\/p>\n<p>  username = <b>admin<\/b><br \/>  old_password = <b>pwned&quot;,&quot;email&quot;:&quot;admin@chicken.ctf.zone&quot;,&quot;lol&quot;:&quot;<\/b><br \/>  new_password = <b>p0tat0<\/b><br \/>  base_url = <b><a href=\"http:\/\/web-chicken-auth\/auth\/password_recovery#\">http:\/\/web-chicken-auth\/auth\/password_recovery#<\/a><\/b><\/p>\n<p>  \u0421\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0439 \u0432&nbsp;\u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u043e\u0431\u044a\u0435\u043a\u0442 JSON \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0432&nbsp;<b>\/auth\/password_recovery<\/b>:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/02\/h8\/4-\/02h84-3pz0w1c7_bg2hlyqt4k7o.png\"><\/div>\n<p>  \u0421&nbsp;\u044d\u0442\u0438\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 JSON \u043c\u044b&nbsp;\u0432\u044b\u043f\u043e\u043b\u043d\u0438\u043b\u0438 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f, \u043f\u043e&nbsp;\u043a\u043e\u0442\u043e\u0440\u044b\u043c <b>\/auth\/password_recovery<\/b> \u0434\u043e\u043b\u0436\u0435\u043d \u0432\u0435\u0440\u043d\u0443\u0442\u044c \u043e\u0442\u0432\u0435\u0442, \u043f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440 \u0432\u043e\u0439\u0434\u0435\u0442 \u0432&nbsp;\u0432\u0435\u0442\u043a\u0443 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043f\u0430\u0440\u043e\u043b\u044f (\u043e\u0431\u044a\u0435\u043a\u0442 JSON \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e <b>email<\/b>). \u0422\u0435\u043f\u0435\u0440\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 <b>old_password<\/b> \u043d\u0430\u043c \u0443\u0436\u0435 \u043d\u0435&nbsp;\u043d\u0443\u0436\u043d\u043e. \u0412&nbsp;\u044d\u0442\u043e\u0439 \u0432\u0435\u0442\u043a\u0435 \u043a\u043e\u0434\u0430 \u043c\u044b&nbsp;\u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u0438\u043b\u0438 \u0432\u0441\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0434\u043b\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043f\u0430\u0440\u043e\u043b\u044f (\u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e <b>username <\/b>\u0438\u043c\u0435\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 <b>admin<\/b>, \u0430&nbsp;\u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e <b>password<\/b> \u2014 <b>p0tat0<\/b>). \u0417\u0430\u043f\u0440\u043e\u0441 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d, \u0438&nbsp;\u043c\u044b&nbsp;\u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c <b>Password changed<\/b> \u0432&nbsp;\u043e\u0442\u0432\u0435\u0442.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/dl\/pa\/nw\/dlpanwrefhtrjpvetawk6ed2nva.png\"><\/div>\n<p>  \u041e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0432\u0432\u0435\u0441\u0442\u0438 \u043d\u043e\u0432\u043e\u0435 \u0438\u043c\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0438&nbsp;\u043f\u0430\u0440\u043e\u043b\u044c \u043d\u0430&nbsp;\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u0432\u0445\u043e\u0434\u0430!<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/ee\/zx\/is\/eezxiswaxjxezkq8cezfrbinggs.png\"><\/div>\n<p>  \u0418 \u0432\u043e\u0442 \u043d\u0430\u0448 \u0444\u043b\u0430\u0433:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/yy\/ge\/iw\/yygeiwxjauomdcsnyqp2pabdcou.png\"><\/div>\n<\/div>\n<p> \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\/ru\/company\/bizone\/blog\/492222\/\"> https:\/\/habr.com\/ru\/company\/bizone\/blog\/492222\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/company\/bizone\/blog\/492222\/\">\u041d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430&nbsp;\u043f\u0435\u0440\u0435\u043d\u043e\u0441 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0438 <a href=\"https:\/\/offzone.moscow\/ru\/\">OFFZONE 2020<\/a>, \u0444\u0438\u043d\u0430\u043b\u0443 \u0441\u043e\u0440\u0435\u0432\u043d\u043e\u0432\u0430\u043d\u0438\u0439 <a href=\"https:\/\/offzone.moscow\/ru\/ctfzone\/\">CTFZone<\/a> \u0431\u044b\u0442\u044c! \u0412&nbsp;\u044d\u0442\u043e\u043c \u0433\u043e\u0434\u0443 \u043e\u043d&nbsp;\u0432\u043f\u0435\u0440\u0432\u044b\u0435 \u043f\u0440\u043e\u0439\u0434\u0435\u0442 \u0432&nbsp;\u043e\u043d\u043b\u0430\u0439\u043d-\u0440\u0435\u0436\u0438\u043c\u0435 \u0438&nbsp;\u0431\u0443\u0434\u0435\u0442 \u0430\u043a\u0442\u0438\u0432\u043d\u043e \u0442\u0440\u0430\u043d\u0441\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0432&nbsp;\u0441\u043e\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0445 \u0441\u0435\u0442\u044f\u0445.<\/p>\n<p>  \u041e&nbsp;\u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u044f\u0445 \u043c\u044b&nbsp;\u043e\u0431\u044a\u044f\u0432\u0438\u043c \u043f\u043e\u0437\u0436\u0435, \u0430&nbsp;\u043f\u043e\u043a\u0430 \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u043c \u0438\u0437\u0443\u0447\u0438\u0442\u044c \u0440\u0430\u0439\u0442\u0430\u043f \u0432\u0435\u0431-\u0442\u0430\u0441\u043a\u0430 \u0441&nbsp;\u043e\u0442\u0431\u043e\u0440\u043e\u0447\u043d\u043e\u0433\u043e \u044d\u0442\u0430\u043f\u0430. \u0420\u0430\u0437\u0431\u043e\u0440 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043d\u0430\u043c \u043f\u0440\u0438\u0441\u043b\u0430\u043b <b>Devand MacLean<\/b> \u0438\u0437&nbsp;\u041a\u0430\u043d\u0430\u0434\u044b. \u0421\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u0434\u043b\u044f \u00ab\u0425\u0430\u0431\u0440\u0430\u00bb \u043c\u044b&nbsp;\u043f\u0435\u0440\u0435\u0432\u0435\u043b\u0438 <a href=\"https:\/\/medium.com\/@offzone.conf\/writeup-ctfzone-quals-2019-chicken-f47f7f80591f\">\u0442\u0435\u043a\u0441\u0442 \u0440\u0430\u0439\u0442\u0430\u043f\u0430<\/a> \u0438&nbsp;\u043f\u0440\u0438\u0433\u043b\u0430\u0448\u0430\u0435\u043c \u0443\u0437\u043d\u0430\u0442\u044c, \u0441&nbsp;\u043a\u0430\u043a\u043e\u0439 \u0446\u0435\u043f\u043e\u0447\u043a\u043e\u0439 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0435\u0439 \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0438\u0441\u044c \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0438 \u0438&nbsp;\u043f\u0440\u0438 \u0447\u0435\u043c \u0437\u0434\u0435\u0441\u044c \u043a\u0443\u0440\u0438\u0446\u0430.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/qq\/kw\/um\/qqkwum4pqnrjnrgqxa9__wofqec.png\">  <\/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-300098","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/300098","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=300098"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/300098\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=300098"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=300098"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=300098"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}