bedirhan / wivet

Web Input Vector Extractor Teaser
MIT License
129 stars 36 forks source link

long2ip is unnecessary in statistics.php #14

Open JackNoire opened 2 years ago

JackNoire commented 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

bedirhan commented 2 years ago

Hi Jack, Thanks for the issue. I don't maintain this repo anymore, though. Thanks anyway, appreciated.