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

  • @TheMouseJerry-du1md
    @TheMouseJerry-du1md17 күн бұрын

    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!

  • @adanmussa9098
    @adanmussa90985 жыл бұрын

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

  • @ocrvelin78
    @ocrvelin785 жыл бұрын

    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! 👍

  • @jimchr4331
    @jimchr43315 жыл бұрын

    Very good man ;) Keep going!

  • @blog.pymastery
    @blog.pymastery5 жыл бұрын

    All are exciting! Thanks.

  • @BobbyValenzuela
    @BobbyValenzuela2 жыл бұрын

    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.

  • @sudocatsda1guy390
    @sudocatsda1guy3904 жыл бұрын

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

  • @shricorporation2424
    @shricorporation24245 жыл бұрын

    can you make videos on bash script colours in terminal

  • @danielarzanipour8112
    @danielarzanipour8112 Жыл бұрын

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

  • @JokesGaloreYT
    @JokesGaloreYT4 жыл бұрын

    Great! Just Great! Thanks man!

  • @xalgiadotcom
    @xalgiadotcom5 жыл бұрын

    What does that P stand for?

  • @shakeraljobury153
    @shakeraljobury15315 күн бұрын

    Thank you very much 🙂

  • @alexfoti76
    @alexfoti764 жыл бұрын

    can you give me solution to write it to file?

  • @krisdouglas6536
    @krisdouglas65365 жыл бұрын

    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

    5 жыл бұрын

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

  • @hemdeepgamit2234
    @hemdeepgamit22345 жыл бұрын

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

  • @AjayKumar-un9gy

    @AjayKumar-un9gy

    5 жыл бұрын

    just add 'cron job' to the script

  • @josh429
    @josh4295 жыл бұрын

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

  • @ronin2167
    @ronin21673 жыл бұрын

    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)

  • @zdravkojovancevic1013
    @zdravkojovancevic1013 Жыл бұрын

    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

    @zdravkojovancevic1013

    Жыл бұрын

    I have found a mistake haha wow :D

  • @MrGFYne1337357
    @MrGFYne13373575 жыл бұрын

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

  • @HackerSploit

    @HackerSploit

    5 жыл бұрын

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

  • @MrGFYne1337357

    @MrGFYne1337357

    5 жыл бұрын

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

  • @rourodadi7524
    @rourodadi75245 жыл бұрын

    thanks

  • @Gr33n37
    @Gr33n375 жыл бұрын

    THANK YOU BRO

  • @fmj_556
    @fmj_5564 жыл бұрын

    thumbs up!

  • @LucasAlfa.
    @LucasAlfa.5 жыл бұрын

    Sensei

  • @user-rg7qt4zc9l
    @user-rg7qt4zc9l5 жыл бұрын

    good

  • @hexernightcore
    @hexernightcore5 жыл бұрын

    take this Last Pass !!!!

  • @stephenkamenar
    @stephenkamenar3 жыл бұрын

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

  • @shishirpokhrel35
    @shishirpokhrel355 жыл бұрын

    openssl rand -base64 $PASS_LENGTH :)

  • @PainDive1
    @PainDive14 жыл бұрын

    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 жыл бұрын

    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

  • @eugenemark836
    @eugenemark8369 ай бұрын

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

  • @BEKTIPS
    @BEKTIPS11 ай бұрын

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

Келесі