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!
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! 👍
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.
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.
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..
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 ?
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 :)
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
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!
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! 👍
For anyone who ended up with an error saying bad sequence, you can change {seq 1} to just {1},
Much respect. ...u r my mentor in this course. Thanks alot
My first script was basically this. Actually I did it before I even knew how to run scripts.
Very good man ;)
Keep going!
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.
All are exciting! Thanks.
can you make videos on bash script colours
in terminal
Sir please, can you explain how to make an shell script that run another script at specific date & time?
just add 'cron job' to the script
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.
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..
p is to represent each item in $(seq 1 5)
10:38
you're very wrong about those passwords. they're extremely strong. 80bits of entropy is no joke
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 ?
yees I thought the same after watching this video, did you manage to do it?
Great! Just Great! Thanks man!
What does that P stand for?
:error:2406F079:random number generator:RAND_load_file:Cannot open file:../crypto/rand/randfile.c:88:File Any help?
can you give me solution to write it to file?
i love you bro but still waiting for system hardening, b4 hacking, much respect
Hello, Apologies man, I've just been caught up with a lot. It is definitely the next series.
i'm thinking of highlighting your vids in destination linux yt/podcast and distrotube, much live bro
Thank you very much 🙂
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 :)
I have found a mistake haha
wow :D
thumbs up!
Sensei
take this Last Pass !!!!
THANK YOU BRO
thanks
good
openssl rand -base64 $PASS_LENGTH :)
for executable make sure you have the absolute path e.g openssl -> /usr/bin/openssl
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
Add a code after generate like so:
.... > name.txt
@@jigsaw2925 Yep
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
#!/bin/bash
echo "write the length of the password"
read len
openssl rand -base64 48 | cut -c1-$len