Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
blacktop committed Sep 8, 2018
1 parent eb38fce commit cf8d4a5
Show file tree
Hide file tree
Showing 33 changed files with 7,305 additions and 31 deletions.
8 changes: 4 additions & 4 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions scan.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ import (
log "github.com/Sirupsen/logrus"
"github.com/fatih/structs"
"github.com/gorilla/mux"
"github.com/malice-plugins/pkgs/database"
"github.com/malice-plugins/pkgs/database/elasticsearch"
"github.com/malice-plugins/pkgs/utils"
"github.com/malice-plugins/pkgs/database"
"github.com/parnurzeal/gorequest"
"github.com/pkg/errors"
"github.com/urfave/cli"
Expand Down Expand Up @@ -175,7 +175,7 @@ func getUpdatedDate() string {
return BuildTime
}
updated, err := ioutil.ReadFile("/opt/malice/UPDATED")
utils.Assert(err)
assert(err)
return string(updated)
}

Expand Down Expand Up @@ -339,10 +339,10 @@ func main() {

if c.Args().Present() {
path, err = filepath.Abs(c.Args().First())
utils.Assert(err)
assert(err)

if _, err := os.Stat(path); os.IsNotExist(err) {
utils.Assert(err)
assert(err)
}

zoner := AvScan(c.Int("timeout"))
Expand Down Expand Up @@ -370,7 +370,7 @@ func main() {
} else {
zoner.Results.MarkDown = ""
zonerJSON, err := json.Marshal(zoner)
utils.Assert(err)
assert(err)
if c.Bool("post") {
request := gorequest.New()
if c.Bool("proxy") {
Expand All @@ -392,5 +392,5 @@ func main() {
}

err := app.Run(os.Args)
utils.Assert(err)
assert(err)
}
1 change: 1 addition & 0 deletions vendor/golang.org/x/sys/unix/mkerrors.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 8 additions & 1 deletion vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

212 changes: 212 additions & 0 deletions vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions vendor/golang.org/x/sys/unix/zerrors_linux_386.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions vendor/golang.org/x/sys/unix/zerrors_linux_arm.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions vendor/golang.org/x/sys/unix/zerrors_linux_mips.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit cf8d4a5

Please sign in to comment.