Shell Scripting - Password Generator
Ғылым және технология
Hey guys! HackerSploit here back again with another video, in this series we will be looking at how to create shell scripts.
A shell script is a computer program designed to be run by the Unix shell, a command-line interpreter. The various dialects of shell scripts are considered to be scripting languages
Github Repo: github.com/AlexisAhmed/Shell-...
⭐Help Support HackerSploit by using the following links:
🔗 NordVPN: nordvpn.org/hacker
Use the link above or the code below for 77% Off your order
Promo Code: hacker
Patreon: / hackersploit
I Hope you enjoy/enjoyed the video.
If you have any questions or suggestions feel free to ask them in the comments section or on my social networks.
🔗 HackerSploit Website: hsploit.com/
🔗 HackerSploit Android App: play.google.com/store/apps/de...
🔹 Support The Channel
NordVPN Affiliate Link: nordvpn.org/hacker
Patreon: / hackersploit
🔹 Get Our Courses
Get a special discount on our courses:
The Complete Deep Web Course 2018:
www.udemy.com/the-complete-de...
🔹 SOCIAL NETWORKS - Connect With Us!
-------------------------------
Facebook: / hackersploit
Twitter: / hackersploit
Patreon: / hackersploit
--------------------------------
Thanks for watching!
Благодаря за гледането
Kiitos katsomisesta
感谢您观看
Merci d'avoir regardé
Grazie per la visione
Gracias por ver
شكرا للمشاهدة
دیکھنے کے لیے شکریہ
देखने के लिए धन्यवाद
Пікірлер: 41
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!
Much respect. ...u r my mentor in this course. Thanks alot
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! 👍
Very good man ;) Keep going!
All are exciting! Thanks.
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.
My first script was basically this. Actually I did it before I even knew how to run scripts.
can you make videos on bash script colours in terminal
For anyone who ended up with an error saying bad sequence, you can change {seq 1} to just {1},
Great! Just Great! Thanks man!
What does that P stand for?
Thank you very much 🙂
can you give me solution to write it to file?
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
5 жыл бұрын
yees I thought the same after watching this video, did you manage to do it?
Sir please, can you explain how to make an shell script that run another script at specific date & time?
@AjayKumar-un9gy
5 жыл бұрын
just add 'cron job' to the script
:error:2406F079:random number generator:RAND_load_file:Cannot open file:../crypto/rand/randfile.c:88:File Any help?
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
Жыл бұрын
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
Жыл бұрын
p is to represent each item in $(seq 1 5)
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 :)
@zdravkojovancevic1013
Жыл бұрын
I have found a mistake haha wow :D
i love you bro but still waiting for system hardening, b4 hacking, much respect
@HackerSploit
5 жыл бұрын
Hello, Apologies man, I've just been caught up with a lot. It is definitely the next series.
@MrGFYne1337357
5 жыл бұрын
i'm thinking of highlighting your vids in destination linux yt/podcast and distrotube, much live bro
thanks
THANK YOU BRO
thumbs up!
Sensei
good
take this Last Pass !!!!
10:38 you're very wrong about those passwords. they're extremely strong. 80bits of entropy is no joke
openssl rand -base64 $PASS_LENGTH :)
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
4 жыл бұрын
Add a code after generate like so: .... > name.txt
@cornelldavid472
3 жыл бұрын
@@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
for executable make sure you have the absolute path e.g openssl -> /usr/bin/openssl
#!/bin/bash echo "write the length of the password" read len openssl rand -base64 48 | cut -c1-$len