Skip to content

Commit

Permalink
release v1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hahwul committed Jan 25, 2022
1 parent d2ac8ae commit 06896dc
Show file tree
Hide file tree
Showing 10 changed files with 678 additions and 81 deletions.
2 changes: 0 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ builds:
goarch: 386
- goos: windows
goarch: arm
- goos: windows
goarch: arm64

checksum:
name_template: "{{ .ProjectName }}_checksums.txt"
Expand Down
53 changes: 34 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,34 @@
<br>
<a href=""><img src="https://user-images.githubusercontent.com/13212227/90962250-b72e5000-e4e9-11ea-8c42-75e9d0d799be.jpg" width="100%"></a>
<br>
MZAP
<br>
<img src="https://img.shields.io/github/v/release/hahwul/mzap?style=flat">
<a href="https://snapcraft.io/mzap"><img src="https://snapcraft.io/mzap/badge.svg" /></a>
<img src="https://img.shields.io/github/languages/top/hahwul/mzap?style=flat">
<img src="https://app.codacy.com/project/badge/Grade/6c7f7be26bed4673b65001153f004ddd">
<a href="https://goreportcard.com/report/github.com/hahwul/mzap"><img src="https://goreportcard.com/badge/github.com/hahwul/mzap"></a>
<img src="https://github.com/hahwul/mzap/workflows/Go/badge.svg">
<img src="https://github.com/hahwul/mzap/workflows/CodeQL/badge.svg">
<img src="https://github.com/hahwul/mzap/workflows/Docker%20CI/badge.svg">
<a href="https://twitter.com/intent/follow?screen_name=hahwul"><img src="https://img.shields.io/twitter/follow/hahwul?style=flat&logo=twitter"></a>
<a href="https://github.com/hahwul"><img src="https://img.shields.io/github/stars/hahwul?style=flat&logo=github"></a></a>
</h1>
⚡️ Multiple target ZAP Scanning / mzap is a tool for scanning N*N in ZAP.

## Concept
![1414](https://user-images.githubusercontent.com/13212227/90961636-4a18bb80-e4e5-11ea-9913-a573fe748ce4.png)

## Installation
### go-get
### go
go1.17
```
go install github.com/hahwul/mzap@latest
```

go1.16
```
$ go get -u github.com/hahwul/mzap
GO111MODULE=on go get -u github.com/hahwul/mzap
```
### snapcraft
```
$ sudo snap install mzap
sudo snap install mzap
```
### homebrew
```
$ brew tap hahwul/mzap
$ brew install mzap
brew tap hahwul/mzap
brew install mzap
```

## Usage
Expand All @@ -58,11 +55,29 @@ Flags:
```

```
$ mzap spider --urls sample/target.txt
INFO[0000] Start Prefix=/JSON/spider/action/scan/ Size of Target=17
INFO[0000] Added Target="http://testphp.vulnweb.com/" ZAP API="http://localhost:8090"
INFO[0000] Added Target="http://www.hahwul.com" ZAP API="http://localhost:8090"
$ mzap spider --urls sample/target.txt --apis
,/
,'/
,' /
,' /_____,
.'____ ,' MZAP
/ ,' [ Multiple target/agent ZAP scanning ]
/ ,' [ v1.3.0 ] [ by @hahwul ]
/,'
/'
Jan 26 01:12:00.081 [INFO] [spider] start
Jan 26 01:12:00.088 [INFO] [spider] [http://localhost:8090] [http://testphp.vulnweb.com/] added
Jan 26 01:12:00.090 [INFO] [spider] [http://localhost:8090] [https://www.hahwul.com] added
Jan 26 01:12:00.092 [INFO] [spider] [http://localhost:8090] [https://owasp.org] added
Jan 26 01:12:00.095 [INFO] [spider] [http://localhost:8090] [https://www.zaproxy.org] added
Jan 26 01:12:00.098 [INFO] [spider] [http://localhost:8090] [https://portswigger.net] added
Jan 26 01:12:00.101 [INFO] [spider] [http://localhost:8090] [https://www.hackerone.com] added
Jan 26 01:12:00.103 [INFO] [spider] [http://localhost:8090] [https://www.bugcrowd.com] added
Jan 26 01:12:00.106 [INFO] [spider] [http://localhost:8090] [https://dalfox.hahwul.com] added
Jan 26 01:12:00.108 [INFO] [spider] [http://localhost:8090] [https://authz0.hahwul.com] added
```

![1413](https://user-images.githubusercontent.com/13212227/90961424-dd50f180-e4e3-11ea-95cd-08b825a1eeed.png)
![1413](https://user-images.githubusercontent.com/13212227/151013450-985ff38c-5bbf-4a58-b160-58dfebd0bf11.png)
![1414](https://user-images.githubusercontent.com/13212227/90961367-4be17f80-e4e3-11ea-8d9f-68d8ba5d851f.png)
1 change: 0 additions & 1 deletion cmd/stop.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ var stopCmd = &cobra.Command{
Use: "stop (spider/ascan/ajaxspider/all)",
Short: "Stop Scanning",
Run: func(cmd *cobra.Command, args []string) {
fmt.Println("stop called")
if len(args) >= 1 {
if args[0] == "spider" {
zap.StopSpider(apiHosts, options)
Expand Down
26 changes: 14 additions & 12 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,29 @@ module github.com/hahwul/mzap
go 1.17

require (
github.com/hahwul/volt v0.0.0-20220123142348-4d3cce3c6025
github.com/mitchellh/go-homedir v1.1.0
github.com/sirupsen/logrus v1.8.0
github.com/spf13/cobra v1.1.3
github.com/spf13/viper v1.7.1
github.com/sirupsen/logrus v1.8.1
github.com/spf13/cobra v1.3.0
github.com/spf13/viper v1.10.1
)

require (
github.com/fsnotify/fsnotify v1.4.9 // indirect
github.com/antonfisher/nested-logrus-formatter v1.3.1 // indirect
github.com/fsnotify/fsnotify v1.5.1 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/magefile/mage v1.10.0 // indirect
github.com/magiconair/properties v1.8.1 // indirect
github.com/mitchellh/mapstructure v1.3.3 // indirect
github.com/pelletier/go-toml v1.8.0 // indirect
github.com/spf13/afero v1.3.4 // indirect
github.com/spf13/cast v1.3.1 // indirect
github.com/magiconair/properties v1.8.5 // indirect
github.com/mitchellh/mapstructure v1.4.3 // indirect
github.com/pelletier/go-toml v1.9.4 // indirect
github.com/spf13/afero v1.8.0 // indirect
github.com/spf13/cast v1.4.1 // indirect
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/subosito/gotenv v1.2.0 // indirect
golang.org/x/sys v0.0.0-20200821140526-fda516888d29 // indirect
golang.org/x/text v0.3.3 // indirect
gopkg.in/ini.v1 v1.60.0 // indirect
golang.org/x/sys v0.0.0-20220114195835-da31bd327af9 // indirect
golang.org/x/text v0.3.7 // indirect
gopkg.in/ini.v1 v1.66.3 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
)
Loading

0 comments on commit 06896dc

Please sign in to comment.