|
| 1 | +Default Method: |
| 2 | + Enter the following command which spiders the given URL to a specified depth and prints a list of words which can then be used as a dictionary for cracking the password. |
| 3 | +cewl http://www.randomsite.com |
| 4 | + |
| 5 | +To save it to a wordlist: |
| 6 | + '-w file.txt' |
| 7 | + cewl http://www.randomsite.com -w wordlist.txt |
| 8 | + |
| 9 | +To see your wordlist: |
| 10 | + cat wordlist.txt (or whatever you named it) |
| 11 | + |
| 12 | +Generating Wordlist of Specific Length: |
| 13 | + '-m 9' |
| 14 | + cewl https://randomsite.com -m 9 |
| 15 | + The above command will generate a list of minimum 9 words. |
| 16 | + |
| 17 | +Retrieving Emails from a Website: |
| 18 | + -e option enables email parameter |
| 19 | + -n option hides the list of the word generated while crawling the given website. |
| 20 | + cewl https://randomsite.com -n -e |
| 21 | + |
| 22 | +Count the number of Word Repeated in a website: |
| 23 | + -c option enables count parameter. |
| 24 | + cewl https://randomsite.com -c |
| 25 | + |
| 26 | +Increase the Depth to Spider: |
| 27 | + If you want to increase the level of spider for generating a larger list of the word by enumerating more new words from the website then use -d option along with depth level number that enables depth parameter for making more intense creeping. By Default it the depth level set is 2. |
| 28 | + cewl https://randomsite.com -d 2 |
| 29 | + |
| 30 | +Extra Debug Information |
| 31 | + use -–debug option to enable debug mode and show errors and raw details of a website while crawling. |
| 32 | + cewl https://randomsite.com --debug |
| 33 | + |
| 34 | +Verbose Mode: |
| 35 | + To expand the website crawling result and for retrieving completed detail of a website, you can use -v option for verbose mode. Rather than generating wordlist, it will dump the information available on the website. |
| 36 | + cewl https://randomsite.com -v |
| 37 | + |
| 38 | +Generating Alpha-Numeric |
| 39 | + If you want to generate an alpha-numeric wordlist then you can use –with-numbers option along with the command. |
| 40 | + cewl http://randomsite.com --with-numbers |
| 41 | + |
| 42 | +Cewl with Digest/Basic Authentication: |
| 43 | + If there is page authentication for login into the website then above default will not work properly, in order to generate a wordlist you need to bypass the authentication page by using the following parameter: |
| 44 | + –auth_type: Digest or basic. |
| 45 | + –auth_user: Authentication username. |
| 46 | + –auth_pass: Authentication password. |
| 47 | + cewl http://192.168.1.105/dvwa/login.php --auth_type Digest --auth_user admin --auth_pass password -v |
| 48 | + cewl http://192.168.1.105/dvwa/login.php --auth_type basic --auth_user admin --auth_pass password -v |
0 commit comments