{"id":103,"date":"2016-08-19T18:50:03","date_gmt":"2016-08-19T13:50:03","guid":{"rendered":"http:\/\/www.chmosama.com\/blog\/?p=103"},"modified":"2017-12-24T15:09:46","modified_gmt":"2017-12-24T10:09:46","slug":"overthewire-wargame-bandit-walkthrough","status":"publish","type":"post","link":"https:\/\/www.chmosama.com\/blog\/overthewire-wargame-bandit-walkthrough\/","title":{"rendered":"OverTheWire Wargame Bandit Walkthrough"},"content":{"rendered":"<h2><strong>Description :-<\/strong><\/h2>\n<p style=\"text-align: justify;\">The <a href=\"http:\/\/overthewire.org\/wargames\/bandit\/\">Bandit<\/a> wargame is aimed at absolute beginners. It will teach the basics needed to be able to play other wargames.<\/p>\n<h3 style=\"text-align: justify;\">Level 0 :-<\/h3>\n<p style=\"text-align: justify;\">The goal of this level is to log into the game using SSH. The host to which you need to connect is <strong>bandit.labs.overthewire.org<\/strong>. The username is <strong>bandit0<\/strong> and the password is <strong>bandit0<\/strong>\u00a0and boom \ud83d\ude00<br \/>\nPassword :- boJ9jbbUNNfktd78OOpsqOltutMc3MY1<\/p>\n<div id=\"attachment_104\" style=\"width: 685px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-104\" class=\"size-full wp-image-104\" src=\"http:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-0.png\" alt=\"wargame-bandit-0\" width=\"675\" height=\"434\" srcset=\"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-0.png 675w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-0-300x193.png 300w\" sizes=\"auto, (max-width: 675px) 100vw, 675px\" \/><p id=\"caption-attachment-104\" class=\"wp-caption-text\">Wargame-Bandit Level 0<\/p><\/div>\n<h3 style=\"text-align: justify;\">Level 1 :-<\/h3>\n<p style=\"text-align: justify;\">The password for the next level is stored in a file called <strong>readme<\/strong> located in the home directory. \u00a0\ud83d\ude09<br \/>\nPassword :- CV1DtqXWVFXTvM2F0k09SHz0YwRINYA9<\/p>\n<div id=\"attachment_105\" style=\"width: 693px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-105\" class=\"size-full wp-image-105\" src=\"http:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-1.png\" alt=\"wargame-bandit-1\" width=\"683\" height=\"443\" srcset=\"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-1.png 683w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-1-300x195.png 300w\" sizes=\"auto, (max-width: 683px) 100vw, 683px\" \/><p id=\"caption-attachment-105\" class=\"wp-caption-text\">Wargame-Bandit Level 1<\/p><\/div>\n<h3>Level 2 :-<\/h3>\n<p style=\"text-align: justify;\">The password for the next level is stored in a file called <strong>spaces in this filename<\/strong> located in the home directory. \ud83d\ude42<br \/>\nPassword :- UmHadQclWmgdLOKQ3YNgjWxGoRMb5luK<\/p>\n<div id=\"attachment_106\" style=\"width: 687px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-106\" class=\"size-full wp-image-106\" src=\"http:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-2.png\" alt=\"wargame-bandit-2\" width=\"677\" height=\"435\" srcset=\"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-2.png 677w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-2-300x193.png 300w\" sizes=\"auto, (max-width: 677px) 100vw, 677px\" \/><p id=\"caption-attachment-106\" class=\"wp-caption-text\">Wargame-Bandit Level 2<\/p><\/div>\n<h3>Level 3 :-<\/h3>\n<p style=\"text-align: justify;\">The password for the next level is stored in a hidden file in the <strong>inhere<\/strong> directory. \ud83d\ude42<br \/>\nPassword :- pIwrPrtPN36QITSp3EQaw936yaFoFgAB<\/p>\n<div id=\"attachment_107\" style=\"width: 685px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-107\" class=\"size-full wp-image-107\" src=\"http:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-3.png\" alt=\"wargame-bandit-3\" width=\"675\" height=\"436\" srcset=\"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-3.png 675w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-3-300x194.png 300w\" sizes=\"auto, (max-width: 675px) 100vw, 675px\" \/><p id=\"caption-attachment-107\" class=\"wp-caption-text\">Wargame-Bandit Level 3<\/p><\/div>\n<h3>Level 4 :-<\/h3>\n<p style=\"text-align: justify;\">The password for the next level is stored in the only human-readable file in the <strong>inhere<\/strong> directory.\u00a0Let\u2019s see what file types we have. \ud83d\ude42<br \/>\nPassword :- koReBOKuIDDepwhWk7jZC0RTdopnAYKh<\/p>\n<div id=\"attachment_108\" style=\"width: 681px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-108\" class=\"size-full wp-image-108\" src=\"http:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-4.png\" alt=\"wargame-bandit-4\" width=\"671\" height=\"429\" srcset=\"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-4.png 671w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-4-300x192.png 300w\" sizes=\"auto, (max-width: 671px) 100vw, 671px\" \/><p id=\"caption-attachment-108\" class=\"wp-caption-text\">Wargame-Bandit Level 4<\/p><\/div>\n<h3>Level 5 :-<\/h3>\n<p style=\"text-align: justify;\">The password for the next level is stored in a file somewhere under the <strong>inhere<\/strong> directory and has all of the following properties: &#8211; human-readable &#8211; 1033 bytes in size &#8211; not executable. \ud83d\ude42<br \/>\nPassword :-\u00a0DXjZPULLxYr17uwoI01bNLQbtFemEgo7<\/p>\n<div id=\"attachment_109\" style=\"width: 687px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-109\" class=\"size-full wp-image-109\" src=\"http:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-5.png\" alt=\"wargame-bandit-5\" width=\"677\" height=\"552\" srcset=\"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-5.png 677w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-5-300x245.png 300w\" sizes=\"auto, (max-width: 677px) 100vw, 677px\" \/><p id=\"caption-attachment-109\" class=\"wp-caption-text\">Wargame-Bandit Level 5<\/p><\/div>\n<h3>Level 6 :-<\/h3>\n<p style=\"text-align: justify;\">The password for the next level is stored <strong>somewhere on the server<\/strong> and has all of the following properties: &#8211; owned by user bandit7 &#8211; owned by group bandit6 &#8211; 33 bytes in size. \ud83d\ude42<br \/>\nPassword :\u00a0HKBPTKQnIay4Fw76bEy8PVxKEDQRKTzs<\/p>\n<div id=\"attachment_110\" style=\"width: 685px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-110\" class=\"size-full wp-image-110\" src=\"http:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-6.png\" alt=\"wargame-bandit-6\" width=\"675\" height=\"437\" srcset=\"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-6.png 675w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-6-300x194.png 300w\" sizes=\"auto, (max-width: 675px) 100vw, 675px\" \/><p id=\"caption-attachment-110\" class=\"wp-caption-text\">Wargame-Bandit Level 6<\/p><\/div>\n<h3>Level 7 :-<\/h3>\n<p>The password for the next level is stored in the file <strong>data.txt<\/strong> next to the word <strong>millionth.<\/strong> \ud83d\ude42<br \/>\nPassword :\u00a0cvX2JJa4CFALtqS87jk27qwqGhBM9plV<\/p>\n<div id=\"attachment_111\" style=\"width: 688px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-111\" class=\"size-full wp-image-111\" src=\"http:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-7.png\" alt=\"wargame-bandit-7\" width=\"678\" height=\"175\" srcset=\"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-7.png 678w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-7-300x77.png 300w\" sizes=\"auto, (max-width: 678px) 100vw, 678px\" \/><p id=\"caption-attachment-111\" class=\"wp-caption-text\">Wargame-Bandit Level 7<\/p><\/div>\n<h3>Level 8 :-<\/h3>\n<p>The password for the next level is stored in the file <strong>data.txt<\/strong> and is the only line of text that occurs only once. \ud83d\ude42<br \/>\nPassword :\u00a0UsvVyFSfZZWbi6wgC7dAFyFuR6jQQUhR<\/p>\n<div id=\"attachment_112\" style=\"width: 692px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-112\" class=\"size-full wp-image-112\" src=\"http:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-8.png\" alt=\"wargame-bandit-8\" width=\"682\" height=\"169\" srcset=\"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-8.png 682w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-8-300x74.png 300w\" sizes=\"auto, (max-width: 682px) 100vw, 682px\" \/><p id=\"caption-attachment-112\" class=\"wp-caption-text\">Wargame-Bandit Level 8<\/p><\/div>\n<h3>Level 9 :-<\/h3>\n<p>The password for the next level is stored in the file <strong>data.txt<\/strong> in one of the few human-readable strings, beginning with several \u2018=\u2019 characters. \ud83d\ude42<br \/>\nPassword :\u00a0truKLdjsbJ5g7yyJ2X2R0o3a5HQJFuLk<\/p>\n<div id=\"attachment_113\" style=\"width: 851px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-113\" class=\"size-full wp-image-113\" src=\"http:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-9.png\" alt=\"wargame-bandit-9\" width=\"841\" height=\"472\" srcset=\"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-9.png 841w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-9-300x168.png 300w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-9-768x431.png 768w\" sizes=\"auto, (max-width: 841px) 100vw, 841px\" \/><p id=\"caption-attachment-113\" class=\"wp-caption-text\">Wargame-Bandit Level 9<\/p><\/div>\n<h3>Level 10 :-<\/h3>\n<p>The password for the next level is stored in the file <strong>data.txt<\/strong>, which contains base64 encoded data. \ud83d\ude42<br \/>\nPassword :\u00a0IFukwKGsFW8MOq3IRFqrxE1hxTNEbUPR<\/p>\n<div id=\"attachment_114\" style=\"width: 847px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-114\" class=\"size-full wp-image-114\" src=\"http:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-10.png\" alt=\"wargame-bandit-10\" width=\"837\" height=\"173\" srcset=\"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-10.png 837w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-10-300x62.png 300w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-10-768x159.png 768w\" sizes=\"auto, (max-width: 837px) 100vw, 837px\" \/><p id=\"caption-attachment-114\" class=\"wp-caption-text\">Wargame-Bandit Level 10<\/p><\/div>\n<h3>Level 11 :-<\/h3>\n<p>The password for the next level is stored in the file <strong>data.txt<\/strong>, where all lowercase (a-z) and uppercase (A-Z) letters have been rotated by 13 positions. \ud83d\ude42<br \/>\nPassword :\u00a05Te8Y4drgCRfCx8ugdwuEX8KFC6k2EUu<\/p>\n<div id=\"attachment_115\" style=\"width: 849px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-115\" class=\"size-full wp-image-115\" src=\"http:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-11.png\" alt=\"wargame-bandit-11\" width=\"839\" height=\"199\" srcset=\"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-11.png 839w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-11-300x71.png 300w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-11-768x182.png 768w\" sizes=\"auto, (max-width: 839px) 100vw, 839px\" \/><p id=\"caption-attachment-115\" class=\"wp-caption-text\">Wargame-Bandit Level 11<\/p><\/div>\n<h3>Level 12 :-<\/h3>\n<p>The password for the next level is stored in the file <strong>data.txt<\/strong>, which is a hexdump of a file that has been repeatedly compressed. For this level, it may be useful to create a directory under \/tmp in which you can work using mkdir. For example: mkdir \/tmp\/myname123. Then copy the datafile using cp, and rename it using mv (read the manpages!).\u00a0\ud83d\ude42<br \/>\nPassword :\u00a08ZjyCRiBWFYkneahHwxCv3wb2a1ORpYL<\/p>\n<div id=\"attachment_116\" style=\"width: 853px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-116\" class=\"size-full wp-image-116\" src=\"http:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-12-1.png\" alt=\"wargame-bandit-12-1\" width=\"843\" height=\"578\" srcset=\"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-12-1.png 843w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-12-1-300x206.png 300w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-12-1-768x527.png 768w\" sizes=\"auto, (max-width: 843px) 100vw, 843px\" \/><p id=\"caption-attachment-116\" class=\"wp-caption-text\">Wargame-Bandit Level 12 &#8211; 1<\/p><\/div>\n<div id=\"attachment_117\" style=\"width: 844px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-117\" class=\"size-full wp-image-117\" src=\"http:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-12-2.png\" alt=\"wargame-bandit-12-2\" width=\"834\" height=\"577\" srcset=\"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-12-2.png 834w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-12-2-300x208.png 300w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-12-2-768x531.png 768w\" sizes=\"auto, (max-width: 834px) 100vw, 834px\" \/><p id=\"caption-attachment-117\" class=\"wp-caption-text\">Wargame-Bandit Level 12 &#8211; 2<\/p><\/div>\n<div id=\"attachment_118\" style=\"width: 855px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-118\" class=\"size-full wp-image-118\" src=\"http:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-12-3.png\" alt=\"wargame-bandit-12-3\" width=\"845\" height=\"254\" srcset=\"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-12-3.png 845w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-12-3-300x90.png 300w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-12-3-768x231.png 768w\" sizes=\"auto, (max-width: 845px) 100vw, 845px\" \/><p id=\"caption-attachment-118\" class=\"wp-caption-text\">Wargame-Bandit Level 12 &#8211; 3<\/p><\/div>\n<h3>Level 13 :-<\/h3>\n<p>The password for the next level is stored in <strong>\/etc\/bandit_pass\/bandit14 and can only be read by user bandit14<\/strong>. For this level, you don\u2019t get the next password, but you get a private SSH key that can be used to log into the next level. <strong>Note: localhost<\/strong> is a hostname that refers to the machine you are working on. \ud83d\ude42<br \/>\nPassword :\u00a04wcYUJFw0k0XLShlDzztnTBHiqxU3b3e<\/p>\n<div id=\"attachment_119\" style=\"width: 848px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-119\" class=\"size-full wp-image-119\" src=\"http:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-13-1.png\" alt=\"wargame-bandit-13-1\" width=\"838\" height=\"204\" srcset=\"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-13-1.png 838w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-13-1-300x73.png 300w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-13-1-768x187.png 768w\" sizes=\"auto, (max-width: 838px) 100vw, 838px\" \/><p id=\"caption-attachment-119\" class=\"wp-caption-text\">Wargame-Bandit Level 13 &#8211; 1<\/p><\/div>\n<div id=\"attachment_120\" style=\"width: 854px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-120\" class=\"size-full wp-image-120\" src=\"http:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-13-2.png\" alt=\"wargame-bandit-13-2\" width=\"844\" height=\"136\" srcset=\"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-13-2.png 844w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-13-2-300x48.png 300w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-13-2-768x124.png 768w\" sizes=\"auto, (max-width: 844px) 100vw, 844px\" \/><p id=\"caption-attachment-120\" class=\"wp-caption-text\">Wargame-Bandit Level 13 &#8211; 2<\/p><\/div>\n<h3>Level 14 :-<\/h3>\n<p>The password for the next level can be retrieved by submitting the password of the current level to <strong>port 30000 on localhost<\/strong>. \ud83d\ude42<br \/>\nPassword :\u00a0BfMYroe26WYalil77FoDi9qh59eK5xNr<\/p>\n<div id=\"attachment_121\" style=\"width: 852px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-121\" class=\"size-full wp-image-121\" src=\"http:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-14.png\" alt=\"wargame-bandit-14\" width=\"842\" height=\"360\" srcset=\"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-14.png 842w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-14-300x128.png 300w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-14-768x328.png 768w\" sizes=\"auto, (max-width: 842px) 100vw, 842px\" \/><p id=\"caption-attachment-121\" class=\"wp-caption-text\">Wargame-Bandit Level 14<\/p><\/div>\n<h3>Level 15 :-<\/h3>\n<p>The password for the next level can be retrieved by submitting the password of the current level to <strong>port 30001 on localhost<\/strong> using SSL encryption.<\/p>\n<p><strong>Helpful note: Getting \u201cHEARTBEATING\u201d and \u201cRead R BLOCK\u201d? Use -ign_eof and read the \u201cCONNECTED COMMANDS\u201d section in the manpage. Next to \u2018R\u2019 and \u2018Q\u2019, the \u2018B\u2019 command also works in this version of that command\u2026<\/strong> \ud83d\ude42<\/p>\n<p>Password :\u00a0cluFn7wTiGryunymYOu4RcffSxQluehd<\/p>\n<div id=\"attachment_122\" style=\"width: 846px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-122\" class=\"size-full wp-image-122\" src=\"http:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-15.png\" alt=\"wargame-bandit-15\" width=\"836\" height=\"298\" srcset=\"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-15.png 836w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-15-300x107.png 300w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-15-768x274.png 768w\" sizes=\"auto, (max-width: 836px) 100vw, 836px\" \/><p id=\"caption-attachment-122\" class=\"wp-caption-text\">Wargame-Bandit Level 15<\/p><\/div>\n<h3>Level 16 :-<\/h3>\n<p>The credentials for the next level can be retrieved by submitting the password of the current level to <strong>a port on localhost in the range 31000 to 32000<\/strong>. First find out which of these ports have a server listening on them. Then find out which of those speak SSL and which don\u2019t. There is only 1 server that will give the next credentials, the others will simply send back to you whatever you send to it. \ud83d\ude42<br \/>\nPassword :\u00a0cluFn7wTiGryunymYOu4RcffSxQluehd<\/p>\n<div id=\"attachment_123\" style=\"width: 535px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-123\" class=\"size-large wp-image-123\" src=\"http:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-16-1-1024x674.png\" alt=\"wargame-bandit-16-1\" width=\"525\" height=\"346\" srcset=\"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-16-1-1024x674.png 1024w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-16-1-300x197.png 300w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-16-1-768x505.png 768w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-16-1.png 1087w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><p id=\"caption-attachment-123\" class=\"wp-caption-text\">Wargame-Bandit Level 16 &#8211; 1<\/p><\/div>\n<div id=\"attachment_124\" style=\"width: 811px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-124\" class=\"size-full wp-image-124\" src=\"http:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-16-2.png\" alt=\"wargame-bandit-16-2\" width=\"801\" height=\"898\" srcset=\"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-16-2.png 801w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-16-2-268x300.png 268w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-16-2-768x861.png 768w\" sizes=\"auto, (max-width: 801px) 100vw, 801px\" \/><p id=\"caption-attachment-124\" class=\"wp-caption-text\">Wargame-Bandit Level 16 &#8211; 2<\/p><\/div>\n<h3>Level 17 :-<\/h3>\n<p>There are 2 files in the homedirectory: <strong>passwords.old and passwords.new<\/strong>. The password for the next level is in <strong>passwords.new<\/strong> and is the only line that has been changed between <strong>passwords.old and passwords.new.<\/strong><\/p>\n<p><strong>NOTE: if you have solved this level and see \u2018Byebye!\u2019 when trying to log into bandit18, this is related to the next level, bandit19.\u00a0<\/strong>\ud83d\ude42<\/p>\n<p>Password :\u00a0kfBf3eYk5BPBRzwjqutbbfE887SVc5Yd<\/p>\n<div id=\"attachment_125\" style=\"width: 763px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-125\" class=\"size-full wp-image-125\" src=\"http:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-17-1.png\" alt=\"wargame-bandit-17-1\" width=\"753\" height=\"595\" srcset=\"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-17-1.png 753w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-17-1-300x237.png 300w\" sizes=\"auto, (max-width: 753px) 100vw, 753px\" \/><p id=\"caption-attachment-125\" class=\"wp-caption-text\">Wargame-Bandit Level 17 &#8211; 1<\/p><\/div>\n<div id=\"attachment_126\" style=\"width: 759px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-126\" class=\"size-full wp-image-126\" src=\"http:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-17-2.png\" alt=\"wargame-bandit-17-2\" width=\"749\" height=\"284\" srcset=\"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-17-2.png 749w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-17-2-300x114.png 300w\" sizes=\"auto, (max-width: 749px) 100vw, 749px\" \/><p id=\"caption-attachment-126\" class=\"wp-caption-text\">Wargame-Bandit Level 17 &#8211; 2<\/p><\/div>\n<h3>Level 18 :-<\/h3>\n<p>The password for the next level is stored in a file <strong>readme<\/strong> in the homedirectory. Unfortunately, someone has modified <strong>.bashrc<\/strong> to log you out when you log in with SSH. \ud83d\ude42<br \/>\nPassword :\u00a0IueksS7Ubh8G3DCwVzrTd8rAVOwq3M5x<\/p>\n<div id=\"attachment_127\" style=\"width: 764px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-127\" class=\"size-full wp-image-127\" src=\"http:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-18.png\" alt=\"wargame-bandit-18\" width=\"754\" height=\"596\" srcset=\"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-18.png 754w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-18-300x237.png 300w\" sizes=\"auto, (max-width: 754px) 100vw, 754px\" \/><p id=\"caption-attachment-127\" class=\"wp-caption-text\">Wargame-Bandit Level 18<\/p><\/div>\n<h3>Level 19 :-<\/h3>\n<p>To gain access to the next level, you should use the setuid binary in the homedirectory. Execute it without arguments to find out how to use it. The password for this level can be found in the usual place (\/etc\/bandit_pass), after you have used to setuid binary. \ud83d\ude42<br \/>\nPassword :\u00a0GbKksEFF4yrVs6il55v6gwY5aVje5f0j<\/p>\n<div id=\"attachment_128\" style=\"width: 849px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-128\" class=\"size-full wp-image-128\" src=\"http:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-19.png\" alt=\"wargame-bandit-19\" width=\"839\" height=\"432\" srcset=\"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-19.png 839w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-19-300x154.png 300w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-19-768x395.png 768w\" sizes=\"auto, (max-width: 839px) 100vw, 839px\" \/><p id=\"caption-attachment-128\" class=\"wp-caption-text\">Wargame-Bandit Level 19<\/p><\/div>\n<h3>Level 20 :-<\/h3>\n<p>There is a setuid binary in the homedirectory that does the following: it makes a connection to localhost on the port you specify as a commandline argument. It then reads a line of text from the connection and compares it to the password in the previous level (bandit20). If the password is correct, it will transmit the password for the next level (bandit21).<\/p>\n<p><strong>NOTE:<\/strong> To beat this level, you need to login twice: once to run the setuid command, and once to start a network daemon to which the setuid will connect.<\/p>\n<p><strong>NOTE 2:<\/strong> Try connecting to your own network daemon to see if it works as you think. \ud83d\ude42<\/p>\n<p>Password :\u00a0gE269g2h3mw3pwgrj0Ha9Uoqen1c9DGr<\/p>\n<div id=\"attachment_129\" style=\"width: 535px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-129\" class=\"size-large wp-image-129\" src=\"http:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-20-1024x438.png\" alt=\"wargame-bandit-20\" width=\"525\" height=\"225\" srcset=\"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-20-1024x438.png 1024w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-20-300x128.png 300w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-20-768x329.png 768w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-20.png 1252w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><p id=\"caption-attachment-129\" class=\"wp-caption-text\">Wargame-Bandit Level 20<\/p><\/div>\n<h3>Level 21 :-<\/h3>\n<p>A program is running automatically at regular intervals from <strong>cron<\/strong>, the time-based job scheduler. Look in <strong>\/etc\/cron.d\/<\/strong> for the configuration and see what command is being executed. \ud83d\ude42<br \/>\nPassword :\u00a0Yk7owGAcWjwMVRwrTesJEwB7WVOiILLI<\/p>\n<div id=\"attachment_130\" style=\"width: 847px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-130\" class=\"size-full wp-image-130\" src=\"http:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-21.png\" alt=\"wargame-bandit-21\" width=\"837\" height=\"487\" srcset=\"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-21.png 837w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-21-300x175.png 300w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-21-768x447.png 768w\" sizes=\"auto, (max-width: 837px) 100vw, 837px\" \/><p id=\"caption-attachment-130\" class=\"wp-caption-text\">Wargame-Bandit Level 21<\/p><\/div>\n<h3>Level 22 :-<\/h3>\n<p>A program is running automatically at regular intervals from <strong>cron<\/strong>, the time-based job scheduler. Look in <strong>\/etc\/cron.d\/<\/strong> for the configuration and see what command is being executed.<\/p>\n<p><strong>NOTE:<\/strong> Looking at shell scripts written by other people is a very useful skill. The script for this level is intentionally made easy to read. If you are having problems understanding what it does, try executing it to see the debug information it prints. \ud83d\ude42<\/p>\n<p>Password :\u00a0jc1udXuA1tiHqjIsL8yaapX5XIAI6i0n<\/p>\n<div id=\"attachment_131\" style=\"width: 849px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-131\" class=\"size-full wp-image-131\" src=\"http:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-22.png\" alt=\"wargame-bandit-22\" width=\"839\" height=\"507\" srcset=\"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-22.png 839w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-22-300x181.png 300w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-22-768x464.png 768w\" sizes=\"auto, (max-width: 839px) 100vw, 839px\" \/><p id=\"caption-attachment-131\" class=\"wp-caption-text\">Wargame-Bandit Level 22<\/p><\/div>\n<h3>Level 23 :-<\/h3>\n<p>A program is running automatically at regular intervals from <strong>cron<\/strong>, the time-based job scheduler. Look in <strong>\/etc\/cron.d\/<\/strong> for the configuration and see what command is being executed.<\/p>\n<p><strong>NOTE:<\/strong> This level requires you to create your own first shell-script. This is a very big step and you should be proud of yourself when you beat this level!<\/p>\n<p><strong>NOTE 2:<\/strong> Keep in mind that your shell script is removed once executed, so you may want to keep a copy around\u2026 \ud83d\ude42<\/p>\n<p>Password :\u00a0UoMYTrfrBFHyQXmg6gzctqAwOmw1IohZ<\/p>\n<div id=\"attachment_132\" style=\"width: 772px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-132\" class=\"size-full wp-image-132\" src=\"http:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-23.png\" alt=\"wargame-bandit-23\" width=\"762\" height=\"1014\" srcset=\"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-23.png 762w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-23-225x300.png 225w\" sizes=\"auto, (max-width: 762px) 100vw, 762px\" \/><p id=\"caption-attachment-132\" class=\"wp-caption-text\">Wargame-Bandit Level 23<\/p><\/div>\n<h3>Level 24 :-<\/h3>\n<p>A daemon is listening on port 30002 and will give you the password for bandit25 if given the password for bandit24 and a secret numeric 4-digit pincode. There is no way to retrieve the pincode except by going through all of the 10000 combinations, called brute-forcing. \ud83d\ude42<br \/>\nPassword :\u00a0uNG9O58gUE7snukf3bvZ0rxhtnjzSGzG<\/p>\n<p>Code :<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">#!\/bin\/bash\r\n\r\nfor i in {0000..9999}\r\ndo\r\necho \"$i *************\"\r\necho \"UoMYTrfrBFHyQXmg6gzctqAwOmw1IohZ $i\" | ncat 127.0.0.1 30002\r\ndone<\/pre>\n<div id=\"attachment_133\" style=\"width: 844px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-133\" class=\"size-full wp-image-133\" src=\"http:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-24-1.png\" alt=\"wargame-bandit-24-1\" width=\"834\" height=\"466\" srcset=\"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-24-1.png 834w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-24-1-300x168.png 300w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-24-1-768x429.png 768w\" sizes=\"auto, (max-width: 834px) 100vw, 834px\" \/><p id=\"caption-attachment-133\" class=\"wp-caption-text\">Wargame-Bandit Level 24-1<\/p><\/div>\n<div id=\"attachment_134\" style=\"width: 843px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-134\" class=\"size-full wp-image-134\" src=\"http:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-24-2.png\" alt=\"wargame-bandit-24-2\" width=\"833\" height=\"531\" srcset=\"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-24-2.png 833w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-24-2-300x191.png 300w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-24-2-768x490.png 768w\" sizes=\"auto, (max-width: 833px) 100vw, 833px\" \/><p id=\"caption-attachment-134\" class=\"wp-caption-text\">Wargame-Bandit Level 24-2<\/p><\/div>\n<h3>Level 25 :-<\/h3>\n<p>Logging in to bandit26 from bandit25 should be fairly easy\u2026 The shell for user bandit26 is not <strong>\/bin\/bash<\/strong>, but something else. Find out what it is, how it works and how to break out of it. \ud83d\ude42<br \/>\nPassword :\u00a05czgV9L3Xx8JPOyRbXh6lQbmIOWvPT6Z<\/p>\n<div id=\"attachment_135\" style=\"width: 850px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-135\" class=\"size-full wp-image-135\" src=\"http:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-25-1.png\" alt=\"wargame-bandit-25-1\" width=\"840\" height=\"360\" srcset=\"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-25-1.png 840w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-25-1-300x129.png 300w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-25-1-768x329.png 768w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><p id=\"caption-attachment-135\" class=\"wp-caption-text\">Wargame-Bandit Level 25-1<\/p><\/div>\n<div id=\"attachment_136\" style=\"width: 845px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-136\" class=\"size-full wp-image-136\" src=\"http:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-25-2.png\" alt=\"wargame-bandit-25-2\" width=\"835\" height=\"149\" srcset=\"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-25-2.png 835w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-25-2-300x54.png 300w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-25-2-768x137.png 768w\" sizes=\"auto, (max-width: 835px) 100vw, 835px\" \/><p id=\"caption-attachment-136\" class=\"wp-caption-text\">Wargame-Bandit Level 25-2<\/p><\/div>\n<div id=\"attachment_137\" style=\"width: 851px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-137\" class=\"size-full wp-image-137\" src=\"http:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-25-3.png\" alt=\"wargame-bandit-25-3\" width=\"841\" height=\"153\" srcset=\"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-25-3.png 841w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-25-3-300x55.png 300w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-25-3-768x140.png 768w\" sizes=\"auto, (max-width: 841px) 100vw, 841px\" \/><p id=\"caption-attachment-137\" class=\"wp-caption-text\">Wargame-Bandit Level 25-3<\/p><\/div>\n<div id=\"attachment_138\" style=\"width: 842px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-138\" class=\"size-full wp-image-138\" src=\"http:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-25-4.png\" alt=\"wargame-bandit-25-4\" width=\"832\" height=\"153\" srcset=\"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-25-4.png 832w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-25-4-300x55.png 300w, https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/wargame-bandit-25-4-768x141.png 768w\" sizes=\"auto, (max-width: 832px) 100vw, 832px\" \/><p id=\"caption-attachment-138\" class=\"wp-caption-text\">Wargame-Bandit Level 25-4<\/p><\/div>\n<h3>Level 26 :-<\/h3>\n<p><strong>At this moment, level 26 does not exist yet.<\/strong> \ud83d\ude41<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Description :- The Bandit wargame is aimed at absolute beginners. It will teach the basics needed to be able to play other wargames. Level 0 :- The goal of this level is to log into the game using SSH. The host to which you need to connect is bandit.labs.overthewire.org. The [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":139,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[],"class_list":["post-103","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorial"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>OverTheWire Wargame Bandit Walkthrough - Blog - Choudhary Muhammad Osama<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.chmosama.com\/blog\/overthewire-wargame-bandit-walkthrough\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"OverTheWire Wargame Bandit Walkthrough - Blog - Choudhary Muhammad Osama\" \/>\n<meta property=\"og:description\" content=\"Description :- The Bandit wargame is aimed at absolute beginners. It will teach the basics needed to be able to play other wargames. Level 0 :- The goal of this level is to log into the game using SSH. The host to which you need to connect is bandit.labs.overthewire.org. The [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.chmosama.com\/blog\/overthewire-wargame-bandit-walkthrough\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Choudhary Muhammad Osama\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/chmosama\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/chmosama\" \/>\n<meta property=\"article:published_time\" content=\"2016-08-19T13:50:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-12-24T10:09:46+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/OverTheWire-Wargame-Bandit.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1391\" \/>\n\t<meta property=\"og:image:height\" content=\"785\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Choudhary Muhammad Osama\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@ChMuhammadOsama\" \/>\n<meta name=\"twitter:site\" content=\"@ChMuhammad\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Choudhary Muhammad Osama\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.chmosama.com\/blog\/overthewire-wargame-bandit-walkthrough\/\",\"url\":\"https:\/\/www.chmosama.com\/blog\/overthewire-wargame-bandit-walkthrough\/\",\"name\":\"OverTheWire Wargame Bandit Walkthrough - Blog - Choudhary Muhammad Osama\",\"isPartOf\":{\"@id\":\"https:\/\/www.chmosama.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.chmosama.com\/blog\/overthewire-wargame-bandit-walkthrough\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.chmosama.com\/blog\/overthewire-wargame-bandit-walkthrough\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/OverTheWire-Wargame-Bandit.png\",\"datePublished\":\"2016-08-19T13:50:03+00:00\",\"dateModified\":\"2017-12-24T10:09:46+00:00\",\"author\":{\"@id\":\"https:\/\/www.chmosama.com\/blog\/#\/schema\/person\/1e5073e7a2fb381ec0503b87b16ba4c7\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.chmosama.com\/blog\/overthewire-wargame-bandit-walkthrough\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.chmosama.com\/blog\/overthewire-wargame-bandit-walkthrough\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.chmosama.com\/blog\/overthewire-wargame-bandit-walkthrough\/#primaryimage\",\"url\":\"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/OverTheWire-Wargame-Bandit.png\",\"contentUrl\":\"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/OverTheWire-Wargame-Bandit.png\",\"width\":1391,\"height\":785,\"caption\":\"OverTheWire-Wargame-Bandit\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.chmosama.com\/blog\/overthewire-wargame-bandit-walkthrough\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.chmosama.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"OverTheWire Wargame Bandit Walkthrough\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.chmosama.com\/blog\/#website\",\"url\":\"https:\/\/www.chmosama.com\/blog\/\",\"name\":\"Blog - Choudhary Muhammad Osama\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.chmosama.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.chmosama.com\/blog\/#\/schema\/person\/1e5073e7a2fb381ec0503b87b16ba4c7\",\"name\":\"Choudhary Muhammad Osama\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.chmosama.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3d3ebe72135073f739b9d6cc1c93ea0a0f40e9393eb5305a78f0d70435ad2f6c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3d3ebe72135073f739b9d6cc1c93ea0a0f40e9393eb5305a78f0d70435ad2f6c?s=96&d=mm&r=g\",\"caption\":\"Choudhary Muhammad Osama\"},\"description\":\"This is Choudhary Muhammad Osama, a highly accomplished Penetration Tester, Security Analyst and Linux Administration enthusiast, with extensive experience in implementing, maintaining, securing and pentesting web applications and networks.\",\"sameAs\":[\"https:\/\/www.chmosama.com\",\"https:\/\/www.facebook.com\/chmosama\",\"https:\/\/x.com\/ChMuhammadOsama\"],\"url\":\"http:\/\/www.chmosama.com\/blog\/author\/chmosama\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"OverTheWire Wargame Bandit Walkthrough - Blog - Choudhary Muhammad Osama","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.chmosama.com\/blog\/overthewire-wargame-bandit-walkthrough\/","og_locale":"en_US","og_type":"article","og_title":"OverTheWire Wargame Bandit Walkthrough - Blog - Choudhary Muhammad Osama","og_description":"Description :- The Bandit wargame is aimed at absolute beginners. It will teach the basics needed to be able to play other wargames. Level 0 :- The goal of this level is to log into the game using SSH. The host to which you need to connect is bandit.labs.overthewire.org. The [&hellip;]","og_url":"https:\/\/www.chmosama.com\/blog\/overthewire-wargame-bandit-walkthrough\/","og_site_name":"Blog - Choudhary Muhammad Osama","article_publisher":"https:\/\/www.facebook.com\/chmosama","article_author":"https:\/\/www.facebook.com\/chmosama","article_published_time":"2016-08-19T13:50:03+00:00","article_modified_time":"2017-12-24T10:09:46+00:00","og_image":[{"width":1391,"height":785,"url":"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/OverTheWire-Wargame-Bandit.png","type":"image\/png"}],"author":"Choudhary Muhammad Osama","twitter_card":"summary_large_image","twitter_creator":"@ChMuhammadOsama","twitter_site":"@ChMuhammad","twitter_misc":{"Written by":"Choudhary Muhammad Osama","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.chmosama.com\/blog\/overthewire-wargame-bandit-walkthrough\/","url":"https:\/\/www.chmosama.com\/blog\/overthewire-wargame-bandit-walkthrough\/","name":"OverTheWire Wargame Bandit Walkthrough - Blog - Choudhary Muhammad Osama","isPartOf":{"@id":"https:\/\/www.chmosama.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.chmosama.com\/blog\/overthewire-wargame-bandit-walkthrough\/#primaryimage"},"image":{"@id":"https:\/\/www.chmosama.com\/blog\/overthewire-wargame-bandit-walkthrough\/#primaryimage"},"thumbnailUrl":"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/OverTheWire-Wargame-Bandit.png","datePublished":"2016-08-19T13:50:03+00:00","dateModified":"2017-12-24T10:09:46+00:00","author":{"@id":"https:\/\/www.chmosama.com\/blog\/#\/schema\/person\/1e5073e7a2fb381ec0503b87b16ba4c7"},"breadcrumb":{"@id":"https:\/\/www.chmosama.com\/blog\/overthewire-wargame-bandit-walkthrough\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.chmosama.com\/blog\/overthewire-wargame-bandit-walkthrough\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.chmosama.com\/blog\/overthewire-wargame-bandit-walkthrough\/#primaryimage","url":"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/OverTheWire-Wargame-Bandit.png","contentUrl":"https:\/\/www.chmosama.com\/blog\/wp-content\/uploads\/2017\/09\/OverTheWire-Wargame-Bandit.png","width":1391,"height":785,"caption":"OverTheWire-Wargame-Bandit"},{"@type":"BreadcrumbList","@id":"https:\/\/www.chmosama.com\/blog\/overthewire-wargame-bandit-walkthrough\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.chmosama.com\/blog\/"},{"@type":"ListItem","position":2,"name":"OverTheWire Wargame Bandit Walkthrough"}]},{"@type":"WebSite","@id":"https:\/\/www.chmosama.com\/blog\/#website","url":"https:\/\/www.chmosama.com\/blog\/","name":"Blog - Choudhary Muhammad Osama","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.chmosama.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.chmosama.com\/blog\/#\/schema\/person\/1e5073e7a2fb381ec0503b87b16ba4c7","name":"Choudhary Muhammad Osama","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.chmosama.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/3d3ebe72135073f739b9d6cc1c93ea0a0f40e9393eb5305a78f0d70435ad2f6c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3d3ebe72135073f739b9d6cc1c93ea0a0f40e9393eb5305a78f0d70435ad2f6c?s=96&d=mm&r=g","caption":"Choudhary Muhammad Osama"},"description":"This is Choudhary Muhammad Osama, a highly accomplished Penetration Tester, Security Analyst and Linux Administration enthusiast, with extensive experience in implementing, maintaining, securing and pentesting web applications and networks.","sameAs":["https:\/\/www.chmosama.com","https:\/\/www.facebook.com\/chmosama","https:\/\/x.com\/ChMuhammadOsama"],"url":"http:\/\/www.chmosama.com\/blog\/author\/chmosama\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.chmosama.com\/blog\/wp-json\/wp\/v2\/posts\/103","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chmosama.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chmosama.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chmosama.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chmosama.com\/blog\/wp-json\/wp\/v2\/comments?post=103"}],"version-history":[{"count":3,"href":"https:\/\/www.chmosama.com\/blog\/wp-json\/wp\/v2\/posts\/103\/revisions"}],"predecessor-version":[{"id":190,"href":"https:\/\/www.chmosama.com\/blog\/wp-json\/wp\/v2\/posts\/103\/revisions\/190"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.chmosama.com\/blog\/wp-json\/wp\/v2\/media\/139"}],"wp:attachment":[{"href":"https:\/\/www.chmosama.com\/blog\/wp-json\/wp\/v2\/media?parent=103"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chmosama.com\/blog\/wp-json\/wp\/v2\/categories?post=103"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chmosama.com\/blog\/wp-json\/wp\/v2\/tags?post=103"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}