Skip to content

Commit

Permalink
新增端口
Browse files Browse the repository at this point in the history
  • Loading branch information
L-codes committed Dec 18, 2023
1 parent 3a11173 commit 7b79b2e
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 11 deletions.
16 changes: 12 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ $ ./mx1014 -r -i targets.txt
wildfly: "9990",
baota: "888,8888",
fastcgi: "9000",
kc_aom: "12580",
kc_aom: "12580,12590",
kibana: "5601",
portainer: "9000",
natshell: "7788",
Expand Down Expand Up @@ -329,8 +329,16 @@ $ ./mx1014 -r -i targets.txt
hashicorp: "8500",
checkpoint: "264",
pcanywhere: "5632",
docker: "2375,2376,2377,4243,5000,10250",
etcd: "2379",
docker: "docker_api,kubectl_proxy,kubectl_manager,kube_apiserver,kube_proxy,kubelet_api,kube_weave,kubeflow_dashboard,etcd",
docker_api: "2375,2376,2377",
kubectl_manager: "10252",
kubectl_proxy: "8080,8081",
kube_apiserver: "6443,8080",
kube_proxy: "10256,31442",
kubelet_api: "4149,10248,10250,10255",
kube_weave: "6781,6782,6783",
kubeflow_dashboard: "8080",
etcd: "2379,2380",
iscsi: "3260",
saprouter: "3299",
distcc: "3632",
Expand All @@ -343,7 +351,7 @@ $ ./mx1014 -r -i targets.txt
rmi: "jboss_rmi,1028,1098,1090,4444,4445,11099,47001,10999,1099",
jndi: "rmi,1000,1001,1100,1101,5001,8083,9999,10001,10999,11099,19001",
jmx: "8093,8686,9010,9011,9012,50500,61616",
jdwp: "5005,8000,8080,8453,45000,45001",
jdwp: "3999,5000,5005,8000,8080,8453,8787-8788,9001,12001-12002,18000,45000,45001",
rlogin: "512,513,514",
glassfish: "4848",
rocketmq: "9876,10909,10911,10912",
Expand Down
22 changes: 15 additions & 7 deletions mx1014/mx1014.go
Original file line number Diff line number Diff line change
Expand Up @@ -625,12 +625,12 @@ var (
hostMap = make(map[string][]string) // rawtarget: hosts
targetFilterCount = make(map[string]int)
portGroup = map[string][]int {
"in": []int{ 21,22,23,25,80,81,82,83,84,85,86,87,88,89,90,109,110,111,115,135,137,138,139,143,161,210,264,389,443,444,445,465,502,512,513,514,515,554,587,593,623,636,800,801,873,880,888,993,995,1000,1001,1024,1026,1028,1080,1090,1098,1099,1100,1101,1111,1158,1352,1433,1434,1443,1521,2000,2001,2049,2100,2121,2181,2222,2375,2376,2377,2525,2888,3000,3001,3128,3260,3268,3269,3299,3306,3307,3308,3339,3389,3632,3690,3888,4243,4369,4430,4433,4443,4444,4445,4446,4447,4457,4712,4786,4848,4990,5000,5001,5003,5005,5432,5480,5555,5556,5601,5632,5672,5800,5858,5900,5901,5985,5986,6000,6001,6002,6003,6080,6379,6443,6588,6666,6868,6888,7000,7001,7002,7003,7004,7005,7006,7007,7008,7009,7010,7070,7071,7080,7088,7443,7777,7788,7848,8000,8001,8002,8003,8004,8005,8006,8007,8008,8009,8010,8011,8012,8013,8014,8015,8016,8017,8018,8019,8020,8021,8022,8023,8024,8025,8026,8027,8028,8029,8030,8040,8041,8042,8050,8060,8066,8069,8070,8075,8080,8081,8082,8083,8084,8085,8086,8087,8088,8089,8090,8091,8092,8093,8094,8095,8096,8097,8098,8099,8100,8101,8102,8103,8104,8105,8106,8107,8108,8109,8110,8111,8161,8180,8181,8182,8200,8282,8363,8383,8443,8453,8480,8485,8500,8554,8761,8787,8800,8848,8866,8873,8880,8881,8882,8883,8884,8885,8886,8887,8888,8889,8890,8899,8900,8983,8989,8999,9000,9001,9002,9003,9004,9005,9006,9007,9008,9009,9010,9043,9080,9081,9082,9083,9090,9092,9099,9200,9229,9300,9443,9848,9849,9875,9876,9990,9999,10000,10001,10080,10250,10443,10800,10909,10911,10912,10999,11099,11211,12580,15672,18080,18090,19001,19888,20880,27017,28017,41414,45000,45001,45566,46888,47001,48620,50010,50020,50070,50075,50090,50470,50475,55555,61616,63790 },
"rce": []int{ 80,139,445,502,512,513,514,515,623,1000,1001,1028,1090,1098,1099,1100,1101,1111,2049,2100,2375,2376,2377,3128,3632,4243,4369,4444,4445,4446,4447,4457,4712,4786,4848,4990,5000,5001,5005,5480,5555,5556,5800,5858,5900,5901,6379,7848,8000,8009,8069,8075,8080,8081,8083,8161,8383,8443,8453,8500,8848,8983,9000,9092,9200,9229,9300,9848,9849,9875,9876,9999,10001,10250,10909,10911,10912,10999,11099,19001,20880,45000,45001,45566,47001,48620,61616,63790 },
"in": []int{ 21,22,23,25,80,81,82,83,84,85,86,87,88,89,90,109,110,111,115,135,137,138,139,143,161,210,264,389,443,444,445,465,502,512,513,514,515,554,587,593,623,636,800,801,873,880,888,993,995,1000,1001,1024,1026,1028,1080,1090,1098,1099,1100,1101,1111,1158,1352,1433,1434,1443,1521,2000,2001,2049,2100,2121,2181,2222,2375,2376,2377,2379,2380,2525,2888,3000,3001,3128,3260,3268,3269,3299,3306,3307,3308,3339,3389,3632,3690,3888,3999,4149,4369,4430,4433,4443,4444,4445,4446,4447,4457,4712,4786,4848,4990,5000,5001,5003,5005,5432,5480,5555,5556,5601,5632,5672,5800,5858,5900,5901,5985,5986,6000,6001,6002,6003,6080,6379,6443,6588,6666,6781,6782,6783,6868,6888,7000,7001,7002,7003,7004,7005,7006,7007,7008,7009,7010,7070,7071,7080,7088,7443,7777,7788,7848,8000,8001,8002,8003,8004,8005,8006,8007,8008,8009,8010,8011,8012,8013,8014,8015,8016,8017,8018,8019,8020,8021,8022,8023,8024,8025,8026,8027,8028,8029,8030,8040,8041,8042,8050,8060,8066,8069,8070,8075,8080,8081,8082,8083,8084,8085,8086,8087,8088,8089,8090,8091,8092,8093,8094,8095,8096,8097,8098,8099,8100,8101,8102,8103,8104,8105,8106,8107,8108,8109,8110,8111,8161,8180,8181,8182,8200,8282,8363,8383,8443,8453,8480,8485,8500,8554,8761,8787,8788,8800,8848,8866,8873,8880,8881,8882,8883,8884,8885,8886,8887,8888,8889,8890,8899,8900,8983,8989,8999,9000,9001,9002,9003,9004,9005,9006,9007,9008,9009,9010,9043,9080,9081,9082,9083,9090,9092,9099,9200,9229,9300,9443,9848,9849,9875,9876,9990,9999,10000,10001,10080,10248,10250,10252,10255,10256,10443,10800,10909,10911,10912,10999,11099,11211,12001,12002,12580,12590,15672,18000,18080,18090,19001,19888,20880,27017,28017,31442,41414,45000,45001,45566,46888,47001,48620,50010,50020,50070,50075,50090,50470,50475,55555,61616,63790 },
"rce": []int{ 80,139,445,502,512,513,514,515,623,1000,1001,1028,1090,1098,1099,1100,1101,1111,2049,2100,2375,2376,2377,2379,2380,3128,3632,3999,4149,4369,4444,4445,4446,4447,4457,4712,4786,4848,4990,5000,5001,5005,5480,5555,5556,5800,5858,5900,5901,6379,6443,6781,6782,6783,7848,8000,8009,8069,8075,8080,8081,8083,8161,8383,8443,8453,8500,8787,8788,8848,8983,9000,9001,9092,9200,9229,9300,9848,9849,9875,9876,9999,10001,10248,10250,10252,10255,10256,10909,10911,10912,10999,11099,12001,12002,18000,19001,20880,31442,45000,45001,45566,47001,48620,61616,63790 },
"info": []int{ 21,22,23,25,109,110,111,115,135,137,138,139,143,161,264,465,554,587,593,873,993,995,1026,1352,2121,2181,2222,2525,2888,3000,3260,3299,3690,3888,5601,5632,5672,8020,8040,8041,8042,8480,8485,8554,9000,9083,19888,41414,46888,50010,50020,50070,50075,50090,50470,50475 },
"brute": []int{ 21,22,23,25,88,109,110,115,139,143,210,389,445,465,554,587,636,873,993,995,1080,1158,1433,1434,1521,2121,2222,2525,3268,3269,3306,3307,3308,3389,5432,5800,5900,5901,5985,5986,6379,8554,11211,27017,28017,63790 },
"web1": []int{ 80,443,8080 },
"web2": []int{ 80,81,82,83,84,85,86,87,88,89,90,443,444,800,801,880,888,1024,1080,1098,1111,1443,2000,2001,3000,3001,3128,3339,4430,4433,4443,4444,4445,4446,4447,4457,5000,5001,5003,5555,5601,5800,6000,6001,6002,6003,6080,6443,6588,6666,6868,6888,7000,7001,7002,7003,7004,7005,7006,7007,7008,7009,7010,7070,7071,7080,7088,7443,7777,7788,7848,8000,8001,8002,8003,8004,8005,8006,8007,8008,8009,8010,8011,8012,8013,8014,8015,8016,8017,8018,8019,8020,8021,8022,8023,8024,8025,8026,8027,8028,8029,8030,8040,8050,8060,8066,8069,8070,8075,8080,8081,8082,8083,8084,8085,8086,8087,8088,8089,8090,8091,8092,8093,8094,8095,8096,8097,8098,8099,8100,8101,8102,8103,8104,8105,8106,8107,8108,8109,8110,8111,8161,8180,8181,8182,8200,8282,8363,8443,8761,8787,8800,8848,8866,8873,8880,8881,8882,8883,8884,8885,8886,8887,8888,8889,8890,8899,8900,8983,8989,8999,9000,9001,9002,9003,9004,9005,9006,9007,9008,9009,9010,9043,9080,9081,9082,9083,9090,9099,9200,9300,9443,9848,9849,9990,9999,10000,10001,10080,10443,10800,12580,15672,18080,18090,45566,47001,55555,61616 },
"web2": []int{ 80,81,82,83,84,85,86,87,88,89,90,443,444,800,801,880,888,1024,1080,1098,1111,1443,2000,2001,3000,3001,3128,3339,4430,4433,4443,4444,4445,4446,4447,4457,5000,5001,5003,5555,5601,5800,6000,6001,6002,6003,6080,6443,6588,6666,6868,6888,7000,7001,7002,7003,7004,7005,7006,7007,7008,7009,7010,7070,7071,7080,7088,7443,7777,7788,7848,8000,8001,8002,8003,8004,8005,8006,8007,8008,8009,8010,8011,8012,8013,8014,8015,8016,8017,8018,8019,8020,8021,8022,8023,8024,8025,8026,8027,8028,8029,8030,8040,8050,8060,8066,8069,8070,8075,8080,8081,8082,8083,8084,8085,8086,8087,8088,8089,8090,8091,8092,8093,8094,8095,8096,8097,8098,8099,8100,8101,8102,8103,8104,8105,8106,8107,8108,8109,8110,8111,8161,8180,8181,8182,8200,8282,8363,8443,8761,8787,8800,8848,8866,8873,8880,8881,8882,8883,8884,8885,8886,8887,8888,8889,8890,8899,8900,8983,8989,8999,9000,9001,9002,9003,9004,9005,9006,9007,9008,9009,9010,9043,9080,9081,9082,9083,9090,9099,9200,9300,9443,9848,9849,9990,9999,10000,10001,10080,10443,10800,12580,12590,15672,18080,18090,45566,47001,55555,61616 },
"iis": []int{ 80,443,47001 },
"jboss": []int{ 80,1098,1111,4444,4445,4446,4447,4457,8080,8083,8443,45566 },
"jboss_rmi": []int{ 1098,4444,4445,8083 },
Expand All @@ -650,7 +650,7 @@ var (
"wildfly": []int{ 9990 },
"baota": []int{ 888,8888 },
"fastcgi": []int{ 9000 },
"kc_aom": []int{ 12580 },
"kc_aom": []int{ 12580,12590 },
"kibana": []int{ 5601 },
"portainer": []int{ 9000 },
"natshell": []int{ 7788 },
Expand Down Expand Up @@ -738,8 +738,16 @@ var (
"hashicorp": []int{ 8500 },
"checkpoint": []int{ 264 },
"pcanywhere": []int{ 5632 },
"docker": []int{ 2375,2376,2377,4243,5000,10250 },
"etcd": []int{ 2379 },
"docker": []int{ 2375,2376,2377,2379,2380,4149,6443,6781,6782,6783,8080,8081,10248,10250,10252,10255,10256,31442 },
"docker_api": []int{ 2375,2376,2377 },
"kubectl_manager": []int{ 10252 },
"kubectl_proxy": []int{ 8080,8081 },
"kube_apiserver": []int{ 6443,8080 },
"kube_proxy": []int{ 10256,31442 },
"kubelet_api": []int{ 4149,10248,10250,10255 },
"kube_weave": []int{ 6781,6782,6783 },
"kubeflow_dashboard": []int{ 8080 },
"etcd": []int{ 2379,2380 },
"iscsi": []int{ 3260 },
"saprouter": []int{ 3299 },
"distcc": []int{ 3632 },
Expand All @@ -752,7 +760,7 @@ var (
"rmi": []int{ 1028,1090,1098,1099,4444,4445,8083,10999,11099,47001 },
"jndi": []int{ 1000,1001,1028,1090,1098,1099,1100,1101,4444,4445,5001,8083,9999,10001,10999,11099,19001,47001 },
"jmx": []int{ 8093,8686,9010,9011,9012,50500,61616 },
"jdwp": []int{ 5005,8000,8080,8453,45000,45001 },
"jdwp": []int{ 3999,5000,5005,8000,8080,8453,8787,8788,9001,12001,12002,18000,45000,45001 },
"rlogin": []int{ 512,513,514 },
"glassfish": []int{ 4848 },
"rocketmq": []int{ 9876,10909,10911,10912 },
Expand Down

0 comments on commit 7b79b2e

Please sign in to comment.