gobysec / Goby

Attack surface mapping
https://gobies.org/
1.36k stars 149 forks source link

无法正常运行 #439

Open K8723 opened 11 months ago

K8723 commented 11 months ago

2023/07/21 14:49:00 read user rule file ok: 0 2023/07/21 14:49:00 Version: v2.5.3 beta 2023/07/21 14:49:00 [WARNING] validate license failed: runtime error: index out of range [-1] 2023/07/21 14:49:01 API Server listen at 127.0.0.1:8361 2023/07/21 14:49:02 127.0.0.1:52025 GET /api/v1/live 2023/07/21 14:49:02 127.0.0.1:52026 POST /api/v1/setEnvi 2023/07/21 14:49:02 127.0.0.1:52027 GET /api/v1/getEnvi?field=chromePath,dataIntegrity,datadir,dir,midKey,proxyServer,userRuleSize,vulVersion 2023/07/21 14:49:02 127.0.0.1:52028 GET /api/v1/getEnvi?field=ip 2023/07/21 14:49:02 127.0.0.1:52029 GET /api/v1/getEnvi?field=gid,key,godserver 2023/07/21 14:49:02 127.0.0.1:52030 POST /api/v1/getPOCList 2023/07/21 14:49:02 127.0.0.1:52031 POST /api/v1/getTasks 2023/07/21 14:49:02 127.0.0.1:52033 GET /api/v1/getEnvi?field=licenseInfo,midKey 2023/07/21 14:49:02 [WARNING] validate license failed: runtime error: index out of range [-1] 2023/07/21 14:49:02 [DEBUG] get adapter of device 2023/07/21 14:49:02 [DEBUG] devices: [{\Device\NPF_Loopback Adapter for loopback traffic capture 55 [{::1 ffffffffffffffffffffffffffffffff } {127.0.0.1 ff000000 }]}] 2023/07/21 14:49:03 scan is local host, rmac is 0xffffffffffff 2023/07/21 14:49:05 127.0.0.1:52035 POST /api/v1/getStatisticsData 2023/07/21 14:49:06 127.0.0.1:52036 POST /api/v1/resumeScan 2023/07/21 14:49:06 goby.Start.LoadCustomRules() err: open D:\T00LS\web\goby-win-x64-2.5.3-Community\goby-win-x64-2.5.3\golib\rules\user\cdn-header-rule.json: The system cannot find the file specified. 2023/07/21 14:49:06 goby_config BlackTargets: 2023/07/21 14:49:06 scan 7,11,13,15,17,19,20,21,22,23,25,26,30,31,32,36,37,38,43,49,51,U:53,53,67,U:67,U:69,70,79,80,U:80,81,82,83,84,85,86,87,88,U:88,89,98,102,104,110,111,U:111,U:113,113,119,121,U:123,135,U:137,138,139,143,U:161,U:162,175,U:177,179,199,211,264,280,311,389,U:391,U:427,443,U:443,444,445,449,465,U:500,500,502,503,505,512,515,U:520,U:523,540,548,554,564,587,620,U:623,U:626,631,636,646,666,U:705,771,777,789,800,801,808,U:853,873,876,880,888,898,900,901,902,990,992,993,994,995,999,1000,1010,1022,1023,1024,1025,1026,1027,U:1027,1042,1080,1099,1177,U:1194,1194,1200,1201,1212,1214,1234,1241,1248,1260,1290,1302,1311,1314,1344,1389,1400,1433,U:1434,1443,1471,1494,1503,U:1505,1505,1515,1521,1554,1588,U:1604,1610,U:1645,U:1701,1720,1723,1741,1777,U:1812,1830,1863,1880,1883,U:1900,1901,1911,1935,1947,1962,1967,1991,U:1993,2000,2001,2002,2010,2020,2022,2030,2049,2051,2052,2053,2055,2064,2077,2080,2082,2083,U:2083,2086,2087,U:2094,2095,2096,2121,U:2123,U:2152,2154,2160,2181,2222,2223,2252,2306,2323,2332,U:2362,2375,2376,2379,2396,2401,2404,2406,U:2424,2424,U:2425,U:2427,2443,2455,2480,2501,2525,2600,2601,2604,2628,U:2638,2715,2809,2869,3000,3001,3002,3005,3050,3052,3075,3097,3128,3260,3280,U:3283,3288,3299,3306,3307,3310,3311,3312,U:3333,3333,3337,3352,3372,3388,3389,3390,U:3391,3443,3460,U:3478,3520,3522,3523,3524,3525,3528,3531,3541,3542,3567,U:3671,3689,3690,U:3702,3749,3780,U:3784,3790,4000,4022,4040,U:4050,4063,4064,U:4070,4155,4200,4300,4369,4430,4433,4440,4443,4444,U:4500,4505,4506,4567,4660,4664,4711,4712,4730,4782,4786,U:4800,4840,4842,4848,4880,4911,4949,5000,U:5000,5001,U:5001,5002,U:5002,5003,U:5004,5004,5005,U:5005,U:5006,5006,5007,U:5007,5008,U:5008,5009,5010,5038,U:5050,5050,5051,5060,U:5060,5061,U:5061,5080,5084,U:5093,U:5094,U:5095,5111,5222,5258,5269,5280,U:5351,U:5353,5357,5400,U:5405,5427,5432,5443,5550,U:5554,5555,5560,5577,5598,5631,U:5632,5672,U:5673,5678,U:5683,5800,5801,5802,5820,5900,5901,5902,5903,5938,5984,5985,5986,6000,6001,6002,U:6002,6003,U:6003,6004,6005,U:6006,6006,6007,6008,6009,6010,6060,U:6060,6068,6080,6082,6103,6346,6363,6379,6443,6488,U:6502,6544,6560,6565,6581,6588,6590,6600,6664,6665,6666,6667,6668,6669,6697,6699,6780,6782,6868,U:6881,U:6969,6998,U:7000,7000,7001,U:7001,7002,U:7003,7003,7004,U:7005,7005,7007,7010,7014,7070,7071,7077,7080,7100,7144,7145,7170,7171,7180,7187,7199,7272,7288,7382,7401,7402,7443,7474,7479,7493,7500,7537,7547,7548,7634,7657,7676,7776,7777,7778,7779,7780,7788,7911,8000,8001,8002,U:8002,8003,8004,8005,8006,8007,8008,8009,8010,8020,8025,8030,8032,8040,8058,8060,8069,8080,8081,8082,8083,8084,8085,8086,8087,8088,8089,8090,8091,8092,8093,8094,8095,8096,8097,8098,8099,8111,8112,8118,8123,8125,8126,8129,8138,8139,8140,8159,8161,8181,8182,8194,8200,8222,8291,8332,8333,8334,8351,8377,8378,8388,8443,8444,8480,8500,8529,8545,8546,8554,8567,U:8600,8649,8686,8688,8765,8800,8834,8880,8881,8882,8883,8884,8885,8886,8887,U:8888,8888,8889,8890,8899,8983,8999,9000,U:9000,9001,9002,9003,9004,9005,9006,9007,9008,9009,9010,U:9011,9030,9042,9050,9051,9080,9083,9090,9091,9100,U:9100,9151,9191,9200,9229,9292,9295,9300,9306,9333,9334,9418,9443,9444,9446,9527,9530,9595,U:9600,9653,9668,9700,9711,9801,9864,9869,9870,9876,9943,9944,9981,9997,9999,10000,U:10000,U:10001,10001,10003,10005,10030,10035,10162,10243,10250,10255,10332,10333,10389,10443,10554,10909,10911,10912,11001,U:11211,11211,11300,11310,11371,11965,12000,12300,12345,12999,13579,13666,13720,13722,14000,14147,14265,14443,14534,15000,16000,16010,16030,16922,16923,16992,16993,17000,U:17185,17988,18000,18001,18080,18081,18086,18245,18246,18264,19150,19888,19999,U:20000,20000,20005,20332,20547,20880,22105,22222,22335,23023,23424,25000,25010,25105,25565,26214,26470,U:27015,27015,27016,27017,28017,28080,U:28784,29876,29999,30001,30005,U:30310,U:30311,U:30312,U:30313,U:30718,31337,32400,U:32412,U:32414,U:32768,32770,32771,32773,33338,U:33848,33890,34567,34599,U:34962,U:34963,U:34964,U:37020,37215,37777,U:37810,40000,40001,41795,42873,44158,U:44818,44818,45554,U:47808,U:48899,49151,49152,49153,49154,49155,49156,49157,49158,49159,49664,49665,49666,49667,49668,49669,49670,49671,49672,49673,49674,50000,50050,50060,50070,50075,50090,50100,50111,51106,52869,U:53413,55442,55553,55555,U:59110,60001,60010,60030,60443,61613,61616,62078,64738,U:64738 192.168.149.130 2023/07/21 14:49:06 start port scanner: totalSize: 809, rate: 100, connectionSize: 100, connectTimeout: 6s, retryTimes: 0, Random: true, Seed: 1689922095200849100, ScanOffset: 0, ScanICMP: false, CheckAliveMode: 0 2023/07/21 14:49:06 pcap version: Npcap version 1.71, based on libpcap version 1.10.2-PRE-GIT 2023/07/21 14:49:06 127.0.0.1:52037 POST /api/v1/getProgress 2023/07/21 14:49:06 found device from route table for 192.168.149.130: 2023/07/21 14:49:06 [DEBUG] get adapter of device 2023/07/21 14:49:06 [DEBUG] devices: [{\Device\NPF_Loopback Adapter for loopback traffic capture 55 [{::1 ffffffffffffffffffffffffffffffff } {127.0.0.1 ff000000 }]}] 2023/07/21 14:49:06 scan is local host, rmac is 0xffffffffffff 2023/07/21 14:49:06 select adapter of to send packets: &{\Device\NPF_Loopback 127.0.0.1 [::1] {127.0.0.1 ff000000} ff000000 ff:ff:ff:ff:ff:ff Adapter for loopback traffic capture ff:ff:ff:ff:ff:ff} 2023/07/21 14:49:06 could not create: Error opening adapter: ϵͳ�Ҳ���ָ����·���� (3)

cdprf commented 9 months ago

i have same problem with you.

2023/09/21 19:00:38 127.0.0.1:65398 POST /api/v1/getTasks
2023/09/21 19:01:03 127.0.0.1:65432 POST /api/v1/getStatisticsData
2023/09/21 19:01:06 127.0.0.1:65439 POST /api/v1/getStatisticsData
2023/09/21 19:01:06 127.0.0.1:65441 POST /api/v1/getValueCategory
2023/09/21 19:01:06 127.0.0.1:65440 POST /api/v1/assetSearch
2023/09/21 19:01:10 127.0.0.1:65447 POST /api/v1/assetSearch
2023/09/21 19:01:10 127.0.0.1:65448 POST /api/v1/getValueCategory
2023/09/21 19:01:13 127.0.0.1:65454 POST /api/v1/getFids
2023/09/21 19:01:13 127.0.0.1:65455 POST /api/v1/getFids
2023/09/21 19:01:15 127.0.0.1:65459 POST /api/v1/getFids
2023/09/21 19:01:16 127.0.0.1:65461 POST /api/v1/getStatisticsData
2023/09/21 19:01:16 127.0.0.1:65462 POST /api/v1/assetSearch
2023/09/21 19:01:16 127.0.0.1:65463 POST /api/v1/getValueCategory
2023/09/21 19:01:17 127.0.0.1:65467 POST /api/v1/getStatisticsData
2023/09/21 19:01:20 127.0.0.1:65472 POST /api/v1/getStatisticsData
2023/09/21 19:01:20 127.0.0.1:65473 POST /api/v1/assetSearch
2023/09/21 19:01:20 127.0.0.1:65475 POST /api/v1/getValueCategory
2023/09/21 19:01:21 127.0.0.1:65477 POST /api/v1/getStatisticsData
2023/09/21 19:01:28 127.0.0.1:65488 POST /api/v1/resumeScan
2023/09/21 19:01:28 goby.Start.LoadCustomRules() err: open C:\Portables\Security\goby\golib\rules\user\cdn-header-rule.json: The system cannot find the file specified. 2023/09/21 19:01:28 127.0.0.1:65490 POST /api/v1/getProgress
2023/09/21 19:01:32 [DEBUG] fetch mac address: \Device\NPF{EAB2262D-9AB1-5975-7D92-334D06F4972B} 45:00:00:1f:94:4e 2023/09/21 19:01:32 [DEBUG] close pcap handler for getGatewayMac 2023/09/21 19:01:32 select adapter of to send packets: &{\Device\NPF{EAB2262D-9AB1-5975-7D92-334D06F4972B} 10.2.0.2 [] {10.2.0.2 ffffffff} ffffffff WireGuard Tunnel 45:00:00:1f:94:4e} 2023/09/21 19:01:32 port scanner is ready 2023/09/21 19:01:32 routine-recv start 2023/09/21 19:01:32 start first round ARP 2023/09/21 19:01:32 first round ARP done 2023/09/21 19:01:33 3.112s 0/27482 (0.00% N/A left); send: 0 0.00 pkt/s (0.00 pkt/s avg); recv: 0 0.00 pkt/s (0.00 pkt/s avg) 2023/09/21 19:01:33 start sending packets 2023/09/21 19:01:33 [WARNING] Serialize failed: invalid src MAC: 2023/09/21 19:01:33 routine-send out panic: runtime error: index out of range [0] with length 0

goroutine 1263 [running]: github.com/google/gopacket/pcap.(Handle).pcapSendpacket(0xc00497e660?, {0x0?, 0x1f?, 0x0?}) github.com/google/gopacket@v1.1.20-0.20210429153827-3eaba0894325/pcap/pcap_windows.go:658 +0x76 github.com/google/gopacket/pcap.(Handle).WritePacketData(...) github.com/google/gopacket@v1.1.20-0.20210429153827-3eaba0894325/pcap/pcap.go:696 git.gobies.org/goby/portscanner/pcapsend.(PcapSender).sendUDP(0xc006ab3320, 0xb95c0374, 0x66d) git.gobies.org/goby/portscanner@v0.0.6/pcapsend/send.go:1165 +0x20f git.gobies.org/goby/portscanner/pcapsend.(PcapSender).SendPackets(0xc006ab3320, {0x38e0bf0, 0xc006ba8940}, 0x0?, 0x0?, 0x0?) git.gobies.org/goby/portscanner@v0.0.6/pcapsend/send.go:1676 +0x74a created by git.gobies.org/goby/portscanner.(*PortScanner).startPcapScan git.gobies.org/goby/portscanner@v0.0.6/portscanner.go:219 +0x28a

gobysec commented 9 months ago

您可以联系微信号:gobyteam发送一下您详细日志,为您定位问题