GithubHelp home page GithubHelp logo

x-crack's Issues

建议增加功能和改进

  1. 希望增加一个svn爆破功能,很多情况还是有大部人在使用svn服务。

  2. 希望能改进保存功能或其他方法保存结果【在使用中一般都会选择速度优先,在大范围测试中不考虑线程和机器配置(默认线程)往往会跑着跑着就机器就爆掉了。已经爆破出来的结果也没有及时保存。】

爆破准确率存在问题

我拿一个大字典进行测试,1万行的字典。
密码是123456
我测试了线程30、50、100、200、默认
发现当123456在前几十行的时候,可以爆破出来。
放在后几千行以后,就不管线程是多少,都爆破不出来了。
我的ssh没做登录失败处理,完全默认状态。

gosnmp包报错

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]#

waitTimeout()不起作用

任务队列超时机制的函数似乎不起作用,如下就会一直卡在1%的地方,想问问解决办法。
image

运行报错

./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

能不能针对同一个ip同一个服务优化扫描

如果针对同一个ip的同一个服务,一个用户名,有很多个密码,目前的逻辑开启扫描之后,需要等到所有的密码扫描任务结束。

能不能在其中一个密码扫描成功之后,其他密码的扫描任务都停止?

无法导入包

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

麻烦指导一下,怎么能跑起来,谢谢

[root@localhost x-crack-master]# go test -v plugins/ssh_test.go
go: downloading github.com/soniah/gosnmp v0.0.0-20190109014816-922fbec967ca

command-line-arguments

/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]#

检查了几遍依赖包 重新go get几次 还是没能成功部署

sh build.sh 报错
go build x-crack.go 报错

这些依赖包我重复go get几次也还是不行,不知道大大能不能弄个一键?

sh build.sh

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

go build x-crack.go

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"

cpu占用过大

实测试 跑postgresql 超过50个线程就cpu占用过大被k了

Very Nice

这个工具厉害啊,不仅运行不了还一堆误报,强烈推荐使用!!!

数据库连接问题

本地测试时爆破sqlserver弱口令,存在弱口令但无法识别,mysql也同样。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.