Skip to content

Commit

Permalink
删除elasticsearchScan,用yml poc代替
Browse files Browse the repository at this point in the history
  • Loading branch information
shadow1ng committed May 6, 2021
1 parent 400f437 commit 9aba1c8
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 62 deletions.
19 changes: 9 additions & 10 deletions Plugins/base.go
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
package Plugins

var PluginList = map[string]interface{}{
"21": FtpScan,
"22": SshScan,
"135": Findnet,
"139": NetBIOS,
"445": SmbScan,
"1433": MssqlScan,
"3306": MysqlScan,
"5432": PostgresScan,
"6379": RedisScan,
//"9200": elasticsearchScan,
"21": FtpScan,
"22": SshScan,
"135": Findnet,
"139": NetBIOS,
"445": SmbScan,
"1433": MssqlScan,
"3306": MysqlScan,
"5432": PostgresScan,
"6379": RedisScan,
"11211": MemcachedScan,
"27017": MongodbScan,
"1000001": MS17010,
Expand Down
45 changes: 0 additions & 45 deletions Plugins/elasticsearch.go

This file was deleted.

13 changes: 6 additions & 7 deletions common/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,12 @@ var PORTList = map[string]int{
"ms17010": 1000001,
"cve20200796": 1000002,
"web": 1000003,
//"elastic": 9200,
"findnet": 135,
"netbios": 139,
"all": 0,
"portscan": 0,
"icmp": 0,
"main": 0,
"findnet": 135,
"netbios": 139,
"all": 0,
"portscan": 0,
"icmp": 0,
"main": 0,
}

var Outputfile = getpath() + "result.txt"
Expand Down

0 comments on commit 9aba1c8

Please sign in to comment.