netxfly / x-crack Goto Github PK
View Code? Open in Web Editor NEWx-crack - Weak password scanner, Support: FTP/SSH/SNMP/MSSQL/MYSQL/PostGreSQL/REDIS/ElasticSearch/MONGODB
x-crack - Weak password scanner, Support: FTP/SSH/SNMP/MSSQL/MYSQL/PostGreSQL/REDIS/ElasticSearch/MONGODB
请问这个地址连接不上如何解决,谢谢,
go: golang.org/x/[email protected]: unrecognized import path "golang.org/x/sys" (https fetch: Get https://golang.org/x/sys?go-get=1: dial tcp 216.239.37.1:443: connect: connection refused)
./x-crack_darwin_amd64 scan -u /Desktop/fuzzDicts/port_pass/smb_pass.txt -p Desktop/fuzzDicts/port_pass/smb_pass.txt -i ip.txt
panic: runtime error: index out of range [1] with length 1
goroutine 1 [running]:
x-crack/util.ReadIpList(0x7ffeefbffbe7, 0x6, 0x0, 0x0, 0x0)
/opt/data/code/golang/src/x-crack/util/file.go:57 +0x823
x-crack/util.Scan(0xc0000c0c60, 0x10100, 0xc0000c0c60)
/opt/data/code/golang/src/x-crack/util/task.go:210 +0x28d
github.com/urfave/cli.HandleAction(0x168a100, 0x17bc070, 0xc0000c0c60, 0xc0000a6600, 0x0)
/opt/data/code/golang/pkg/mod/github.com/urfave/[email protected]/app.go:490 +0xc8
github.com/urfave/cli.Command.Run(0x1790b9b, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x179ef44, 0x1c, 0x0, ...)
/opt/data/code/golang/pkg/mod/github.com/urfave/[email protected]/command.go:210 +0x991
github.com/urfave/cli.(*App).Run(0xc0002fa680, 0xc0000ae000, 0x8, 0x8, 0x0, 0x0)
/opt/data/code/golang/pkg/mod/github.com/urfave/[email protected]/app.go:255 +0x6ab
main.main()
/opt/data/code/golang/src/x-crack/x-crack.go:50 +0x24e
o: extracting cloud.google.com/go v0.36.0
go: extracting golang.org/x/sys v0.0.0-20181029174526-d69651ed3497
build command-line-arguments: cannot load github.com/soniah/gosnmp: zip for github.com/soniah/[email protected] has unexpected file github.com/soniah/[email protected]/.gitignore
mv: cannot stat x-crack': No such file or directory go: downloading github.com/soniah/gosnmp v0.0.0-20190109014816-922fbec967ca build command-line-arguments: cannot load github.com/soniah/gosnmp: zip for github.com/soniah/[email protected] has unexpected file github.com/soniah/[email protected]/.gitignore mv: cannot stat
x-crack': No such file or directory
go: downloading github.com/soniah/gosnmp v0.0.0-20190109014816-922fbec967ca
go: downloading github.com/konsorten/go-windows-terminal-sequences v1.0.1
go: extracting github.com/konsorten/go-windows-terminal-sequences v1.0.1
build command-line-arguments: cannot load github.com/soniah/gosnmp: zip for github.com/soniah/[email protected] has unexpected file github.com/soniah/[email protected]/.gitignore
mv: cannot stat `x-crack.exe': No such file or directory
go: downloading github.com/soniah/gosnmp v0.0.0-20190109014816-922fbec967ca
build command-line-arguments: cannot load github.com/soniah/gosnmp: zip for github.com/soniah/[email protected] has unexpected file github.com/soniah/[email protected]/.gitignore
[root@localhost x-crack-master]#
实测试 跑postgresql 超过50个线程就cpu占用过大被k了
[root@localhost x-crack-master]# go test -v plugins/ssh_test.go
go: downloading github.com/soniah/gosnmp v0.0.0-20190109014816-922fbec967ca
/usr/local/go/src/x-crack-master/models/cache.go:28:2: non-standard import "github.com/patrickmn/go-cache" in standard package "x-crack/models"
FAIL command-line-arguments [setup failed]
[root@localhost x-crack-master]#
如题,-p 接的口令库来自 https://github.com/fuzz-security/SuperWordlist/blob/master/MimiPwds.txt ,使用小的口令库是OK的。
我拿一个大字典进行测试,1万行的字典。
密码是123456
我测试了线程30、50、100、200、默认
发现当123456在前几十行的时候,可以爆破出来。
放在后几千行以后,就不管线程是多少,都爆破不出来了。
我的ssh没做登录失败处理,完全默认状态。
希望增加一个svn爆破功能,很多情况还是有大部人在使用svn服务。
希望能改进保存功能或其他方法保存结果【在使用中一般都会选择速度优先,在大范围测试中不考虑线程和机器配置(默认线程)往往会跑着跑着就机器就爆掉了。已经爆破出来的结果也没有及时保存。】
x-crack.go:31:2: import "github.com/urfave/cli": cannot find package
x-crack.go:33:2: import "x-crack/cmd": cannot find package
sh build.sh 报错
go build x-crack.go 报错
这些依赖包我重复go get几次也还是不行,不知道大大能不能弄个一键?
can't load package: /usr/local/go/src/x-crack/x-crack.go:31:2: non-standard import "github.com/urfave/cli" in standard package "x-crack"
/usr/local/go/src/x-crack/cmd/cmd.go:28:2: non-standard import "github.com/urfave/cli" in standard package "x-crack/cmd"
/usr/local/go/src/x-crack/logger/log.go:28:2: non-standard import "github.com/sirupsen/logrus" in standard package "x-crack/logger"
/usr/local/go/src/x-crack/models/cache.go:28:2: non-standard import "github.com/patrickmn/go-cache" in standard package "x-crack/models"
/usr/local/go/src/x-crack/plugins/mssql.go:28:2: non-standard import "github.com/denisenkom/go-mssqldb" in standard package "x-crack/plugins"
/usr/local/go/src/x-crack/util/task.go:29:2: non-standard import "github.com/sirupsen/logrus" in standard package "x-crack/util"
/usr/local/go/src/x-crack/vars/vars.go:28:2: non-standard import "github.com/patrickmn/go-cache" in standard package "x-crack/vars"
mv: cannot stat ‘x-crack’: No such file or directory
can't load package: /usr/local/go/src/x-crack/x-crack.go:31:2: non-standard import "github.com/urfave/cli" in standard package "x-crack"
/usr/local/go/src/x-crack/cmd/cmd.go:28:2: non-standard import "github.com/urfave/cli" in standard package "x-crack/cmd"
/usr/local/go/src/x-crack/logger/log.go:28:2: non-standard import "github.com/sirupsen/logrus" in standard package "x-crack/logger"
/usr/local/go/src/x-crack/models/cache.go:28:2: non-standard import "github.com/patrickmn/go-cache" in standard package "x-crack/models"
/usr/local/go/src/x-crack/plugins/mssql.go:28:2: non-standard import "github.com/denisenkom/go-mssqldb" in standard package "x-crack/plugins"
/usr/local/go/src/x-crack/util/task.go:29:2: non-standard import "github.com/sirupsen/logrus" in standard package "x-crack/util"
/usr/local/go/src/x-crack/vars/vars.go:28:2: non-standard import "github.com/patrickmn/go-cache" in standard package "x-crack/vars"
如果针对同一个ip的同一个服务,一个用户名,有很多个密码,目前的逻辑开启扫描之后,需要等到所有的密码扫描任务结束。
能不能在其中一个密码扫描成功之后,其他密码的扫描任务都停止?
空密码
来一份linux和win的编译好的,感谢~
编译的时候去掉其他模块 是否能正常编译, 现在这个逻辑已经不能检测mongodb空
这个工具厉害啊,不仅运行不了还一堆误报,强烈推荐使用!!!
本地测试时爆破sqlserver弱口令,存在弱口令但无法识别,mysql也同样。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.