Skip to content

Commit

Permalink
Fixed bug with darkflare-server that refused to from binding to 0.0.0…
Browse files Browse the repository at this point in the history
….0 or localhost.
  • Loading branch information
doxx authored and doxx committed Dec 3, 2024
1 parent 28dca95 commit d135dfb
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 7 deletions.
14 changes: 7 additions & 7 deletions bin/checksums.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# DarkFlare Binary Checksums
# Generated: Mon Dec 2 19:11:36 UTC 2024
# Generated: Tue Dec 3 13:36:39 UTC 2024

ca157041e045d18e1ea4f7208451a5d1cb8b92ee082a8324952f34ca8efc247a checksums.txt
8a9e0c84cd43aebb216f83a6af4a1cf91e6e44efaa4770a2f106a2ec2b92fc61 checksums.txt
d44d8c23c9c73c6a013daf43a08d904ad3cf454403874e9932bacf00815d0d8f darkflare-client-darwin-amd64
777841f3def9835a533a2fc43755c0b6b092bf988a99a270bb005c5e9b895cb4 darkflare-client-darwin-arm64
2eb95b50e76b63b03ab688b7613d447531a6cfa8cac4aac27446a7dd54b8bb69 darkflare-client-linux-amd64
ff83fae6d5f4e48bc68a63f64af6f9da9b97bdf386256ae279f1dd3dbaa5664c darkflare-client-linux-arm64
8d89d90970549d9acddf3cf1d7f9e83d4deabfb0841616f412f1774a97d7565e darkflare-client-windows-amd64.exe
a767fbe5d3a91f4a6e35a79f5658f8523f8bd2faded821d02f48bb9e1388fe93 darkflare-server-darwin-amd64
a4bc95303318b490d784b4923efade7b9f3e56162810cc0f6a710b2f7a1b59b5 darkflare-server-darwin-arm64
f772e9873827f0b1e7b16a87024d46d32e261aba4f0a890e680e6168c01b0607 darkflare-server-linux-amd64
1f80a538bb1ce45511d3a345d90b201f27e8b34e27ef003cbd081893d59989de darkflare-server-linux-arm64
8cff2f2b5dc3933bb2c4d065cf28c13c5166c2032879fdc072bbf0d0ab83ae97 darkflare-server-windows-amd64.exe
4a8e80ad430d97a55217ab771f2e159f5410767ae0408933970cabaf8f0960d4 darkflare-server-darwin-amd64
d6580b556eefb387433fd5e50d472063ae3680ef84ebb2d68e0a1661a306a173 darkflare-server-darwin-arm64
5e5a845814c612bbf8a5347ad527f9a11b7f9dc6874b966b3c59d7e1d04bf901 darkflare-server-linux-amd64
3673feba98a717fdb6e2aac2c4dd634942f327e799d3340286373a054b45ef66 darkflare-server-linux-arm64
43ec389360dc72deb785c78f10858eb90b3f949c5b493a2b17adee2da8d5e006 darkflare-server-windows-amd64.exe
Binary file modified bin/darkflare-server-darwin-amd64
Binary file not shown.
Binary file modified bin/darkflare-server-darwin-arm64
Binary file not shown.
Binary file modified bin/darkflare-server-linux-amd64
Binary file not shown.
Binary file modified bin/darkflare-server-windows-amd64.exe
Binary file not shown.
4 changes: 4 additions & 0 deletions server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -575,6 +575,10 @@ func main() {
}

func isLocalIP(ip string) bool {
if ip == "0.0.0.0" || ip == "localhost" {
return true
}

ipAddr := net.ParseIP(ip)
if ipAddr == nil {
return false
Expand Down

0 comments on commit d135dfb

Please sign in to comment.