Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides

FAQ
It is currently Wed Jun 28, 2017 2:22 pm


Tips & Tricks, Questions regarding shell scripts, awk, perl, sed and much more.

Author Message
Kvr123
Post  Post subject: Password generator with user inputs bash script  |  Posted: Thu Dec 01, 2016 5:06 am

Joined: Thu Dec 01, 2016 5:04 am
Posts: 1

Offline
 

Password generator with user inputs bash script

Hi,
I am new to bash scripting and i wanted to make a bash script that will generate a password for a user. The user must enter his/her name and the url of the site the password is used for. And the script will generate a password with those two elements in the password. So if the url is www.google.com and the name is Kevin i want google and Kevin in the password.

When the user enters Tom and https://outlook.live.com/owa/ the password should be something like Tomoutlook or outlookTom but i wanted to add random characters (lowercase, uppercase, numbers) so the password is 15 characters long.

for example:

name?

tom

url?

https://www.instagram.com

the output should be something like : tomR3instagram5 or 4instagramRTtom





Top
Display posts from previous:  Sort by  
E-mail friendPrint view

Topics related to - "Password generator with user inputs bash script"
 Topics   Author   Replies   Views   Last post 
There are no new unread posts for this topic. How to replace new line in perl script

mandrei99

1

1778

Wed Jun 26, 2013 8:18 am

admin View the latest post

There are no new unread posts for this topic. Removing new line / EoL characters in a PERL script

mandrei99

0

2302

Mon Nov 04, 2013 6:47 am

mandrei99 View the latest post

There are no new unread posts for this topic. How to increase bash history size in Linux

mandrei99

0

7623

Mon Jan 12, 2015 11:45 am

mandrei99 View the latest post

There are no new unread posts for this topic. Linux / FreeBSD: Avoid bash history duplicate lines with HISTCONTROL

mandrei99

0

507

Mon Jan 12, 2015 12:01 pm

mandrei99 View the latest post

There are no new unread posts for this topic. Attachment(s) Juniper SRX - Perl script - SNMP based RRDtool graphis from CPU usage and Flow Session (current)

mandrei99

1

2169

Mon Nov 04, 2013 11:47 am

mandrei99 View the latest post

 

Who is online
Users browsing this forum: No registered users and 0 guests
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
Jump to:  
News News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list


Delete all board cookies | The team | All times are UTC - 5 hours [ DST ]



phpBB SEO