Skip to content

Commit 366a900

Browse files
authored
Update README.md
1 parent 182ac41 commit 366a900

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ getJS -h
3535
| -url | The url to get the javascript sources from | getJS -url=htt<span></span>ps://poc-server.com |
3636
| -input | Input file with urls | getJS -input=domains.txt |
3737
| -output | The file where to save the output to | getJS -output=output.txt |
38-
| -plain | Only output the results | getJS -plain |
39-
| -silent | Output nothing | getJS -silent |
38+
| -verbose | Display info of what is going on | getJS -verbose |
4039
| -complete | Complete the urls. e.g. /js/index.js -> htt<span></span>ps://example.<span></span>com/js/index.js | getJS -complete |
4140
| -resolve | Resolve the output and filter out the non existing files (Can only be used in combination with -complete) | getJS -complete -resolve |
4241
| -nocolors | Don't color the output | getJS -nocolors |
@@ -46,20 +45,20 @@ getJS -h
4645
![screenshot](https://poc-server.com/getJS/screenshot.png)
4746

4847

49-
getJS supports stdin data. To pipe urls to getJS, use the following (-plain is optional).
48+
getJS supports stdin data. To pipe urls to getJS, use the following:
5049

5150
```bash
52-
$ cat domains.txt | getJS -plain
51+
$ cat domains.txt | getJS
5352
```
5453

5554
To save the js files, you can use:
5655
```bash
57-
$ getJS -url=https://poc-server.com -plain | xargs wget
56+
$ getJS -url=https://poc-server.com | xargs wget
5857
```
5958

6059
If you would like the output to be in JSON format, you can combine it with [@Tomnomnom's](https://github.com/tomnomnom) [toJSON](https://github.com/tomnomnom/hacks/tree/master/tojson):
6160
```bash
62-
$ getJS -url=https://poc-server.com -plain | tojson
61+
$ getJS -url=https://poc-server.com | tojson
6362
```
6463

6564
To feed urls from a file use:

0 commit comments

Comments
 (0)