LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 05-18-2011, 05:03 AM   #1
jumpingj
LQ Newbie
 
Registered: Apr 2011
Posts: 6

Rep: Reputation: 0
wordlist/hex generator without repeating letters.


Hi Guys

I am not very good at programmming thats why i am addressing this question/task to you gentelmens.Spend ages looking around for something like that and only thing that i could find is crunch2.9 password generator but at the moment it does not suport the function that i am looking for.
My aim is to generate :
10-character combinations of the following characters (lowercase) 23456789abcdef with no more then 3 same letters repeates no metter side by side or within one line (sequence) so lets say

abcdef1234 accept
fabcde1234 accept
ffabcd1234 accept
which is probably permutation with repetable string ( where abc is not equeal to cba etc .so ti speak position does metter)

fffabc1234 not acceptable -----(3 same characters)
ffabcf1234 not acceptable -----( 3 same characters event thought not side by side)

so generally we dont want 3 same characters apper in same line ,
Anybody would kindly challenge that (either linux or mac os scripts)
Thanks for any help and sorry for my bad english,hope you know what i'm looking for.
 
Old 05-18-2011, 05:11 AM   #2
grail
Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 7,202

Rep: Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796
And what have you done in accepting the challenge? Generally you will get a better response if you show what you have tried and where you feel
you are stuck? I would also ask, how many are you looking to generate at a time? (ie. 1, 5, 100)

Also, if you search LQ you might find what you are looking for, check this out as an option to play with

Last edited by grail; 05-18-2011 at 05:17 AM.
 
1 members found this post helpful.
Old 05-18-2011, 06:05 AM   #3
jumpingj
LQ Newbie
 
Registered: Apr 2011
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks grail for your prompt reply.
as i said i am not good at programming and most of those command does not make sense to me plus i am mac os based (can do few simple terminal commands--thats all)Thanks for the link i read it before even post some comments there,and running a clisp script on mac os not an easy task for me either.forgive me if i am asking for too much but i have stuck...
Thanks
p.s. i am looking for all possible combination/permutation.crunch output is just way to big ,so looking for something to narrow it down
 
Old 05-18-2011, 07:44 AM   #4
grail
Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 7,202

Rep: Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796Reputation: 1796
Did you look at the awk solution I provided in the link? Should be a fairly simple manipulation to get what you desire.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[bash] ASCII to HEX and hex to ascii ////// Programming 15 03-20-2014 01:23 PM
[SOLVED] Generate SPECIAL alphanumeric WORDLIST - no repeating characters side-by-side Stanley_212 Programming 30 08-17-2013 11:39 AM
How to create permutations for a wordlist ? frenchn00b Programming 5 08-18-2009 06:03 PM
[SOLVED] ASCII to HEX offline generator for WEP connection jelezarov Linux - Wireless Networking 4 05-14-2009 01:57 PM
Hex output of a hex/ascii input string mlewis Programming 35 04-10-2008 12:05 PM


All times are GMT -5. The time now is 07:29 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration