Open JackNoire opened 2 years ago
https://github.com/bedirhan/wivet/blob/1b3f580b4f9cabb9451f944a3b25fdca5432b09c/offscanpages/statistics.php#L34 https://github.com/bedirhan/wivet/blob/1b3f580b4f9cabb9451f944a3b25fdca5432b09c/offscanpages/statistics.php#L170 $scan['ipaddress'] seems to be already an IP string, so long2ip may not be needed. In PHP 8.0, this may result in an error: Uncaught TypeError: long2ip(): Argument #1 ($ip) must be of type int
$scan['ipaddress']
Uncaught TypeError: long2ip(): Argument #1 ($ip) must be of type int
Hi Jack, Thanks for the issue. I don't maintain this repo anymore, though. Thanks anyway, appreciated.
https://github.com/bedirhan/wivet/blob/1b3f580b4f9cabb9451f944a3b25fdca5432b09c/offscanpages/statistics.php#L34 https://github.com/bedirhan/wivet/blob/1b3f580b4f9cabb9451f944a3b25fdca5432b09c/offscanpages/statistics.php#L170
$scan['ipaddress']
seems to be already an IP string, so long2ip may not be needed. In PHP 8.0, this may result in an error:Uncaught TypeError: long2ip(): Argument #1 ($ip) must be of type int