Issues (501)

Security Analysis    not enabled

This project does not seem to handle request data directly as such no vulnerable execution paths were found.

  Cross-Site Scripting
Cross-Site Scripting enables an attacker to inject code into the response of a web-request that is viewed by other users. It can for example be used to bypass access controls, or even to take over other users' accounts.
  File Exposure
File Exposure allows an attacker to gain access to local files that he should not be able to access. These files can for example include database credentials, or other configuration files.
  File Manipulation
File Manipulation enables an attacker to write custom data to files. This potentially leads to injection of arbitrary code on the server.
  Object Injection
Object Injection enables an attacker to inject an object into PHP code, and can lead to arbitrary code execution, file exposure, or file manipulation attacks.
  Code Injection
Code Injection enables an attacker to execute arbitrary code on the server.
  Response Splitting
Response Splitting can be used to send arbitrary responses.
  File Inclusion
File Inclusion enables an attacker to inject custom files into PHP's file loading mechanism, either explicitly passed to include, or for example via PHP's auto-loading mechanism.
  Command Injection
Command Injection enables an attacker to inject a shell command that is execute with the privileges of the web-server. This can be used to expose sensitive data, or gain access of your server.
  SQL Injection
SQL Injection enables an attacker to execute arbitrary SQL code on your database server gaining access to user data, or manipulating user data.
  XPath Injection
XPath Injection enables an attacker to modify the parts of XML document that are read. If that XML document is for example used for authentication, this can lead to further vulnerabilities similar to SQL Injection.
  LDAP Injection
LDAP Injection enables an attacker to inject LDAP statements potentially granting permission to run unauthorized queries, or modify content inside the LDAP tree.
  Header Injection
  Other Vulnerability
This category comprises other attack vectors such as manipulating the PHP runtime, loading custom extensions, freezing the runtime, or similar.
  Regex Injection
Regex Injection enables an attacker to execute arbitrary code in your PHP process.
  XML Injection
XML Injection enables an attacker to read files on your local filesystem including configuration files, or can be abused to freeze your web-server process.
  Variable Injection
Variable Injection enables an attacker to overwrite program variables with custom data, and can lead to further vulnerabilities.
Unfortunately, the security analysis is currently not available for your project. If you are a non-commercial open-source project, please contact support to gain access.

config/license.php (1 issue)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
$license = array();
3
4
$license['en']['license_civ_driver'] = 'Driver License';
5
$license['en']['license_civ_boat'] = 'Boating License';
6
$license['en']['license_civ_pilot'] = 'Pilot License';
7
$license['en']['license_civ_gun'] = 'Firearm License';
8
$license['en']['license_civ_dive'] = 'Diving License';
9
$license['en']['license_civ_oil'] = 'Oil Processing';
10
$license['en']['license_civ_heroin'] = 'Processing Heroin';
11
$license['en']['license_civ_marijuana'] = 'Processing Marijuana';
12
$license['en']['license_civ_rebel'] = 'Rebel Training';
13
$license['en']['license_civ_trucking'] = 'Truck License';
14
$license['en']['license_civ_diamond'] = 'Diamond Processing';
15
$license['en']['license_civ_salt'] = 'Salt Processing';
16
$license['en']['license_civ_cocaine'] = 'Cocaine Processing';
17
$license['en']['license_civ_sand'] = 'Sand Processing';
18
$license['en']['license_civ_iron'] = 'Iron Processing';
19
$license['en']['license_civ_copper'] = 'Copper Processing';
20
$license['en']['license_civ_cement'] = 'Cement Mixing License';
21
$license['en']['license_civ_home'] = 'Home Owners License';
22
$license['en']['license_civ_truck'] = 'Truck License';
23
$license['en']['license_civ_pilot'] = 'Medical Pilot';
24
$license['en']['license_cop_cAir'] = 'Cop Pilot';
25
$license['en']['license_cop_coastguard'] = 'Coast Guard License';
26
$license['en']['license_cop_swat'] = 'SWAT License';
27
28
$license['de']['license_civ_driver'] = 'Führerschein';
29
$license['de']['license_civ_boat'] = 'Bootsschein';
30
$license['de']['license_civ_pilot'] = 'Pilotenschein';
31
$license['de']['license_civ_gun'] = 'Waffenschein';
32
$license['de']['license_civ_dive'] = 'Taucherschein';
33
$license['de']['license_civ_oil'] = 'Ölverarbeitung';
34
$license['de']['license_civ_heroin'] = 'Heroinherstellung';
35
$license['de']['license_civ_marijuana'] = 'Marihuanaherstellung';
36
$license['de']['license_civ_rebel'] = 'Rebellenausbildung';
37
$license['de']['license_civ_trucking'] = 'LKW-Führerschein';
38
$license['de']['license_civ_diamond'] = 'Diamantenverarbeitung';
39
$license['de']['license_civ_salt'] = 'Salzverarbeitung';
40
$license['de']['license_civ_sand'] = 'Sandverarbeitung';
41
$license['de']['license_civ_iron'] = 'Eisenverarbeitung';
42
$license['de']['license_civ_copper'] = 'Kupferverarbeitung';
43
$license['de']['license_civ_cement'] = 'Zementherstellung';
44
$license['de']['license_civ_home'] = 'Eigentumsurkunde';
45
$license['de']['license_civ_truck'] = 'LKW Führerschein';
46
$license['de']['license_cop_coastguard'] = 'Küstenwache';
47
$license['de']['license_cop_swat'] = 'SWAT-Lizenz';
48
49
$license['fr']['license_civ_driver'] = 'Permis de Conduire';
50
$license['fr']['license_civ_boat'] = 'Permis Bateau';
51
$license['fr']['license_civ_pilot'] = 'License de Pilote';
52
$license['fr']['license_civ_gun'] = 'Permis de Port d\'Arme';
53
$license['fr']['license_civ_dive'] = 'Permis de Plongée';
54
$license['fr']['license_civ_oil'] = 'Raffinage de du pétrole';
55
$license['fr']['license_civ_heroin'] = 'Traitement d\'Heroine';
56
$license['fr']['license_civ_marijuana'] = 'Traitement de Marijuana';
57
$license['fr']['license_civ_rebel'] = 'Entrainement rebelle';
58
$license['fr']['license_civ_trucking'] = 'Permis Poids Lourds';
59
$license['fr']['license_civ_diamond'] = 'Taillage des Diamands';
60
$license['fr']['license_civ_salt'] = 'Traitement du Sel';
61
$license['fr']['license_civ_sand'] = 'Traitement du Sable';
62
$license['fr']['license_civ_iron'] = 'Fonte du Fer';
63
$license['fr']['license_civ_copper'] = 'Fonte du Cuivre';
64
$license['fr']['license_civ_cement'] = 'Fabrication du Ciment';
65
$license['fr']['license_civ_home'] = 'Droit de Propriété';
66
$license['fr']['license_civ_truck'] = 'Truck License';
67
$license['fr']['license_cop_coastguard'] = 'Garde-Cotes';
68
$license['fr']['license_cop_swat'] = 'License du SWAT';
69
70
$license['it']['license_civ_driver'] = 'Licenza di Guida';
71
$license['it']['license_civ_boat'] = 'Licenza Nautica';
72
$license['it']['license_civ_pilot'] = 'Licenza da Pilota';
73
$license['it']['license_civ_gun'] = 'Porto d\'Armi';
74
$license['it']['license_civ_dive'] = 'Licenza di Pesca';
75
$license['it']['license_civ_oil'] = 'Processo Olio';
76
$license['it']['license_civ_heroin'] = 'Processando Eroina';
77
$license['it']['license_civ_marijuana'] = 'Processando Marijuana';
78
$license['it']['license_civ_rebel'] = 'Licenza da Ribelle';
79
$license['it']['license_civ_trucking'] = 'Licenza Camion';
80
$license['it']['license_civ_diamond'] = 'Processo Diamanti';
81
$license['it']['license_civ_salt'] = 'Processo Sale';
82
$license['it']['license_civ_sand'] = 'Processo Sabbia';
83
$license['it']['license_civ_iron'] = 'Processo Ferro';
84
$license['it']['license_civ_copper'] = 'Processo Rame';
85
$license['it']['license_civ_cement'] = 'Processo Cemento';
86
$license['it']['license_civ_home'] = 'Licenza possesso Casa';
87
$license['it']['license_civ_truck'] = 'Truck License';
88
$license['it']['license_cop_coastguard'] = 'Licenza Guardia Costiera';
89
$license['it']['license_cop_swat'] = 'Licenza SWAT';
90
91
$license['por']['license_civ_driver'] = 'Licença de Motorista';
92
$license['por']['license_civ_boat'] = 'Licença de Barco';
93
$license['por']['license_civ_pilot'] = 'Licença de Piloto';
94
$license['por']['license_civ_gun'] = 'Licença de Porte de Armas';
95
$license['por']['license_civ_dive'] = 'Licença de Mergulho';
96
$license['por']['license_civ_oil'] = 'Refinamento de Petróleo';
97
$license['por']['license_civ_heroin'] = 'Processando Heroina';
98
$license['por']['license_civ_marijuana'] = 'Processando Erva';
99
$license['por']['license_civ_rebel'] = 'Treinamento Rebelde';
100
$license['por']['license_civ_trucking'] = 'Licença de Caminhão';
101
$license['por']['license_civ_diamond'] = 'Lapidação de Diamante';
102
$license['por']['license_civ_salt'] = 'Processamento de Sal';
103
$license['por']['license_civ_sand'] = 'Processamento de Areia';
104
$license['por']['license_civ_iron'] = 'Processamento de Ferro';
105
$license['por']['license_civ_copper'] = 'Processamento de Bronze';
106
$license['por']['license_civ_cement'] = 'Licença de Cimento';
107
$license['por']['license_civ_home'] = 'Licença de Casas';
108
$license['por']['license_civ_truck'] = 'Truck License';
109
$license['por']['license_cop_coastguard'] = 'Licença de Guarda Costeira';
110
$license['por']['license_cop_swat'] = 'Licença do Bope';
111
112
function licName($lic, $license)
113
{
114
    $settings = require_once 'settings.php';
115
    if (isset($license[$settings['language']][$lic])) {
116
        return $license[$settings['language']][$lic];
117
    } elseif (isset($license['en'][$lic])) {
118
        return $license['en'][$lic];
119
    } else {
120
        return $lic;
121
    }
122
}
0 ignored issues
show
As per coding style, files should not end with a newline character.

This check marks files that end in a newline character, i.e. an empy line.

Loading history...
123