You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+77-40Lines changed: 77 additions & 40 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,78 +9,122 @@
9
9
Spider is a web crawler and wordlist/ngram generator written in Go that crawls specified URLs or local files to produce frequency-sorted wordlists and ngrams. Users can customize crawl depth, output files, frequency sort, and ngram options, making it ideal for web scraping to create targeted wordlists for tools like hashcat or John the Ripper. Since Spider is written in Go, it requires no additional libraries to download or install.
10
10
*Spider just works*.
11
11
12
+
### Install latest release:
13
+
```
14
+
go install github.com/cyclone-github/spider@latest
15
+
```
16
+
### Install from latest source code (bleeding edge):
17
+
```
18
+
go install github.com/cyclone-github/spider@main
19
+
```
20
+
21
+
### Modes
22
+
-**URL mode** (`-url`) — crawl a website and create wordlist/ngrams (frequency sorted optional)
23
+
-**File mode** (`-file`) — process a local text file to create wordlist/ngrams (frequency sorted optional)
Crawl delay: 20ms (increase this to avoid rate limiting)
26
-
Timeout: 1 sec
27
-
URLs crawled: 2
28
-
Processing... [====================] 100.00%
29
-
Unique words: 475
30
-
Unique ngrams: 1977
31
-
Sorting n-grams by frequency...
38
+
Crawl delay: 20ms (increase to avoid rate limiting)
39
+
Timeout: 10 sec
40
+
URL match: hashpwn
41
+
Text match: hashpwn
42
+
Scan/match: 22/21
43
+
Unique words: 847
44
+
Unique ngrams: 3816
45
+
Sorting wordlist by frequency...
32
46
Writing... [====================] 100.00%
33
-
Output file: forum.hashpwn.net_spider.txt
34
-
RAM used: 0.02 GB
35
-
Runtime: 2.283s
47
+
Output file: hashpwn_spider.txt
48
+
RAM used: 0.003 GB
49
+
Runtime: 11.279s
50
+
```
51
+
52
+
When `-text-match` is used, all pages are still crawled for URL discovery but only pages with matching text are added to the wordlist. Crawl progress shows scanned vs matched:
@@ -95,8 +139,10 @@ Wordlist & ngram creation tool to crawl a given url or process a local file to c
95
139
Output file for the n-grams
96
140
-sort
97
141
Sort output by frequency
142
+
-text-match string
143
+
Only process pages with text containing this keyword (case-insensitive); all URLs are still crawled
98
144
-timeout int
99
-
Timeout for URL crawling in seconds (default 1)
145
+
Timeout for URL crawling in seconds (default 10)
100
146
-url string
101
147
URL of the website to scrape
102
148
-url-match string
@@ -105,15 +151,6 @@ Wordlist & ngram creation tool to crawl a given url or process a local file to c
105
151
Display version
106
152
```
107
153
108
-
### Install latest release:
109
-
```
110
-
go install github.com/cyclone-github/spider@latest
111
-
```
112
-
### Install from latest source code (bleeding edge):
113
-
```
114
-
go install github.com/cyclone-github/spider@main
115
-
```
116
-
117
154
### Compile from source:
118
155
- If you want the latest features, compiling from source is the best option since the release version may run several revisions behind the source code.
0 commit comments