Git Product home page Git Product logo

portbrute's Introduction

介绍

一款跨平台小巧的端口爆破工具,支持爆破FTP/SSH/SMB/MSSQL/MYSQL/POSTGRESQL/MONGOD。

使用说明

​ ip.txt中放入需要爆破的ip+端口,比如 10.10.10.10:3306。 如果不是标准端口,比如3307是MYSQL。写成 10.10.10.10:3307|MYSQL。 其他FTP/SSH/SMB/MSSQL/MYSQL/POSTGRESQL/MONGOD同理

​ Windows/MAC/Linux已经打包好了,分别对应(PortBruteWin.exe/PortBruteMac/PortBruteLinux)。无论是内网渗透,还是日常使用,直接下载下来就可以直接用。

image

快速开始

先把要爆破的资产放入ip.txt中,直接运行下面命令开始爆破。 结果会在当前目录生成res.txt

PortBruteWin.exe

已完成

  • 支持多协议 FTP/SSH/SMB/MSSQL/MYSQL/POSTGRESQL/MONGOD
  • 支持非常规端口
  • 支持user:pass 字典模式 [2020-0829]
  • 爆破时看到进度,增加了跑马灯 [2020-0926]

待完成

  • 自动根据爆破的协议去选择不同的字典,更加方便

欢迎加好友

image

portbrute's People

Contributors

awake1t avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

portbrute's Issues

几点建议

1.建议增加扫描IP段的识别方式,例如:192.168.1.0/24
2.建议增加命令行直接指定用户名和密码的方式,例如:-u root -p root
3.建议增加指定协议参数,例如:-x ssh

不支持树霉派系统

系统架构

Linux raspberrypi 5.4.83-v7l+ #1379 SMP Mon Dec 14 13:11:54 GMT 2020 armv7l GNU/Linux

错误信息

zsh: 可执行文件格式错误: ./PortBruteLinux

  • 希望可以支持arm架构的系统,谢谢~ mua~

[新特性建议]

能不能加入账号与密码一一对应进行爆破的模式,类似输入username:password这样的格式,对应username和password进行爆破。因为这种情况在内网中也比较常用。

爆破准确率存在问题

我爆破ssh,拿一个比较大的字典,一万行左右。
爆破测试发现完全爆不出来
密码是123456

panic: runtime error: invalid memory address or nil pointer dereference

        panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x30 pc=0x7f3e82]

goroutine 33974 [running]:
golang.org/x/crypto/ssh.(*Session).Close(0x0, 0x0, 0x0)
        /Users/lan/go/pkg/mod/golang.org/x/[email protected]/ssh/session.go:156 +0x22
panic(0x8af120, 0xdb1690)
        /usr/local/go/src/runtime/panic.go:967 +0x15d
golang.org/x/crypto/ssh.(*Session).Start(0x0, 0x9348b7, 0x9, 0x9de4c0, 0xc0fcedb9f0)
        /Users/lan/go/pkg/mod/golang.org/x/[email protected]/ssh/session.go:279 +0x26
golang.org/x/crypto/ssh.(*Session).Run(0x0, 0x9348b7, 0x9, 0xc0fcedb9f0, 0xc085babd70)
        /Users/lan/go/pkg/mod/golang.org/x/[email protected]/ssh/session.go:310 +0x3f
PortBrute/plugins.ScanSsh(0xc0004150c0, 0xc, 0x94f89c, 0x2, 0x932188, 0x0, 0x932188, 0x0, 0x0, 0x0, ...)
        /Users/lan/tools/git_tools/awake1t/PortBrute/plugins/ssh.go:27 +0x2eb
PortBrute/brute.runBrute(0xc00005c300, 0xc017f346c0)
        /Users/lan/tools/git_tools/awake1t/PortBrute/brute/brute.go:57 +0x3a7
created by PortBrute/brute.RunTask
        /Users/lan/tools/git_tools/awake1t/PortBrute/brute/brute.go:79 +0xe0

我的swap还有剩余,但是他自己崩溃了

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.