hel10-web / databasetools Goto Github PK
View Code? Open in Web Editor NEW一款用Go语言编写的数据库自动化提权工具,支持Mysql、MSSQL、Postgresql、Oracle、Redis数据库提权、命令执行、爆破以及ssh连接
一款用Go语言编写的数据库自动化提权工具,支持Mysql、MSSQL、Postgresql、Oracle、Redis数据库提权、命令执行、爆破以及ssh连接
./main -mssql -rhost 192.1.1.27 -rport 1433 -ruser sa -pwd "sa" -cli
`
2023/11/23 14:56:10 [-] TLS Handshake failed: tls: server selected unsupported protocol version 301
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x4f3133]
goroutine 1 [running]:
database/sql.(*DB).conn(0x0, {0xbcf5f0, 0xc00011e000}, 0x1)
/usr/local/go/src/database/sql/sql.go:1288 +0x53
database/sql.(*DB).prepare(0xc00014bce8?, {0xbcf5f0, 0xc00011e000}, {0xae712c, 0x11}, 0x0?)
/usr/local/go/src/database/sql/sql.go:1586 +0x45
database/sql.(*DB).PrepareContext(0xc0004260c0?, {0xbcf5f0, 0xc00011e000}, {0xae712c, 0x11})
/usr/local/go/src/database/sql/sql.go:1555 +0x96
database/sql.(*DB).Prepare(...)
/usr/local/go/src/database/sql/sql.go:1576
Databasetools/pac.MssqlCMD({0xae712c?, 0xc00012c010?}, 0x7ffc75725744?)
/root/Databasetools/pac/mssql_cmd.go:15 +0x6e
Databasetools/pac.Help()
/root/Databasetools/pac/help.go:215 +0x926
main.main()
/root/Databasetools/main.go:8 +0x17
`
感觉开发者写的工具非常的实用,是否能够新增一个代理功能,适用于通过代理进入内网后对数据库进一步利用
使用程序爆破mysql结果只能爆出
mysql:(空)
爆出来了后就退出程序了
并且好像最新版的go运行不了这个
go run .\main.go -mssql -rhost 14.23.58.6 -rport 9003 -ruser sa -pwd "xxxc" -cli
报错信息 unable to open tcp connection with host '14.23.58.6:1433': dial tcp 14.23.58.186:1433: connectex: No connection could be made because the target machine actively refused it.
panic: runtime error: invalid memory address or nil pointer dereference
你好,代码写的很不错,我认真学习了好几天 也本地复现了好几天,有一个问题请教一下,如果是爆破什么的,如果网络很卡 超时问题 怎么解决啊?比如postgresql的超时问题
当用户名是sys时,报下面的错误
dpoPool_create user=sys extAuth=0: ORA-28009: connection as SYS should be as SYSDBA or SYSOPER
rt
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.