OverTheWire Bandit Walkthrough - Level 24 - 26

Поділитися
Вставка
  • Опубліковано 17 лис 2024

КОМЕНТАРІ • 46

  • @dangerL7e
    @dangerL7e 3 роки тому +5

    I've been doing the same thing for years: "man command | grep keyword" UNTIL I learned "man command" then hit "/keyword" - much more efficient and context-aware. Thanks for showing us the thought process - it is valuable

  • @j.stan8916
    @j.stan8916 4 роки тому +13

    was stuck here for a day. thanks a lot for the video! had a laugh with that shellfish thing at 28:12

  • @lorenzobadas486
    @lorenzobadas486 3 роки тому +4

    The way you go through all your ideas to find the solution is very very helpful and educational, don't worry about the long video, we're here to learn, thanks!

  • @1234victorxD
    @1234victorxD 4 роки тому +5

    You should stop saying sorry...you're teaching me so much right there! You don't have any reasons to apologise !

  • @xMaTTyZ
    @xMaTTyZ 4 роки тому +2

    that fade is clean af alexis. you look good man

  • @S__Khan__
    @S__Khan__ 8 місяців тому

    Great learning here. Had a laugh at that fish part ;) 28:12

  • @alveek
    @alveek 10 місяців тому

    I wouldn't have solved it myself, thank you!

  • @Pixailz
    @Pixailz 4 роки тому +6

    hi there in the previous video you have an issue for creating a file in tmp folder, the command mktemp -d might be a good idea for creating a random, not used, temp folder in /tmp/ folder ;)

    • @HackerSploit
      @HackerSploit  4 роки тому +3

      Thank you for pointing this out, I had forgotten that :)

  • @abdelhamidghoudane4282
    @abdelhamidghoudane4282 2 роки тому +1

    tnx mr

  • @refaiabdeen5943
    @refaiabdeen5943 Рік тому

    Cheers Mate.

  • @mubashiroliyantakath8979
    @mubashiroliyantakath8979 4 роки тому +4

    Hi there. I am getting a timeout before the entire script is executed. What can I do about that?

    • @j.stan8916
      @j.stan8916 4 роки тому +5

      instead of {0000..9999} write {9999..0000}.. not ideal but works since the pass is closer to 9999 end

    • @stefanoscolapasta
      @stefanoscolapasta 4 роки тому +1

      @@j.stan8916 Saved me, thx

  • @pkboy1112
    @pkboy1112 4 роки тому +1

    Really great video as always❤️looking forward for the python video

  • @oosswwaalldd
    @oosswwaalldd 4 роки тому +3

    Why do you have a lagging on the video/audio? Great content BTW

  • @info-sec3674
    @info-sec3674 4 роки тому +1

    Ver good! Iam learning much.

  • @zeuscybersec659
    @zeuscybersec659 4 роки тому +5

    Bro pls make a video on OSCP level ctfs.I have done Mercy

  • @siriusz4661
    @siriusz4661 4 роки тому +1

    Great job

  • @geniesolos
    @geniesolos 4 роки тому +4

    I would love to see that bash code done in Python

    • @bob-007
      @bob-007 4 роки тому +1

      this is my simple python solution:
      f = open("pins","w")
      for x in range(10000):
      f.write('UoMYTrfrBFHyQXmg6gzctqAwOmw1IohZ %d
      ' % x)
      f.close()
      then run:
      nc localhost 30002 < pins
      so generate a file of pins then send this to netcat

    • @DHIRAL2908
      @DHIRAL2908 4 роки тому +1

      @@bob-007 I think he meant with socket library... By which you wouldn't need nc...

    • @virtoz1k
      @virtoz1k 4 роки тому

      my "ugly" way ...
      #!/usr/bin/python
      import os
      pswd = "UoMYTrfrBFHyQXmg6gzctqAwOmw1IohZ"
      for i in range(10000):
      pin = str(i).rjust(4, '0')
      cmd = 'echo "%s %s" >> local.txt' % (pswd, pin)
      os.system(cmd)
      os.system("nc localhost 30002 < local.txt")

  • @Jawlaya
    @Jawlaya 4 роки тому +1

    Hackersploit,, 👍👍

  • @TanukiSack
    @TanukiSack Рік тому +1

    Can anyone explain to me why
    ./list | 'ncat' localhost 30002 does NOT give me the password
    but
    ./list | 'nc' localhost 30002 DOES?

    • @seradfb345
      @seradfb345 Місяць тому

      Both commands work fine for me, there might have been an error somewhere else such as a typo perhaps when you changed it?

  • @mostafahamza3106
    @mostafahamza3106 2 роки тому

    couldn't connect with openssl we can generate public key from private key we have

  • @fdd4545
    @fdd4545 4 роки тому

    You can execute shell commands from more with !

  • @xuztung
    @xuztung 2 місяці тому

    but which one pincode is? - how knows number of pincode?

    • @seradfb345
      @seradfb345 Місяць тому

      I'm sure there is a cleaner way to accomplish this, but I just did this:
      As part of the script I put the output into results.txt with the following line:
      for i in {0000..9999}; do
      echo $password $i
      done | nc localhost 30002 >> results.txt
      I ran the script in the shell and then ran the following to count how many wrong results were printed:
      grep -c "Wrong" results.txt
      The result is 9297. This means that the PIN is 9297 (you have to include 0000 as an attempt also)
      I checked by manually entering the password and PIN and it is correct.

  • @gta5thglife292
    @gta5thglife292 4 роки тому +1

    what Linux are you using i know is a stupid question.

    • @xXxSonOfDiabloxXx
      @xXxSonOfDiabloxXx 4 роки тому +2

      If you are just interested in the Desktop Environment it's KDE Plasma 5. You should be able to install that for pretty much any Linux Distro you want.

    • @gta5thglife292
      @gta5thglife292 4 роки тому

      @@david-varghese thanks

    • @gta5thglife292
      @gta5thglife292 4 роки тому

      @@xXxSonOfDiabloxXx thanks

  • @ElliyahuRosha
    @ElliyahuRosha 4 роки тому +1

    Stop apologising! That was fascinating!!

  • @utkarshatre3345
    @utkarshatre3345 4 роки тому

    my shell script for bandit25 is not working can anyone help me

  • @TheRodrigohendges
    @TheRodrigohendges 4 роки тому +1

    First

  • @jorgecarnaval5987
    @jorgecarnaval5987 2 роки тому

    Can someone help me please, when I go to run the shell (lvl24) this problem appears: -bash: ./brute.sh: bin/bash: bad interpreter: No such file or directory
    I've tried several ways, I did it in nano, vim, I used sed, dos2unix and nothing works!

    • @nt-fo9pt
      @nt-fo9pt 3 місяці тому

      This is a year after the fact so sorry if this is old news, but it looks like you wrote your shebang wrong for your bash script. It is:
      #!/bin/bash
      Not
      #!bin/bash