Update CONTRIBUTING.md

This commit is contained in:
HAHWUL 2020-11-08 00:57:11 +09:00 committed by GitHub
parent 93525636cb
commit 4656f19616
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,12 +1,21 @@
## Contribute # Contribute
## Fork and Build Contribute tools
First, fork this repository
![1414](https://user-images.githubusercontent.com/13212227/98445633-fd479700-215b-11eb-876f-fcc82a010bb6.png)
First, you need to compile `add-tool` and `distribute-readme` using `make` command: Second, Clone forked repo and compile `add-tool` and `distribute-readme` using `make` command:
```
```bash $ git clone https://github.com/{your-id}/WebHackersWeaponse
> make contribute $ cd WebHackersWeaponse
``` ```
### Usage of add-tool ```bash
$ make contribute
```
## Add new tool
### First, your tool append `data.json` using `add-tool
Usage
``` ```
./add-tool ./add-tool
Usage of ./add-tool: Usage of ./add-tool:
@ -16,8 +25,7 @@ Usage of ./add-tool:
any url any url
``` ```
### Three Procedures for the Contribute E.g
- First, your tool append `data.json` using `add-tool
``` ```
$ ./add-tool -url https://github.com/sqlmapproject/sqlmap $ ./add-tool -url https://github.com/sqlmapproject/sqlmap
Successfully Opened type.lst Successfully Opened type.lst
@ -32,39 +40,42 @@ Scanner
[+] What is method(e.g XSS, WVS, SSL, ETC..)? [+] What is method(e.g XSS, WVS, SSL, ETC..)?
SQL SQL
Successfully Opened data.json Successfully Opened data.json
```
- Second, Give me PR or Add issue with data.json<br>
- Third, There's no third.
### Build contribute tools
```
$ go build add-tool.go
$ go build distribute-readme.go
``` ```
### Add common tools And if you want to add an install / update script for whw-tools, please open data.json and fill out the additional parts.
in `WebHackersWeapons` directory ![1416](https://user-images.githubusercontent.com/13212227/98445636-0173b480-215c-11eb-8390-5dca78e0f79b.png)
```
$ ./add-tool -url https://github.com/hahwul/s3reverse ### Second, Give me PR or Add issue with data.json<br>
``` ![1415](https://user-images.githubusercontent.com/13212227/98445635-00db1e00-215c-11eb-8a59-d7d21dd98db0.png)
### Add Burp Suite or ZAP Extensions
in `WebHackersWeapons/Burp and ZAP Extensions` directory ### Third, There's no third.
```
$ ../add-tool -url https://github.com/nccgroup/BurpSuiteLoggerPlusPlus
```
### Asciinema video ### Asciinema video
[![asciicast](https://asciinema.org/a/318456.svg)](https://asciinema.org/a/318456) [![asciicast](https://asciinema.org/a/318456.svg)](https://asciinema.org/a/318456)
## Distribute (for me) ## Add Other type tools
(`Burp Suite or ZAP Extensions`, `Bookmarklets`, `Browser Extensions`)
### First, add-tool in
```
$ cd {Other directory}
```
e.g : `./WebHackersWeapons/Burp and ZAP Extensions`, `./Bookmarklets`, `./Browser Extensions`
```
$ ../add-tool -url https://github.com/nccgroup/BurpSuiteLoggerPlusPlus
```
### Second, PR data.json
## Distruibute (only for me)
### Distribute to common tools ### Distribute to common tools
``` ```
$ ./distribute-readme $ ./distribute-readme
=> show new README file => show new README file
``` ```
### Distribute to Burp Suite or ZAP Extensions ### Distribute to Another directory
``` ```
$ ../distribute-readme $ ../distribute-readme
=> show new README file in Burp Suite or ZAP Extensions => show new README file in Burp Suite or ZAP Extensions