Remote Exploit Forums

Go Back   Remote Exploit Forums > General IT Discussion


General IT Discussion Non BT Related Topics

   

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-14-2007, 03:34 AM
Senior Member
 
Join Date: Jul 2007
Posts: 113
Default WoRd_LiSt_MaNiPuLaTeR

I was bored so I am coding a program in c++ to manipulate word lists. Thought I might as well post it. If anyone has any ideas and wants me to add something post. next I am going to add uppercase/lowercase manipulation. Right now it just lets you prepend and append characters to a word list. Included in the download is the linux binary and a webster's dictonary wordlist. I will compile and upload the windows binary as well.
v1
Added
1.Opens any file.
2.Output to a new file with those options to preserve the original.
3.Prepend/Append characters.
Linux binary/Wordlist - http://rapidshare.com/files/48859964...LaTeR.rar.html
Windows binary - http://rapidshare.com/files/48860926...LaTeR.exe.html

v2
Added
4.Each of the words repeated, on a second line, the original word on the first and the second line using one of the manipulated word.
Linux binary - http://rapidshare.com/files/48867763...NiPuLaTeR.html

v3
Added
5.All UPPERCASE and lowercase.
Linux binary - http://rapidshare.com/files/48887651...NiPuLaTeR.html

v4
Added
6.So the pogram writes to end of file and one file can be added to and manipulated many times.
Linux binary - http://rapidshare.com/files/48980292...NiPuLaTeR.html
Windows binary - http://rapidshare.com/files/48982358...LaTeR.exe.html

v5
Added
7.Make first letter uppercase
8.Do alternating upper/lowercase and reverse
9.Readme
Linux binary - http://rapidshare.com/files/49057045...LaTeR.rar.html

v6
Added
10.Scan for doubles and remove
11Reverse strings
Linux binary -
http://rapidshare.com/files/49249636...LaTeR.rar.html

Last edited by -`Joseph`-; 08-15-2007 at 11:08 PM.
Reply With Quote
  #2 (permalink)  
Old 08-14-2007, 04:12 AM
balding_parrot's Avatar
Administrator
 
Join Date: May 2007
Posts: 3,259
Default

Not looked at it yet, I was going to do this for Xploitz, but a HDD failure and problems with my basic skills not knowing how to handle the differing line terminators put a stop on that.

These are the notes it took when we were talking about what it should be capable of.

It needs to be able to handle lines terminated by either a <cr><lf> pair for files created in a windows environment and by a <lf> for files created in a unix environment.
Accept a wide range of files as input files txt,lst,dic etc etc and files with no extention, I was going to let it accept any file except exe and com to cover all eventualities.

Manipulation Features
All caps
All lower-case
Alternate letters upper and lower-case (and the reverse of that)
Capitalised First char
Output to a new file with those options to preserve the original.
Each of the words repeated, on a second line, the original word on the first and the second line using one of the options I gave above all output to a new file.

When we worked out what was needed, those were the options we came up with.

Good luck with your project
__________________

Any questions you have will get a good answer as long as you have followed the forum rules and show you have tried to help yourself. Your questions are clear and contain as much relevant info as possible, especially error messages, commands you have tried and the output from those commands.

remember: garbage in = garbage out

BackTrack needs your donations, no matter how small.

Please contribute HERE

Reply With Quote
  #3 (permalink)  
Old 08-14-2007, 04:53 AM
Senior Member
 
Join Date: Jul 2007
Posts: 113
Default

Added
4.Each of the words repeated, on a second line, the original word on the first and the second line using one of the options I gave above all output to a new file.
Could you please explain this line in a bit more detail, I do not quite understand what you are talking about.

Last edited by -`Joseph`-; 08-14-2007 at 04:56 AM.
Reply With Quote
  #4 (permalink)  
Old 08-14-2007, 05:04 AM
balding_parrot's Avatar
Administrator
 
Join Date: May 2007
Posts: 3,259
Default

Quote:
Originally Posted by -`Joseph`- View Post
Added
4.Each of the words repeated, on a second line, the original word on the first and the second line using one of the options I gave above all output to a new file.
Could you please explain this line in a bit more detail, I do not quite understand what you are talking about.
Sorry it was clear when Xploitz and myself were talking about it.

take a list

dog
cat
hat

depending on that option you want out of the list I gave you would get something like this for caps

dog
DOG
cat
CAT
hat
HAT

being sent to a new file

Or for just Capitalise the first letter

dog
Dog
cat
Cat
hat
Hat

And you would still have your original file intact

dog
cat
hat

Does that help make it clearer ?
__________________

Any questions you have will get a good answer as long as you have followed the forum rules and show you have tried to help yourself. Your questions are clear and contain as much relevant info as possible, especially error messages, commands you have tried and the output from those commands.

remember: garbage in = garbage out

BackTrack needs your donations, no matter how small.

Please contribute HERE

Reply With Quote
  #5 (permalink)  
Old 08-14-2007, 05:21 AM
Senior Member
 
Join Date: Jul 2007
Posts: 113
Default

Haha, I said that wrong, I understood that part perfectly, I already add that feature.

It needs to be able to handle lines terminated by either a <cr><lf> pair for files created in a windows environment and by a <lf> for files created in a unix environment.

I meant that. lol My bad.
Reply With Quote
  #6 (permalink)  
Old 08-14-2007, 05:36 AM
balding_parrot's Avatar
Administrator
 
Join Date: May 2007
Posts: 3,259
Default

if you find the thread about sharing wordlists, you will find many there that are created in linux and many that are created in windows.

A windows file uses the standard Carage Return and Line Feed pair to denote a new line.
A linux file uses just a Line Feed character to denote a new line.

If you open a file created in linux, in notepad, you will see that it does not display properly as it cannot handle just a LF
open the same file in wordpad and you will see that it handles it correctly

Here is how I described it there
Quote:
If you want to see this for yourself open one of the wordlists from http://www.theargon.com/ in notepad and you will see it all one line (although it will probably show as a couple of lines) with a black block between the words. Now if you open that same file in wordpad you will see it formatted with one word per line. So there is a solution but I don't what it is.
Does that explain the problem I am talking about
__________________

Any questions you have will get a good answer as long as you have followed the forum rules and show you have tried to help yourself. Your questions are clear and contain as much relevant info as possible, especially error messages, commands you have tried and the output from those commands.

remember: garbage in = garbage out

BackTrack needs your donations, no matter how small.

Please contribute HERE


Last edited by balding_parrot; 08-14-2007 at 05:39 AM.
Reply With Quote
  #7 (permalink)  
Old 08-14-2007, 06:04 AM
Senior Member
 
Join Date: Jul 2007
Posts: 113
Default

Yes, I will look into it. However could you specify a file that does that in linux, the ones from argon I downloaded were formated fine.

Last edited by -`Joseph`-; 08-14-2007 at 06:14 AM.
Reply With Quote
  #8 (permalink)  
Old 08-14-2007, 03:51 PM
-=Xploitz=-'s Avatar
Senior Member
 
Join Date: Apr 2007
Location: Mesquite, Texas (Dallas County) USA
Posts: 3,489
Default

I think b_p summed it all up. Have you heard of the program called Raptor 3 under Windows??? Its a GREAT wordlist manipulator/creator. Haven't checked if it available under Linux yet or not. My request would be what b_p said..but....

make it where you can select the option to output the processed wordlist as....for example..

option 1.......

Take original lowercase wordlist A, and process it to "Capitalize First letter only" and output that to a new wordlist B entitled thusly..but RETAIN the original lowercase wordlist's lowercaseness in entirety.

Say that 3 times fast!!!

BTW -`Joseph`-
Let me know when you get this all up and running,...I'm very eager to "test drive" it. Thanks for giving the community such a great tool.

Last edited by -=Xploitz=-; 08-14-2007 at 03:53 PM.
Reply With Quote
  #9 (permalink)  
Old 08-14-2007, 04:22 PM
Member
 
Join Date: Jul 2007
Location: NY
Posts: 42
Send a message via AIM to punkrokk
Default

I'd like to test drive it too please...
Reply With Quote
  #10 (permalink)  
Old 08-14-2007, 04:23 PM
Senior Member
 
Join Date: Jul 2007
Posts: 113
Default

HERE IS THE LATEST BINARY FOR LINUX http://rapidshare.com/files/48980292...NiPuLaTeR.html
I already posted two binaries for linux and one for windows. Right now I have it so it has 5 options. Copy the original , uppercase original, lowercase original, append the original, and prepend the original to another file. So say you run the program, you give it the wordlist "test.txt" and test.txt contains
blue
yellow
orange
red
white
brown
black
And option 1 = original would copy all of those two a different file, run the program again and pick UPPERCASE your final result will be
blue
yellow
orange
red
white
brown
black
BLUE
YELLOW
ORANGE
RED
WHITE
BROWN
BLACK
Run the program again and use apend "123" your outcome will be
blue
yellow
orange
red
white
brown
black
BLUE
YELLOW
ORANGE
RED
WHITE
BROWN
BLACK
blue123
yellow123
orange123
red123
white123
brown123
black123

Last edited by -`Joseph`-; 08-14-2007 at 04:29 PM.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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



All times are GMT. The time now is 12:37 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2