Shell Scripting - Password Generator

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

КОМЕНТАРІ • 41

  • @TheMouseJerry-du1md
    @TheMouseJerry-du1md 3 місяці тому +1

    Brilliant! Thank you for the videos, please keep going. There are hardly any project based bash script videos on youtube and this is really great. You got me subscribed!

  • @ocrvelin78
    @ocrvelin78 6 років тому

    Thanks for watching: Hvala na gledanju - on Croatian if u want to put it! Greetings from a fan from Croatia and thank u for educating us! All the best in future endeavours! Cheers bro! 👍

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

    For anyone who ended up with an error saying bad sequence, you can change {seq 1} to just {1},

  • @adanmussa9098
    @adanmussa9098 6 років тому +6

    Much respect. ...u r my mentor in this course. Thanks alot

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

    My first script was basically this. Actually I did it before I even knew how to run scripts.

  • @jimchr4331
    @jimchr4331 6 років тому +2

    Very good man ;)
    Keep going!

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

    6:30 I know I'm missing something very novice here, but I thought base64 implied a 64-character set? I'm sure I'm wrong here, but would love to learn the significance of using the value 48 as I think I haven't fully grasped it sadly... Any help from anyone would be much appreciated.

  • @blog.pymastery
    @blog.pymastery 6 років тому +1

    All are exciting! Thanks.

  • @shricorporation2424
    @shricorporation2424 6 років тому +2

    can you make videos on bash script colours
    in terminal

  • @hemdeepgamit2234
    @hemdeepgamit2234 6 років тому +2

    Sir please, can you explain how to make an shell script that run another script at specific date & time?

  • @ronin2167
    @ronin2167 3 роки тому

    I'm a bit confused at what the statement: for p in $(seq 1); is doing. What does the P and in portion do? I understand that you are using the seq 1 to just create 1 password.

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

      I guess p represents that particular instance/sequence in the loop when it's generating 1 or 'n' number of passwords.
      Ex: let's say "for p in $(seq 1 5)":
      for p(or let's simply say password may be) in seq 1, generate random password as specified (openssl rand .....)
      for p in seq 2, generate random password as specified (openssl rand ....)
      and so on..

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

      p is to represent each item in $(seq 1 5)

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

    10:38
    you're very wrong about those passwords. they're extremely strong. 80bits of entropy is no joke

  • @krisdouglas6536
    @krisdouglas6536 6 років тому

    Hi there and thanks again.
    After watching this and your file encryption video Also I’ve made a script that exports the password to a file and encrypts it. I’m stuck with a part though. How can I output the password with a name for what it is ? For ex generate password for a website and an option to name the password and have that output together ?

    • @florentlb4119
      @florentlb4119 6 років тому

      yees I thought the same after watching this video, did you manage to do it?

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

    Great! Just Great! Thanks man!

  • @zeph199-n4x
    @zeph199-n4x 6 років тому

    What does that P stand for?

  • @josh429
    @josh429 6 років тому

    :error:2406F079:random number generator:RAND_load_file:Cannot open file:../crypto/rand/randfile.c:88:File Any help?

  • @alexfoti76
    @alexfoti76 5 років тому

    can you give me solution to write it to file?

  • @MrGFYne1337357
    @MrGFYne1337357 6 років тому

    i love you bro but still waiting for system hardening, b4 hacking, much respect

    • @HackerSploit
      @HackerSploit  6 років тому

      Hello, Apologies man, I've just been caught up with a lot. It is definitely the next series.

    • @MrGFYne1337357
      @MrGFYne1337357 6 років тому

      i'm thinking of highlighting your vids in destination linux yt/podcast and distrotube, much live bro

  • @shakeraljobury153
    @shakeraljobury153 3 місяці тому

    Thank you very much 🙂

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

    I don't know why this happened but it didn't generated any password after executing this script, something is wrong but I still don't know why, if someone could help I would appreciate it. It just leaves a blank line after executing, not showing any generated password and yeah, doesn't give me any error..sorry too long comment :)

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

    thumbs up!

  • @LucasAlfa.
    @LucasAlfa. 6 років тому +1

    Sensei

  • @hexernightcore
    @hexernightcore 6 років тому

    take this Last Pass !!!!

  • @Gr33n37
    @Gr33n37 6 років тому

    THANK YOU BRO

  • @rourodadi7524
    @rourodadi7524 6 років тому

    thanks

  • @لعبشطرنجمحترف-ش4د
    @لعبشطرنجمحترف-ش4د 6 років тому

    good

  • @shishirpokhrel35
    @shishirpokhrel35 5 років тому

    openssl rand -base64 $PASS_LENGTH :)

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

    for executable make sure you have the absolute path e.g openssl -> /usr/bin/openssl

  • @PainDive1
    @PainDive1 5 років тому +1

    I am trying to figure out a way to write the output into a .txt file. I know how to do it in python lol

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

      Add a code after generate like so:
      .... > name.txt

    • @cornelldavid472
      @cornelldavid472 3 роки тому

      @@jigsaw2925 Yep

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

    anyone here can explain why if I increase the value of 48 to example 64 the result are two passwords, I mean "openssl rand -base64 64 | cut -c1-$PASS_LENGTH"
    I'm getting this response
    Enter length:
    25
    pghYuKC6nLJTeTBHaI5u0ZV4o
    E9kc35RZP+X53Akh/M9aww==
    the response show 2 values, but the iteration is "for P in $(seq 1); do"
    any comment about it

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

    #!/bin/bash
    echo "write the length of the password"
    read len
    openssl rand -base64 48 | cut -c1-$len