Results 1 to 5 of 5

Thread: Cannot open 1.3 GB wordlist.txt

  1. #1
    Junior Member
    Join Date
    Dec 2008
    Location
    Shoulder surfing besides you...
    Posts
    39

    Default Cannot open 1.3 GB wordlist.txt

    Hello,

    I created a wordlist.txt using crunch and its size is 1.3 GB. The problem is I cannot
    open it in backtrack 5 R2 (it closes midway) nor in Windows in wordpad (it hangs).

    I want to make some changes in the file for eg. remove the line
    "Crunch will now generate the following amount of data". How do I open
    this file?

    Note: The file cannot open in Notepad, Notepad++. It does open in Large
    Text Viewer but that is read-only mode.

    Please help
    Having knowledge is one thing and applying that knowledge to earn money (of course, legally) is a completely different thing...

  2. #2
    Just burned his ISO
    Join Date
    Feb 2011
    Posts
    5

    Default Re: Cannot open 1.3 GB wordlist.txt

    Can't you cat it to another file, and "grep -v the line that you want to get rid of" ?

  3. #3
    Very good friend of the forum TAPE's Avatar
    Join Date
    Jan 2010
    Location
    Europe
    Posts
    599

    Default Re: Cannot open 1.3 GB wordlist.txt

    So the reason for you wanting to edit the file is simply to delete the first few lines ?
    (you could have used the -u switch in crunch to prevent the info on file from being mentioned..)

    You can do this straight from the command line without needing to open the whole file.

    To check the first few lines why not start by doing ;

    Code:
    head -n 10 wordlist.txt
    Or as you already mentioned, open using LTFviewer which will open the file (read only) without any problem
    and check which lines you want removed.

    Then just use sed or the like to remove the number of lines you want removed.

    to delete 1st line only;
    Code:
    sed '1d' -i wordlist.txt
    To delete 1st, 2nd & 3rd line ;
    Code:
    sed '1,3d' -i wordlist.txt
    To delete the first 10 lines ;
    Code:
    sed '1,10d' -i wordlist.txt
    Do a google for 'sed one liners' to get more info on easy sed commands.

  4. #4
    Junior Member
    Join Date
    Dec 2008
    Location
    Shoulder surfing besides you...
    Posts
    39

    Default [SOLVED] Cannot open 1.3 GB wordlist.txt

    Quote Originally Posted by lolliver View Post
    Can't you cat it to another file, and "grep -v the line that you want to get rid of" ?
    Hi lolliver, I prefer to use the builtin features of the program first and then try other methods.
    I missed out on the -u option which TAPE mentioned (thanks TAPE). So I'll create the wordlist
    again using the -u switch!!
    Having knowledge is one thing and applying that knowledge to earn money (of course, legally) is a completely different thing...

  5. #5
    Just burned his ISO
    Join Date
    Feb 2011
    Posts
    5

    Default Re: Cannot open 1.3 GB wordlist.txt

    No problem. Glad you got it sorted.

Similar Threads

  1. Wordlist Generator Script - Revamping Original Wordlist
    By mcurran in forum OLD Programming
    Replies: 5
    Last Post: 01-22-2010, 06:13 AM
  2. WPA cracking...big wordlist or just good wordlist.
    By Abraxas in forum OLD Newbie Area
    Replies: 11
    Last Post: 04-07-2009, 02:12 PM
  3. Replies: 2
    Last Post: 11-25-2008, 11:42 AM
  4. Replies: 28
    Last Post: 10-23-2008, 10:28 AM
  5. open ports
    By wallsballs in forum OLD Pentesting
    Replies: 18
    Last Post: 01-08-2008, 10:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •