Issues (1210)

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.

language/portuguese/modinfo.php (2 issues)

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
3 View Code Duplication
if( defined( 'FOR_XOOPS_LANG_CHECKER' ) || ! defined( 'APCAL_MI_LOADED' ) ) {
0 ignored issues
show
This code seems to be duplicated across your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
4
5
6
7
8
9
10
// Appended by Xoops Language Checker -GIJOE- in 2006-02-15 05:31:20
11
define('_MI_APCAL_ADMENU_MYTPLSADMIN','Templates');
12
13
// Appended by Xoops Language Checker -GIJOE- in 2005-05-06 18:04:01
14
define('_MI_TIMEZONE_USING','Timezone of the server');
15
define('_MI_OPT_TZ_USEXOOPS','value of XOOPS config');
16
define('_MI_OPT_TZ_USEWINTER','value told from the server as winter time (recommended)');
17
define('_MI_OPT_TZ_USESUMMER','value told from the server as summer time');
18
19
// Appended by Xoops Language Checker -GIJOE- in 2005-05-03 05:31:14
20
define('_MI_USE24HOUR','24hours system (No means 12hours system)');
21
define('_MI_APCAL_ADMENU_PLUGINS','Plugins Manager');
22
23
// Appended by Xoops Language Checker -GIJOE- in 2005-04-22 12:02:02
24
define('_MI_APCAL_BNAME_MINICALEX','MiniCalendarEx');
25
define('_MI_APCAL_BNAME_MINICALEX_DESC','Extensible minicalendar with plugin system');
26
27
// Appended by Xoops Language Checker -GIJOE- in 2005-01-08 04:36:51
28
define('_MI_APCAL_DEFAULTLOCALE','');
29
define('_MI_APCAL_LOCALE','Locale (check files in locales/*.php)');
30
31
define( 'APCAL_MI_LOADED' , 1 ) ;
32
33
// Module Info
34
35
// The name of this module
36
37
// Appended by Xoops Language Checker -GIJOE- in 2004-06-22 18:39:03
38
define('_MI_APCAL_ADMENU_MYBLOCKSADMIN','Blocks&Groups Admin');
39
40
define("_MI_APCAL_NAME","APCal");
41
42
// A brief description of this module
43
define("_MI_APCAL_DESC","Modulo Calendario com Agenda");
44
45
// Names of blocks for this module (Not all module has blocks)
46
define("_MI_APCAL_BNAME_MINICAL","Mini Calendario");
47
define("_MI_APCAL_BNAME_MINICAL_DESC","Mostrar um mini Calendario em bloco");
48
define("_MI_APCAL_BNAME_MONTHCAL","Calendario mensal");
49
define("_MI_APCAL_BNAME_MONTHCAL_DESC","Mostrar um calendario mensal completo");
50
define("_MI_APCAL_BNAME_TODAYS","Eventos de hoje");
51
define("_MI_APCAL_BNAME_TODAYS_DESC","Mostrar eventos de hoje");
52
define("_MI_APCAL_BNAME_THEDAYS","Eventos deste %s");
53
define("_MI_APCAL_BNAME_THEDAYS_DESC","Mostrar eventos do dia assinalado");
54
define("_MI_APCAL_BNAME_COMING","Proximos eventos");
55
define("_MI_APCAL_BNAME_COMING_DESC","Mostrar os pr��imos eventos");
56
define("_MI_APCAL_BNAME_AFTER","Eventos depois %s");
57
define("_MI_APCAL_BNAME_AFTER_DESC","Mostrar os eventos depois do dia asinalado");
58
define("_MI_APCAL_BNAME_NEW","Eventos postados recentemente"); 
59
define("_MI_APCAL_BNAME_NEW_DESC","Mostrar os eventos  ordenados do mais recente para o menos recente");
60
61
// Names of submenu
62
define("_MI_APCAL_SM_SUBMIT","Submeter");
63
64
//define("_MI_APCAL_ADMENU1","");
65
66
// Title of config items
67
define("_MI_USERS_AUTHORITY", "Atribui�es dos usu��ios");
68
define("_MI_GUESTS_AUTHORITY", "Atribui�es dos convidados");
69
define("_MI_DEFAULT_VIEW", "Vista preestabelecida no centro");
70
define("_MI_MINICAL_TARGET", "Vista objetiva do mini calendario");
71
define("_MI_COMING_NUMROWS", "N��ero de eventos mostrados em blocos de eventos seguintes");
72
define("_MI_SKINFOLDER", "nome da pasta de skin");
73
define("_MI_SUNDAYCOLOR", "cor do domingo");
74
define("_MI_WEEKDAYCOLOR", "cor dos dias de semana");
75
define("_MI_SATURDAYCOLOR", "Cor do s��ado");
76
define("_MI_HOLIDAYCOLOR", "Cor do feriado");
77
define("_MI_TARGETDAYCOLOR", "Cor do dia com evento");
78
define("_MI_SUNDAYBGCOLOR", "Cor de fundo do domingo");
79
define("_MI_WEEKDAYBGCOLOR", "Cor de fundo dos dias de semana");
80
define("_MI_SATURDAYBGCOLOR", "Cor de fundo do s��ado");
81
define("_MI_HOLIDAYBGCOLOR", "Cor de fundo do feriado");
82
define("_MI_TARGETDAYBGCOLOR", "Cor de fundo do dia com evento");
83
define("_MI_CALHEADCOLOR", "Cor da parte superior do calendario");
84
define("_MI_CALHEADBGCOLOR", "Cor de fundo da parte superior do calend��io");
85
define("_MI_CALFRAMECSS", "Estilo da borda do calend��io");
86
define("_MI_CANOUTPUTICS", "Permiss�� para fazer os arquivos ics");
87
define("_MI_MAXRRULEEXTRACT", "Limite m��imo dos eventos extra��os pela regra.(CONTAR)");
88
define("_MI_WEEKSTARTFROM", "Dia inicial da semana");
89
define("_MI_WEEKNUMBERING", "Regra de numera��o para as semanas");
90
define("_MI_DAYSTARTFROM", "Hora de come�� do dia");
91
define("_MI_NAMEORUNAME" , "Nome do poster mostrado" ) ;
92
define("_MI_DESCNAMEORUNAME" , "Selecionar o 'nome' mostrado" ) ;
93
94
// Description of each config items
95
define("_MI_EDITBYGUESTDSC", "Permiss�� de adicionar eventos para os visitantes");
96
97
// Options of each config items
98
define("_MI_OPT_AUTH_NONE", "n�� pode adicionar");
99
define("_MI_OPT_AUTH_WAIT", "pode adicionar, mas necessita permiss��");
100
define("_MI_OPT_AUTH_POST", "pode adicionar sem permiss��");
101
define("_MI_OPT_AUTH_BYGROUP", "Especifcado em permiss��s dos Grupos");
102
define("_MI_OPT_MINI_PHPSELF", "P��ina atual");
103
define("_MI_OPT_MINI_MONTHLY", "calendario mensal");
104
define("_MI_OPT_MINI_WEEKLY", "calendario semanal");
105
define("_MI_OPT_MINI_DAILY", "calendario di��io");
106
define("_MI_OPT_MINI_LIST", "lista de eventos");
107
define("_MI_OPT_CANOUTPUTICS", "pode fazer");
108
define("_MI_OPT_CANNOTOUTPUTICS", "n�� pode fazer");
109
define("_MI_OPT_STARTFROMSUN", "Domingo");
110
define("_MI_OPT_STARTFROMMON", "Segunda");
111
define("_MI_OPT_WEEKNOEACHMONTH", "por cada m��");
112
define("_MI_OPT_WEEKNOWHOLEYEAR", "por todo o ano");
113
define("_MI_OPT_USENAME" , "Nome" ) ;
114
define("_MI_OPT_USEUNAME" , "Nome de Login" ) ;
115
116
// Admin Menus
117
define("_MI_APCAL_ADMENU0","Admitir Eventos");
118
define("_MI_APCAL_ADMENU1","Administrador de eventos");
119
define("_MI_APCAL_ADMENU_CAT","Administrador de Categorias");
120
define("_MI_APCAL_ADMENU_CAT2GROUP","Permiss��s das Categorias");
121
define("_MI_APCAL_ADMENU2","Permiss��s Globais");
122
define("_MI_APCAL_ADMENU_TM","Tabela de Manuten��o");
123
define("_MI_APCAL_ADMENU_ICAL","Importar iCalendar");
124
125
// Text for notifications
126
define('_MI_APCAL_GLOBAL_NOTIFY', 'Global');
127
define('_MI_APCAL_GLOBAL_NOTIFYDSC', 'Op�es globais de notifica��o de APCal.');
128
define('_MI_APCAL_CATEGORY_NOTIFY', 'Categoria');
129
define('_MI_APCAL_CATEGORY_NOTIFYDSC', 'Op�es de notifica��o que s�� aplicadas na categoria atual.');
130
define('_MI_APCAL_EVENT_NOTIFY', 'Evento');
131
define('_MI_APCAL_EVENT_NOTIFYDSC', 'Op�es de notifica��o que s�� aplicadas no atual evento.');
132
133
define('_MI_APCAL_GLOBAL_NEWEVENT_NOTIFY', 'Novo Evento');
134
define('_MI_APCAL_GLOBAL_NEWEVENT_NOTIFYCAP', 'Notificar quando um novo evento for criado.');
135
define('_MI_APCAL_GLOBAL_NEWEVENT_NOTIFYDSC', 'Receber notifica��o quando um novo evento for criado.');
136
define('_MI_APCAL_GLOBAL_NEWEVENT_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} auto-notifica��o : Novo evento');
137
138
define('_MI_APCAL_CATEGORY_NEWEVENT_NOTIFY', 'Novo Event na Categoria');
139
define('_MI_APCAL_CATEGORY_NEWEVENT_NOTIFYCAP', 'Notificar quando um novo evento for criado na Categoria.');
140
define('_MI_APCAL_CATEGORY_NEWEVENT_NOTIFYDSC', 'Receber notifica��o quando um novo evento for criado na Categoria.');
141
define('_MI_APCAL_CATEGORY_NEWEVENT_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} auto-notifica��o : Novo evento em {CATEGORY_TITLE}');
142
143
144
145
}
146
147
?>
0 ignored issues
show
It is not recommended to use PHP's closing tag ?> in files other than templates.

Using a closing tag in PHP files that only contain PHP code is not recommended as you might accidentally add whitespace after the closing tag which would then be output by PHP. This can cause severe problems, for example headers cannot be sent anymore.

A simple precaution is to leave off the closing tag as it is not required, and it also has no negative effects whatsoever.

Loading history...
148