{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":740299455,"defaultBranch":"main","name":"iptools","ownerLogin":"zermus","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2024-01-08T03:58:31.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/155936520?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1706671937.0","currentOid":""},"activityList":{"items":[{"before":"1b042ab74422b8e4cb663c366fa03c66c9a03cfc","after":"51f2d0601353fef83b9d1b4c01bc493226e692b3","ref":"refs/heads/main","pushedAt":"2024-07-04T17:21:16.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zermus","name":"Cody Gee","path":"/zermus","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/155936520?s=80&v=4"},"commit":{"message":"Update subnetcalc.php\n\nAdded Subnet Mask Length in the output","shortMessageHtmlLink":"Update subnetcalc.php"}},{"before":"30f37b5986a84ad3216b908677d61ad3a329781b","after":"1b042ab74422b8e4cb663c366fa03c66c9a03cfc","ref":"refs/heads/main","pushedAt":"2024-01-31T03:33:22.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zermus","name":"Cody Gee","path":"/zermus","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/155936520?s=80&v=4"},"commit":{"message":"Update CHANGELOG","shortMessageHtmlLink":"Update CHANGELOG"}},{"before":"492e9ad0ac2f40b6dc7caa424d5ad7b89d14664c","after":"30f37b5986a84ad3216b908677d61ad3a329781b","ref":"refs/heads/main","pushedAt":"2024-01-31T03:29:28.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zermus","name":"Cody Gee","path":"/zermus","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/155936520?s=80&v=4"},"commit":{"message":"Update CHANGELOG\n\nUpdating date","shortMessageHtmlLink":"Update CHANGELOG"}},{"before":"626db392ab5f334135fcf0a47ff77ed1366a65b7","after":"492e9ad0ac2f40b6dc7caa424d5ad7b89d14664c","ref":"refs/heads/main","pushedAt":"2024-01-19T23:42:22.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zermus","name":"Cody Gee","path":"/zermus","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/155936520?s=80&v=4"},"commit":{"message":"Update subnetcalc-ipv6.php\n\nRemoved initial \"Error\" on page.","shortMessageHtmlLink":"Update subnetcalc-ipv6.php"}},{"before":"71736c5ad3f135d6b761eceb631dcb2ebdd17866","after":"626db392ab5f334135fcf0a47ff77ed1366a65b7","ref":"refs/heads/main","pushedAt":"2024-01-19T23:27:16.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zermus","name":"Cody Gee","path":"/zermus","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/155936520?s=80&v=4"},"commit":{"message":"Update CHANGELOG\n\nAdded NSLOOKUP to initial release package.","shortMessageHtmlLink":"Update CHANGELOG"}},{"before":"86db1ba248bd18104a01f3a7087fad8f6488a3f3","after":"71736c5ad3f135d6b761eceb631dcb2ebdd17866","ref":"refs/heads/main","pushedAt":"2024-01-19T23:26:22.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zermus","name":"Cody Gee","path":"/zermus","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/155936520?s=80&v=4"},"commit":{"message":"Update README\n\nadded NSLOOKUP to README","shortMessageHtmlLink":"Update README"}},{"before":"4b4692ab559c2c9fc065bc1273fd6117dfbafc5c","after":"86db1ba248bd18104a01f3a7087fad8f6488a3f3","ref":"refs/heads/main","pushedAt":"2024-01-19T23:23:05.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zermus","name":"Cody Gee","path":"/zermus","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/155936520?s=80&v=4"},"commit":{"message":"Create nslookup.php\n\nnslookup.php initial release","shortMessageHtmlLink":"Create nslookup.php"}},{"before":"2ed1eb6bea27aff8d8e1c2e7f1adb2d17eeb2f3b","after":"4b4692ab559c2c9fc065bc1273fd6117dfbafc5c","ref":"refs/heads/main","pushedAt":"2024-01-14T09:55:47.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zermus","name":"Cody Gee","path":"/zermus","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/155936520?s=80&v=4"},"commit":{"message":"Update CHANGELOG\n\nUpdated initial release date.","shortMessageHtmlLink":"Update CHANGELOG"}},{"before":"4a7ecc050d33aa749283dfdc616f5fcded1bc22c","after":"2ed1eb6bea27aff8d8e1c2e7f1adb2d17eeb2f3b","ref":"refs/heads/main","pushedAt":"2024-01-14T09:44:15.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zermus","name":"Cody Gee","path":"/zermus","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/155936520?s=80&v=4"},"commit":{"message":"Update subnetcalc.php\n\nAdded comments","shortMessageHtmlLink":"Update subnetcalc.php"}},{"before":"98e726867a5563ec5319c28f32ff4dc05185ed59","after":"4a7ecc050d33aa749283dfdc616f5fcded1bc22c","ref":"refs/heads/main","pushedAt":"2024-01-14T09:43:52.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zermus","name":"Cody Gee","path":"/zermus","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/155936520?s=80&v=4"},"commit":{"message":"Update whois.php\n\nAdded comments","shortMessageHtmlLink":"Update whois.php"}},{"before":"1acf3bc44398e70c2e2363f63ddddcf537099e41","after":"98e726867a5563ec5319c28f32ff4dc05185ed59","ref":"refs/heads/main","pushedAt":"2024-01-14T09:43:03.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zermus","name":"Cody Gee","path":"/zermus","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/155936520?s=80&v=4"},"commit":{"message":"Update subnetcalc-ipv6.php\n\nAdded comments","shortMessageHtmlLink":"Update subnetcalc-ipv6.php"}},{"before":"9ec7c420027a35c57c396f5863510ec8ba0b4ee8","after":"1acf3bc44398e70c2e2363f63ddddcf537099e41","ref":"refs/heads/main","pushedAt":"2024-01-11T21:55:41.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zermus","name":"Cody Gee","path":"/zermus","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/155936520?s=80&v=4"},"commit":{"message":"Update CHANGELOG\n\nUpdated initial release","shortMessageHtmlLink":"Update CHANGELOG"}},{"before":"bed59990084df7cf5171f2b12540ec789d3c1c84","after":"9ec7c420027a35c57c396f5863510ec8ba0b4ee8","ref":"refs/heads/main","pushedAt":"2024-01-11T21:55:03.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zermus","name":"Cody Gee","path":"/zermus","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/155936520?s=80&v=4"},"commit":{"message":"Update subnetcalc-ipv6.php\n\nCSS adjustments","shortMessageHtmlLink":"Update subnetcalc-ipv6.php"}},{"before":"8d3372ae96c770dd6426ad78a02eca7942c0eea2","after":"bed59990084df7cf5171f2b12540ec789d3c1c84","ref":"refs/heads/main","pushedAt":"2024-01-11T21:52:28.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zermus","name":"Cody Gee","path":"/zermus","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/155936520?s=80&v=4"},"commit":{"message":"Update subnetcalc.php\n\nCSS adjustments","shortMessageHtmlLink":"Update subnetcalc.php"}},{"before":"070aae9776d18386efe046ff9115bb475f216997","after":"8d3372ae96c770dd6426ad78a02eca7942c0eea2","ref":"refs/heads/main","pushedAt":"2024-01-11T21:50:51.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zermus","name":"Cody Gee","path":"/zermus","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/155936520?s=80&v=4"},"commit":{"message":"Update whois.php\n\nCSS clceanup","shortMessageHtmlLink":"Update whois.php"}},{"before":"1399f76a3dbbdabfb9dfa3734fde7350c0163543","after":"070aae9776d18386efe046ff9115bb475f216997","ref":"refs/heads/main","pushedAt":"2024-01-09T19:33:54.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zermus","name":"Cody Gee","path":"/zermus","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/155936520?s=80&v=4"},"commit":{"message":"Delete .github directory","shortMessageHtmlLink":"Delete .github directory"}},{"before":"3646e0003f7fa92a3ed383bd368e0b9d4e1dedc9","after":"1399f76a3dbbdabfb9dfa3734fde7350c0163543","ref":"refs/heads/main","pushedAt":"2024-01-09T19:32:10.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zermus","name":"Cody Gee","path":"/zermus","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/155936520?s=80&v=4"},"commit":{"message":"Create FUNDING.yml","shortMessageHtmlLink":"Create FUNDING.yml"}},{"before":"8afa88ad0f03b3f109c1314ff2a0395c3de298fb","after":"3646e0003f7fa92a3ed383bd368e0b9d4e1dedc9","ref":"refs/heads/main","pushedAt":"2024-01-09T19:29:02.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zermus","name":"Cody Gee","path":"/zermus","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/155936520?s=80&v=4"},"commit":{"message":"Update CHANGELOG\n\nUpdated date.","shortMessageHtmlLink":"Update CHANGELOG"}},{"before":"7562a5517463d771203589e4f9ae837920865c40","after":"8afa88ad0f03b3f109c1314ff2a0395c3de298fb","ref":"refs/heads/main","pushedAt":"2024-01-09T09:26:38.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zermus","name":"Cody Gee","path":"/zermus","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/155936520?s=80&v=4"},"commit":{"message":"Update whois.php\n\nImproved sanitizeAndValidateInput Function: The function now ensures the input is either a valid domain or IP address. This prevents processing invalid or potentially harmful input.\r\n\r\nEnhanced Command Injection Protection: The use of escapeshellarg is continued to ensure safe usage of shell commands.\r\n\r\nMaintained Output Encoding: Outputs are properly encoded with htmlspecialchars to mitigate XSS risks.","shortMessageHtmlLink":"Update whois.php"}},{"before":"0a5ce2b50b866bf31ba86321353506646e6fd4f3","after":"7562a5517463d771203589e4f9ae837920865c40","ref":"refs/heads/main","pushedAt":"2024-01-09T09:21:09.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zermus","name":"Cody Gee","path":"/zermus","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/155936520?s=80&v=4"},"commit":{"message":"Update subnetcalc.php\n\nRegex updates\r\n\r\nMaintained Output Encoding: The use of htmlspecialchars for output encoding is maintained, which is good for preventing XSS attacks.","shortMessageHtmlLink":"Update subnetcalc.php"}},{"before":"95469ced54071feafe2ce5058a813a2b4fb00961","after":"0a5ce2b50b866bf31ba86321353506646e6fd4f3","ref":"refs/heads/main","pushedAt":"2024-01-09T09:04:25.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zermus","name":"Cody Gee","path":"/zermus","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/155936520?s=80&v=4"},"commit":{"message":"Update subnetcalc-ipv6.php\n\nUpdated sanitizeAndValidateIPv6CIDR Function: Improved validation to specifically check for IPv6 CIDR format.\r\n\r\nEnhanced calculateSubnetInfo Function: Added error handling for inet_pton and inet_ntop functions.\r\n\r\nMaintained Output Encoding: Ensured htmlspecialchars is used consistently for all user-provided input echoed back into the HTML.\r\nImproved User Feedback: Error messages now clearly indicate the nature of the error and encourage valid input.","shortMessageHtmlLink":"Update subnetcalc-ipv6.php"}},{"before":"af16d5aa4d374b8bfa73fb7814b3bd1ad01135be","after":"95469ced54071feafe2ce5058a813a2b4fb00961","ref":"refs/heads/main","pushedAt":"2024-01-09T08:35:14.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zermus","name":"Cody Gee","path":"/zermus","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/155936520?s=80&v=4"},"commit":{"message":"Update subnetcalc-ipv6.php\n\nCode cleanup","shortMessageHtmlLink":"Update subnetcalc-ipv6.php"}},{"before":"35a3ac5e4179a3b92cb244730298d09cdf807cda","after":"af16d5aa4d374b8bfa73fb7814b3bd1ad01135be","ref":"refs/heads/main","pushedAt":"2024-01-09T08:21:24.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zermus","name":"Cody Gee","path":"/zermus","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/155936520?s=80&v=4"},"commit":{"message":"Update subnetcalc-ipv6.php\n\nSanitization: Implemented input sanitization using FILTER_SANITIZE_STRING to remove unwanted characters from user input and prevent potential code injection.\r\n\r\nValidation: Enhanced the validation process by splitting the input into parts and verifying whether it conforms to the structure of a valid IPv6 CIDR notation.\r\n\r\nInput Validation: Ensured proper validation of the IPv6 CIDR input by checking the network address and subnet length according to the IPv6 standards (0-128).\r\n\r\nOutput Escaping: Employed htmlspecialchars() to escape and render output safely, preventing any potential cross-site scripting (XSS) attacks by encoding special characters.\r\n\r\nFunction Refactoring: Improved code readability and maintainability by separating input sanitization, validation, and subnet calculation into distinct functions.","shortMessageHtmlLink":"Update subnetcalc-ipv6.php"}},{"before":"539820c83a8dc0ffacf9052a913689be060daa96","after":"35a3ac5e4179a3b92cb244730298d09cdf807cda","ref":"refs/heads/main","pushedAt":"2024-01-09T08:06:51.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zermus","name":"Cody Gee","path":"/zermus","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/155936520?s=80&v=4"},"commit":{"message":"Update subnetcalc.php\n\nInput Sanitization Improvement:\r\nThe function sanitizeInput was enhanced to better sanitize user input. It now trims input to remove leading and trailing spaces.\r\nThe regular expressions were refined to strictly match IPv4 CIDR notation or IP Address Space with Subnet Mask. This helps prevent unexpected inputs and potential vulnerabilities like code injection.\r\n\r\nEnhanced Validation:\r\nThe code has stricter checks for valid IPv4 CIDR notation or IP Address Space with Subnet Mask using regular expressions. This ensures that the input matches the expected format before proceeding with calculations.\r\n\r\nOutput Escaping:\r\nWhen displaying results, htmlspecialchars() is applied to prevent Cross-Site Scripting (XSS) attacks by escaping HTML entities. This ensures that any user-generated content displayed on the page is properly encoded and not interpreted as HTML.","shortMessageHtmlLink":"Update subnetcalc.php"}},{"before":"7da66a13f71f93ba61b9685685a9bcfb9332a564","after":"539820c83a8dc0ffacf9052a913689be060daa96","ref":"refs/heads/main","pushedAt":"2024-01-09T07:44:38.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zermus","name":"Cody Gee","path":"/zermus","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/155936520?s=80&v=4"},"commit":{"message":"Update whois.php\n\nSanitizing Input: Enhanced the sanitizeInput function to remove leading/trailing spaces and sanitize the input using FILTER_SANITIZE_STRING. This helps eliminate unwanted characters and ensures the input is clean.\r\n\r\nValidation Improvement: Utilized FILTER_VALIDATE_DOMAIN and FILTER_VALIDATE_IP flags to validate domain names and IP addresses more effectively. This ensures that only valid inputs (domain names or IP addresses) are accepted.\r\n\r\nShell Argument Escaping: Changed escapeshellcmd to escapeshellarg to escape shell arguments properly before executing the whois command. This helps prevent command injection vulnerabilities.\r\n\r\nOutput Sanitization: Applied htmlspecialchars to the output before displaying it on the web page. This prevents potential Cross-Site Scripting (XSS) vulnerabilities by converting special characters to HTML entities, making the output safe for display.","shortMessageHtmlLink":"Update whois.php"}},{"before":"0cf3fc9afc1f660b062bf8034541acfa4ed5f408","after":"7da66a13f71f93ba61b9685685a9bcfb9332a564","ref":"refs/heads/main","pushedAt":"2024-01-09T07:29:06.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zermus","name":"Cody Gee","path":"/zermus","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/155936520?s=80&v=4"},"commit":{"message":"Create CHANGELOG","shortMessageHtmlLink":"Create CHANGELOG"}},{"before":"8ccb8d6bdf54ca8a3b24218e77f23239300fcd95","after":"0cf3fc9afc1f660b062bf8034541acfa4ed5f408","ref":"refs/heads/main","pushedAt":"2024-01-09T03:46:44.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zermus","name":"Cody Gee","path":"/zermus","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/155936520?s=80&v=4"},"commit":{"message":"Update README","shortMessageHtmlLink":"Update README"}},{"before":"8fa7b781ee53e3ac64b9af8459b7513c2c40fb0a","after":"8ccb8d6bdf54ca8a3b24218e77f23239300fcd95","ref":"refs/heads/main","pushedAt":"2024-01-08T18:38:34.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zermus","name":"Cody Gee","path":"/zermus","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/155936520?s=80&v=4"},"commit":{"message":"Update subnetcalc.php\n\nFixed margin to accommodate a footer, if necessary.","shortMessageHtmlLink":"Update subnetcalc.php"}},{"before":"626d71a7ff20a7f060650956569d9270b3cfab4f","after":"8fa7b781ee53e3ac64b9af8459b7513c2c40fb0a","ref":"refs/heads/main","pushedAt":"2024-01-08T18:38:01.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zermus","name":"Cody Gee","path":"/zermus","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/155936520?s=80&v=4"},"commit":{"message":"Update subnetcalc-ipv6.php\n\nFixed margin to accommodate a footer, if necessary.","shortMessageHtmlLink":"Update subnetcalc-ipv6.php"}},{"before":"1cc47bdfceb1b06d18fbb3d69b58276ba204d671","after":"626d71a7ff20a7f060650956569d9270b3cfab4f","ref":"refs/heads/main","pushedAt":"2024-01-08T18:37:18.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zermus","name":"Cody Gee","path":"/zermus","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/155936520?s=80&v=4"},"commit":{"message":"Update subnetcalc-ipv6.php\n\nFixed placeholder IPv6 CIDR","shortMessageHtmlLink":"Update subnetcalc-ipv6.php"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEdyOZXQA","startCursor":null,"endCursor":null}},"title":"Activity ยท zermus/iptools"}