GoOpenDrop
GoOpenDrop copied to clipboard
Not listed in `only contacts` mode
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
- Download XCode 13
- Follow the first two points of this issue
- Click on cert in XCode select export
- decrypt the cert with the commands in the issue above
- compile the airdrop-keychain-extractor
- Run it and it error's out but the
validation_record.cms
is created successfully - Run GoOpenDrop
- Add the AppleID as kontact
- Airdrop via iPhone/iPad/MacBook (With same and different AppleID) and see GoOpenDrop listed but not as "person"
- Also Send from GoOpenDrop to iPhone/iPad/MacBook works in
everyone
but inonly kontacts
i getClient Rejected or Failed, HTTP code: 401
Expected behavior
listed when only kontacts
is selected
Desktop:
- OS: MacOS 11.7.8 MacBook Pro 2013
- Browser safari
- Version 16.51
iPad:
- Device: iPad Air 2
- OS: iOS15.5
- Browser: safari
Smartphone:
- Device: iPhone6
- OS: iOS12.5.7
- Browser: safari
Additional context Wifi Module : Alfa AWUS036ACM
server(PI zero W) output:
pi@pi:~/GoOpenDrop $ sudo out/arm/goopendrop config.json
INFO[0000] Config File: config.json
INFO[0000] Using Wifi Interface: wlan1
WARN[0000] Waiting for AWDL Interface (awdl0) to Start
[GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- using env: export GIN_MODE=release
- using code: gin.SetMode(gin.ReleaseMode)
[GIN-debug] POST /Discover --> goopendrop/awdl.(*AWDLServer).StartWebServer.func1 (3 handlers)
[GIN-debug] HEAD / --> goopendrop/awdl.(*AWDLServer).StartWebServer.func2 (3 handlers)
[GIN-debug] POST /Ask --> goopendrop/awdl.(*AWDLServer).StartWebServer.func3 (3 handlers)
[GIN-debug] POST /Upload --> goopendrop/awdl.(*AWDLServer).StartWebServer.func4 (3 handlers)
[GIN-debug] Listening and serving HTTPS on [fe80::2c0:caff:feb1:ab02%awdl0]:8772
[GIN-debug] [WARNING] You trusted all proxies, this is NOT safe. We recommend you to set a value.
Please check https://pkg.go.dev/github.com/gin-gonic/gin#readme-don-t-trust-all-proxies for details.
INFO[0008] Airdrop Beacons Received from address=13:33:01:88:C4:CF, with rssi=-24
INFO[0010] Found New Device with ip: fe80::a8ba:faff:fea5:94cb and hostname: 8ffe77b0-b90e-4ec5-befa-97bc909eaae6.local., Trying to Discover it...
[GIN] 2023/08/15 - 22:48:10 | 200 | 317µs | | POST "/Discover"
ERRO[0010] Post "https://[fe80::a8ba:faff:fea5:94cb%25awdl0]:8770/Discover": dial tcp [fe80::a8ba:faff:fea5:94cb%awdl0]:8770: connect: connection refused
INFO[0010] Found New Device with ip: fe80::a8ba:faff:fea5:94cb and hostname: 8ffe77b0-b90e-4ec5-befa-97bc909eaae6.local., Trying to Discover it...
ERRO[0010] Post "https://[fe80::a8ba:faff:fea5:94cb%25awdl0]:8770/Discover": dial tcp [fe80::a8ba:faff:fea5:94cb%awdl0]:8770: connect: connection refused
INFO[0041] Airdrop Beacons Received from address=13:33:01:88:C4:CF, with rssi=-36
INFO[0074] Airdrop Beacons Received from address=13:33:01:88:C4:CF, with rssi=-39
INFO[0107] Airdrop Beacons Received from address=13:33:01:88:C4:CF, with rssi=-36
INFO[0122] Found New Device with ip: fe80::a8ba:faff:fea5:94cb and hostname: c87c2c53-da54-4f23-99c8-6a5edec9b418.local., Trying to Discover it...
ERRO[0123] Post "https://[fe80::a8ba:faff:fea5:94cb%25awdl0]:8770/Discover": dial tcp [fe80::a8ba:faff:fea5:94cb%awdl0]:8770: connect: connection refused
INFO[0123] Found New Device with ip: fe80::a8ba:faff:fea5:94cb and hostname: c87c2c53-da54-4f23-99c8-6a5edec9b418.local., Trying to Discover it...
ERRO[0123] Post "https://[fe80::a8ba:faff:fea5:94cb%25awdl0]:8770/Discover": dial tcp [fe80::a8ba:faff:fea5:94cb%awdl0]:8770: connect: connection refused
WARN[0128] Service Time out
INFO[0140] Airdrop Beacons Received from address=13:33:01:88:C4:CF, with rssi=-33
[GIN] 2023/08/15 - 22:50:22 | 200 | 243.986µs | | POST "/Discover"
INFO[0173] Airdrop Beacons Received from address=13:33:01:88:C4:CF, with rssi=-30
INFO[0219] Found New Device with ip: fe80::a8ba:faff:fea5:94cb and hostname: 74acfa02-de53-4f6f-b406-8e44bf943d28.local., Trying to Discover it...
ERRO[0219] Post "https://[fe80::a8ba:faff:fea5:94cb%25awdl0]:8770/Discover": dial tcp [fe80::a8ba:faff:fea5:94cb%awdl0]:8770: connect: connection refused
INFO[0256] Found New Device with ip: fe80::a8ba:faff:fea5:94cb and hostname: 8e5e8054-dbef-46bc-9ff2-ca4776fbe509.local., Trying to Discover it...
ERRO[0256] Post "https://[fe80::a8ba:faff:fea5:94cb%25awdl0]:8770/Discover": dial tcp [fe80::a8ba:faff:fea5:94cb%awdl0]:8770: connect: connection refused
INFO[0256] Found New Device with ip: fe80::a8ba:faff:fea5:94cb and hostname: 8e5e8054-dbef-46bc-9ff2-ca4776fbe509.local., Trying to Discover it...
ERRO[0256] Post "https://[fe80::a8ba:faff:fea5:94cb%25awdl0]:8770/Discover": dial tcp [fe80::a8ba:faff:fea5:94cb%awdl0]:8770: connect: connection refused
WARN[0260] Service Time out
INFO[0276] Airdrop Beacons Received from address=13:33:01:88:C4:CF, with rssi=-35
[GIN] 2023/08/15 - 22:52:38 | 200 | 200.001µs | | POST "/Discover"
INFO[0333] Accepted File Transfer Request From: iPad
[GIN] 2023/08/15 - 22:53:33 | 200 | 209.678327ms | | POST "/Ask"
INFO[0334] Downlading File From: iPad
[GIN] 2023/08/15 - 22:53:37 | 200 | 3.371812797s | | POST "/Upload"
INFO[0338] Received New File from: iPad, with IP: . File size: 1179025
INFO[0338] Airdrop Beacons Received from address=13:33:01:88:C4:CF, with rssi=-36
INFO[0371] Airdrop Beacons Received from address=13:33:01:88:C4:CF, with rssi=-27
WARN[0396] Service Time out
INFO[0404] Airdrop Beacons Received from address=13:33:01:88:C4:CF, with rssi=-33
INFO[0517] Airdrop Beacons Received from address=38:66:A2:40:63:4D, with rssi=-67
WARN[0524] Service Time out
if i set Airdrop to allow every contact then i get the thumbnail image so it is using the extracted keys but it just rejectes my file if i set it to only contacts
mode