mirror of
https://github.com/shadow1ng/fscan.git
synced 2025-05-07 03:11:30 +00:00
update
This commit is contained in:
parent
936c1f5395
commit
f3b0c4a6d2
@ -126,9 +126,6 @@ func MS17010Scan(info *common.HostInfo) error {
|
||||
//} else{fmt.Printf("\033[33m%s\tMS17-010\t(%s)\033[0m\n", ip, os)}
|
||||
result := fmt.Sprintf("[+] %s\tMS17-010\t(%s)", ip, os)
|
||||
common.LogSuccess(result)
|
||||
if common.SC != "" {
|
||||
MS17010EXP(info)
|
||||
}
|
||||
// detect present of DOUBLEPULSAR SMB implant
|
||||
trans2SessionSetupRequest[28] = treeID[0]
|
||||
trans2SessionSetupRequest[29] = treeID[1]
|
||||
@ -144,7 +141,6 @@ func MS17010Scan(info *common.HostInfo) error {
|
||||
}
|
||||
|
||||
if reply[34] == 0x51 {
|
||||
//fmt.Printf("DOUBLEPULSAR SMB IMPLANT in %s\n", ip)
|
||||
result := fmt.Sprintf("[+] %s has DOUBLEPULSAR SMB IMPLANT", ip)
|
||||
common.LogSuccess(result)
|
||||
}
|
||||
|
@ -48,6 +48,5 @@ func Flag(Info *HostInfo) {
|
||||
flag.StringVar(&Pocinfo.Cookie, "cookie", "", "set poc cookie")
|
||||
flag.Int64Var(&Pocinfo.Timeout, "wt", 5, "Set web timeout")
|
||||
flag.IntVar(&Pocinfo.Num, "num", 20, "poc rate")
|
||||
flag.StringVar(&SC, "sc", "", "ms17 sc,as -sc x86add -sc x64add")
|
||||
flag.Parse()
|
||||
}
|
||||
|
4
go.mod
4
go.mod
@ -7,10 +7,12 @@ require (
|
||||
github.com/go-sql-driver/mysql v1.6.0
|
||||
github.com/golang/protobuf v1.3.4
|
||||
github.com/google/cel-go v0.6.0
|
||||
github.com/hirochachacha/go-smb2 v1.0.10
|
||||
github.com/jlaffaye/ftp v0.0.0-20210307004419-5d4190119067
|
||||
github.com/lib/pq v1.10.1
|
||||
github.com/saintfish/chardet v0.0.0-20120816061221-3af4cd4741ca
|
||||
github.com/stacktitan/smb v0.0.0-20190531122847-da9a425dceb8
|
||||
golang.org/x/crypto v0.0.0-20190325154230-a5d413f7728c
|
||||
golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de
|
||||
golang.org/x/net v0.0.0-20200301022130-244492dfa37a
|
||||
golang.org/x/text v0.3.2
|
||||
google.golang.org/genproto v0.0.0-20200416231807-8751e049a2a0
|
||||
|
Loading…
x
Reference in New Issue
Block a user