LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy
User Name
Password
Puppy This forum is for the discussion of Puppy Linux.

Notices


Reply
  Search this Thread
Old 03-01-2016, 07:50 PM   #1
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Rep: Reputation: 169Reputation: 169
Random password generator


Random password generator

Quote:
#!/bin/bash
#
# https://blog.colovirt.com/2009/01/07...randomurandom/
#
# Generate 12 character passwords that contain special characters
#
echo >> passwords.txt
cat /dev/urandom| tr -dc 'a-zA-Z0-9-_!@#$%^&*()_+{}|:<>?='|fold -w 12 | head -n 4 >> passwords.txt
 
Old 03-02-2016, 04:11 AM   #2
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,155

Rep: Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857
Neat!
 
Old 03-02-2016, 05:50 AM   #3
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
pwgen anyone?
 
Old 03-02-2016, 03:12 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
pass phrase and dice

https://en.wikipedia.org/wiki/Diceware
time to pull out your D20, D12, D8,D6,and D4

a 6 to 8 word passphrase

Last edited by John VV; 03-02-2016 at 03:14 PM.
 
Old 03-02-2016, 03:41 PM   #5
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Original Poster
Rep: Reputation: 169Reputation: 169
Quote:
Originally Posted by John VV View Post
pass phrase and dice

https://en.wikipedia.org/wiki/Diceware
time to pull out your D20, D12, D8,D6,and D4

a 6 to 8 word passphrase
The bash script is a tad quicker. :-)
 
Old 03-03-2016, 07:26 AM   #6
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
You never saw me rolling (*pun intended*)
 
Old 03-03-2016, 06:09 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
use bash to generate a dictionary word list linked to a number

then try to hit that Ork with your broadsword
 
Old 03-07-2016, 05:08 AM   #8
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
Your attack role (+15): Hit
Ork defence role (+1): Slip
Your hit the Ork for "secret_password" points of health
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How to use a command line random password generator PWGEN on Linux LXer Syndicated Linux News 0 10-22-2015 09:10 PM
Random date generator porkcharsui Linux - Newbie 5 01-26-2010 01:58 AM
I need a random number generator newbiesforever Linux - Software 5 05-22-2009 02:04 PM
Random Sentence Generator? gandil Linux - Newbie 7 01-01-2006 10:14 AM
Help: Need random password generator linuxgamer Linux - Software 5 12-02-2003 01:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy

All times are GMT -5. The time now is 08:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration