proabiral / inception

A highly configurable Framework for easy automated web scanning
357 stars 66 forks source link

attempting to install inception results in validator.v10 error #51

Open lyonys opened 3 years ago

lyonys commented 3 years ago

Facing the following error when attempting to install inception

root@fb7fe89f075c:/recon# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.2 LTS
Release:    20.04
Codename:   focal
root@fb7fe89f075c:/recon# go version
go version go1.16.3 linux/amd64
root@fb7fe89f075c:/recon# go get github.com/proabiral/inception
go: downloading github.com/proabiral/inception v0.0.0-20200712135115-94a86ad61254
go: downloading github.com/cheggaaa/pb v1.0.29
go: downloading github.com/cheggaaa/pb/v3 v3.0.8
go: downloading gopkg.in/go-playground/validator.v10 v10.5.0
go: downloading github.com/proabiral/gorequest v0.2.15
go get: gopkg.in/go-playground/validator.v10@none updating to
    gopkg.in/go-playground/validator.v10@v10.5.0: parsing go.mod:
    module declares its path as: github.com/go-playground/validator/v10
            but was required as: gopkg.in/go-playground/validator.v10

Possible error location: https://github.com/proabiral/inception/blob/94a86ad6125471ba417e579597b5a1eb3002a90a/main.go#L15

Suggested Fix: use github.com/go-playground/validator/v10 instead gopkg.in/go-playground/validator.v10

Reference for fix: https://github.com/go-playground/validator/issues/555

jacob2020baklas commented 2 months ago

@lyonys hey bro did you fix the problem or find a better alternatives

geeknik commented 2 months ago

Pretty sure that https://github.com/projectdiscovery/nuclei has replaced this tool. I don't know that @proabiral is keen to update this old codebase. 👍🏻