masscan-web-ui icon indicating copy to clipboard operation
masscan-web-ui copied to clipboard

Add ICMP protocol

Open eduard-haritonov opened this issue 6 years ago • 1 comments

If "masscan" utility is run with "--ping" options, then import.php will fail with the follwing error:

Fatal error: Uncaught PDOException: SQLSTATE[01000]: Warning: 1265 Data truncated for column 'protocol' at row 1 in /var/www/html/import.php:137
Stack trace:
#0 /var/www/html/import.php(137): PDOStatement->execute()
#1 {main}
  thrown in /var/www/html/import.php on line 137

Please add the changes from attached diff file to resolve the issue. masscan-web-ui.diff.gz

eduard-haritonov avatar Oct 24 '18 08:10 eduard-haritonov

Thanks for the heads up and even more thanks for providing solution. I'll update code quickly.

pawco avatar Oct 24 '18 08:10 pawco