=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== php-services-weather-1.4.7/Services_Weather-1.4.7/Weather/Ejse.php-145- php-services-weather-1.4.7/Services_Weather-1.4.7/Weather/Ejse.php:146: eval($this->_wsdl->generateAllProxies()); php-services-weather-1.4.7/Services_Weather-1.4.7/Weather/Ejse.php-147- if (!class_exists("WebService_Service_ServiceSoap")) { ############################################## php-services-weather-1.4.7/Services_Weather-1.4.7/Weather/Globalweather.php-144- php-services-weather-1.4.7/Services_Weather-1.4.7/Weather/Globalweather.php:145: eval($this->_wsdl->generateAllProxies()); php-services-weather-1.4.7/Services_Weather-1.4.7/Weather/Globalweather.php-146- if (!class_exists("WebService_GlobalWeather_StationInfo") || !class_exists("WebService_GlobalWeather_GlobalWeather")) { ############################################## php-services-weather-1.4.7/Services_Weather-1.4.7/Weather/Metar.php-1505- if (sizeof($location) == 1) { php-services-weather-1.4.7/Services_Weather-1.4.7/Weather/Metar.php:1506: $where = "LOWER(name) LIKE ".$location[0]; php-services-weather-1.4.7/Services_Weather-1.4.7/Weather/Metar.php-1507- } elseif (sizeof($location) == 2) { php-services-weather-1.4.7/Services_Weather-1.4.7/Weather/Metar.php:1508: $where = "LOWER(name) LIKE ".$location[0]; php-services-weather-1.4.7/Services_Weather-1.4.7/Weather/Metar.php:1509: $where .= " AND LOWER(country) LIKE ".$location[1]; php-services-weather-1.4.7/Services_Weather-1.4.7/Weather/Metar.php-1510- } elseif (sizeof($location) == 3) { php-services-weather-1.4.7/Services_Weather-1.4.7/Weather/Metar.php:1511: $where = "LOWER(name) LIKE ".$location[0]; php-services-weather-1.4.7/Services_Weather-1.4.7/Weather/Metar.php:1512: $where .= " AND LOWER(state) LIKE ".$location[1]; php-services-weather-1.4.7/Services_Weather-1.4.7/Weather/Metar.php:1513: $where .= " AND LOWER(country) LIKE ".$location[2]; php-services-weather-1.4.7/Services_Weather-1.4.7/Weather/Metar.php-1514- } elseif (sizeof($location) == 4) { php-services-weather-1.4.7/Services_Weather-1.4.7/Weather/Metar.php:1515: $where = "LOWER(name) LIKE ".substr($location[0], 0, -2).", ".substr($location[1], 2); php-services-weather-1.4.7/Services_Weather-1.4.7/Weather/Metar.php:1516: $where .= " AND LOWER(state) LIKE ".$location[2]; php-services-weather-1.4.7/Services_Weather-1.4.7/Weather/Metar.php:1517: $where .= " AND LOWER(country) LIKE ".$location[3]; php-services-weather-1.4.7/Services_Weather-1.4.7/Weather/Metar.php-1518- } ############################################## php-services-weather-1.4.7/Services_Weather-1.4.7/Weather/Metar.php-1736- $select = "SELECT icao, name, state, country, latitude, longitude, elevation ". php-services-weather-1.4.7/Services_Weather-1.4.7/Weather/Metar.php:1737: "FROM metarAirports WHERE icao='".$id."'"; php-services-weather-1.4.7/Services_Weather-1.4.7/Weather/Metar.php-1738- $result = $this->_db->query($select); ############################################## php-services-weather-1.4.7/Services_Weather-1.4.7/buildMetarDB.php-245- $printHelp = true; php-services-weather-1.4.7/Services_Weather-1.4.7/buildMetarDB.php:246: echo "Invalid option: '".$_SERVER["argv"][$c]."'\n"; php-services-weather-1.4.7/Services_Weather-1.4.7/buildMetarDB.php-247- break; ############################################## php-services-weather-1.4.7/Services_Weather-1.4.7/buildMetarDB.php-252-if (!$modeSet || $printHelp) { php-services-weather-1.4.7/Services_Weather-1.4.7/buildMetarDB.php:253: echo "Usage: ".basename($_SERVER["argv"][0], ".php")." -l|-a [options]\n"; php-services-weather-1.4.7/Services_Weather-1.4.7/buildMetarDB.php-254- echo "Options:\n"; ############################################## php-services-weather-1.4.7/Services_Weather-1.4.7/Weather.php-151- } php-services-weather-1.4.7/Services_Weather-1.4.7/Weather.php:152: include_once("Services/Weather/".$service.".php"); php-services-weather-1.4.7/Services_Weather-1.4.7/Weather.php-153- } else { ############################################## php-services-weather-1.4.7/Services_Weather-1.4.7/Weather.php-156- } php-services-weather-1.4.7/Services_Weather-1.4.7/Weather.php:157: @include_once("Services/Weather/".$service.".php"); php-services-weather-1.4.7/Services_Weather-1.4.7/Weather.php-158- } ############################################## php-services-weather-1.4.7/.pc/0001-Fix-php-PATH.patch/Services_Weather-1.4.7/buildMetarDB.php-245- $printHelp = true; php-services-weather-1.4.7/.pc/0001-Fix-php-PATH.patch/Services_Weather-1.4.7/buildMetarDB.php:246: echo "Invalid option: '".$_SERVER["argv"][$c]."'\n"; php-services-weather-1.4.7/.pc/0001-Fix-php-PATH.patch/Services_Weather-1.4.7/buildMetarDB.php-247- break; ############################################## php-services-weather-1.4.7/.pc/0001-Fix-php-PATH.patch/Services_Weather-1.4.7/buildMetarDB.php-252-if (!$modeSet || $printHelp) { php-services-weather-1.4.7/.pc/0001-Fix-php-PATH.patch/Services_Weather-1.4.7/buildMetarDB.php:253: echo "Usage: ".basename($_SERVER["argv"][0], ".php")." -l|-a [options]\n"; php-services-weather-1.4.7/.pc/0001-Fix-php-PATH.patch/Services_Weather-1.4.7/buildMetarDB.php-254- echo "Options:\n"; ############################################## php-services-weather-1.4.7/.pc/0002-Fix-PHP7-New-objects-cannot-be-assigned-by-reference.patch/Services_Weather-1.4.7/Weather.php-151- } php-services-weather-1.4.7/.pc/0002-Fix-PHP7-New-objects-cannot-be-assigned-by-reference.patch/Services_Weather-1.4.7/Weather.php:152: include_once("Services/Weather/".$service.".php"); php-services-weather-1.4.7/.pc/0002-Fix-PHP7-New-objects-cannot-be-assigned-by-reference.patch/Services_Weather-1.4.7/Weather.php-153- } else { ############################################## php-services-weather-1.4.7/.pc/0002-Fix-PHP7-New-objects-cannot-be-assigned-by-reference.patch/Services_Weather-1.4.7/Weather.php-156- } php-services-weather-1.4.7/.pc/0002-Fix-PHP7-New-objects-cannot-be-assigned-by-reference.patch/Services_Weather-1.4.7/Weather.php:157: @include_once("Services/Weather/".$service.".php"); php-services-weather-1.4.7/.pc/0002-Fix-PHP7-New-objects-cannot-be-assigned-by-reference.patch/Services_Weather-1.4.7/Weather.php-158- } ############################################## php-services-weather-1.4.7/.pc/0002-Fix-PHP7-New-objects-cannot-be-assigned-by-reference.patch/Services_Weather-1.4.7/Weather/Ejse.php-145- php-services-weather-1.4.7/.pc/0002-Fix-PHP7-New-objects-cannot-be-assigned-by-reference.patch/Services_Weather-1.4.7/Weather/Ejse.php:146: eval($this->_wsdl->generateAllProxies()); php-services-weather-1.4.7/.pc/0002-Fix-PHP7-New-objects-cannot-be-assigned-by-reference.patch/Services_Weather-1.4.7/Weather/Ejse.php-147- if (!class_exists("WebService_Service_ServiceSoap")) { ############################################## php-services-weather-1.4.7/.pc/0002-Fix-PHP7-New-objects-cannot-be-assigned-by-reference.patch/Services_Weather-1.4.7/Weather/Globalweather.php-144- php-services-weather-1.4.7/.pc/0002-Fix-PHP7-New-objects-cannot-be-assigned-by-reference.patch/Services_Weather-1.4.7/Weather/Globalweather.php:145: eval($this->_wsdl->generateAllProxies()); php-services-weather-1.4.7/.pc/0002-Fix-PHP7-New-objects-cannot-be-assigned-by-reference.patch/Services_Weather-1.4.7/Weather/Globalweather.php-146- if (!class_exists("WebService_GlobalWeather_StationInfo") || !class_exists("WebService_GlobalWeather_GlobalWeather")) { ############################################## php-services-weather-1.4.7/.pc/0002-Fix-PHP7-New-objects-cannot-be-assigned-by-reference.patch/Services_Weather-1.4.7/Weather/Metar.php-1505- if (sizeof($location) == 1) { php-services-weather-1.4.7/.pc/0002-Fix-PHP7-New-objects-cannot-be-assigned-by-reference.patch/Services_Weather-1.4.7/Weather/Metar.php:1506: $where = "LOWER(name) LIKE ".$location[0]; php-services-weather-1.4.7/.pc/0002-Fix-PHP7-New-objects-cannot-be-assigned-by-reference.patch/Services_Weather-1.4.7/Weather/Metar.php-1507- } elseif (sizeof($location) == 2) { php-services-weather-1.4.7/.pc/0002-Fix-PHP7-New-objects-cannot-be-assigned-by-reference.patch/Services_Weather-1.4.7/Weather/Metar.php:1508: $where = "LOWER(name) LIKE ".$location[0]; php-services-weather-1.4.7/.pc/0002-Fix-PHP7-New-objects-cannot-be-assigned-by-reference.patch/Services_Weather-1.4.7/Weather/Metar.php:1509: $where .= " AND LOWER(country) LIKE ".$location[1]; php-services-weather-1.4.7/.pc/0002-Fix-PHP7-New-objects-cannot-be-assigned-by-reference.patch/Services_Weather-1.4.7/Weather/Metar.php-1510- } elseif (sizeof($location) == 3) { php-services-weather-1.4.7/.pc/0002-Fix-PHP7-New-objects-cannot-be-assigned-by-reference.patch/Services_Weather-1.4.7/Weather/Metar.php:1511: $where = "LOWER(name) LIKE ".$location[0]; php-services-weather-1.4.7/.pc/0002-Fix-PHP7-New-objects-cannot-be-assigned-by-reference.patch/Services_Weather-1.4.7/Weather/Metar.php:1512: $where .= " AND LOWER(state) LIKE ".$location[1]; php-services-weather-1.4.7/.pc/0002-Fix-PHP7-New-objects-cannot-be-assigned-by-reference.patch/Services_Weather-1.4.7/Weather/Metar.php:1513: $where .= " AND LOWER(country) LIKE ".$location[2]; php-services-weather-1.4.7/.pc/0002-Fix-PHP7-New-objects-cannot-be-assigned-by-reference.patch/Services_Weather-1.4.7/Weather/Metar.php-1514- } elseif (sizeof($location) == 4) { php-services-weather-1.4.7/.pc/0002-Fix-PHP7-New-objects-cannot-be-assigned-by-reference.patch/Services_Weather-1.4.7/Weather/Metar.php:1515: $where = "LOWER(name) LIKE ".substr($location[0], 0, -2).", ".substr($location[1], 2); php-services-weather-1.4.7/.pc/0002-Fix-PHP7-New-objects-cannot-be-assigned-by-reference.patch/Services_Weather-1.4.7/Weather/Metar.php:1516: $where .= " AND LOWER(state) LIKE ".$location[2]; php-services-weather-1.4.7/.pc/0002-Fix-PHP7-New-objects-cannot-be-assigned-by-reference.patch/Services_Weather-1.4.7/Weather/Metar.php:1517: $where .= " AND LOWER(country) LIKE ".$location[3]; php-services-weather-1.4.7/.pc/0002-Fix-PHP7-New-objects-cannot-be-assigned-by-reference.patch/Services_Weather-1.4.7/Weather/Metar.php-1518- } ############################################## php-services-weather-1.4.7/.pc/0002-Fix-PHP7-New-objects-cannot-be-assigned-by-reference.patch/Services_Weather-1.4.7/Weather/Metar.php-1736- $select = "SELECT icao, name, state, country, latitude, longitude, elevation ". php-services-weather-1.4.7/.pc/0002-Fix-PHP7-New-objects-cannot-be-assigned-by-reference.patch/Services_Weather-1.4.7/Weather/Metar.php:1737: "FROM metarAirports WHERE icao='".$id."'"; php-services-weather-1.4.7/.pc/0002-Fix-PHP7-New-objects-cannot-be-assigned-by-reference.patch/Services_Weather-1.4.7/Weather/Metar.php-1738- $result = $this->_db->query($select);