Given an array of network log timestamps and IP addresses, write a function to detect potential brute-force attacks within a specific time window.