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/portuguesebr/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:03
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','brazil');
29
define('_MI_APCAL_LOCALE','Locale (check files in locales/*.php)');
30
31
define( 'APCAL_MI_LOADED' , 1 ) ;
32
 //* Brazilian Portuguese Translation by Marcelo Yuji Himoro <www.yuji.eu.org> *//
33
// Module Info
34
35
// The name of this module
36
define("_MI_APCAL_NAME","APCal");
37
38
// A brief description of this module
39
define("_MI_APCAL_DESC","M��ulo de calend��io com agenda.");
40
41
// Names of blocks for this module (Not all module has blocks)
42
define("_MI_APCAL_BNAME_MINICAL","Mini-calend��io");
43
define("_MI_APCAL_BNAME_MINICAL_DESC","Mostra um mini-calend��io em bloco.");
44
define("_MI_APCAL_BNAME_MONTHCAL","Calend��io mensal em tamanho completo");
45
define("_MI_APCAL_BNAME_MONTHCAL_DESC","Mostra um calend��io mensal em tamanho completo.");
46
define("_MI_APCAL_BNAME_TODAYS","Eventos de hoje");
47
define("_MI_APCAL_BNAME_TODAYS_DESC","Mostra eventos de hoje.");
48
define("_MI_APCAL_BNAME_THEDAYS","Eventos em %s");
49
define("_MI_APCAL_BNAME_THEDAYS_DESC","Mostra eventos do dia indicado no calend��io.");
50
define("_MI_APCAL_BNAME_COMING","Pr��imos eventos");
51
define("_MI_APCAL_BNAME_COMING_DESC","Mostra os pr��imos eventos.");
52
define("_MI_APCAL_BNAME_AFTER","Eventos depois %s");
53
define("_MI_APCAL_BNAME_AFTER_DESC","Mostra os eventos ap�� o dia indicado no calend��io.");
54
define("_MI_APCAL_BNAME_NEW","Eventos recentes"); 
55
define("_MI_APCAL_BNAME_NEW_DESC","Mostra os eventos mais recentes.");
56
57
// Names of submenu
58
define("_MI_APCAL_SM_SUBMIT","Enviar");
59
60
//define("_MI_APCAL_ADMENU1","");
61
62
// Title of config items
63
define("_MI_USERS_AUTHORITY", "Permiss��s gerais dos usu��ios");
64
define("_MI_GUESTS_AUTHORITY", "Permiss��s dos an��imos");
65
define("_MI_DEFAULT_VIEW", "Calend��io padr��");
66
define("_MI_MINICAL_TARGET", "O que mostrar quando uma data � clicada no mini-calend��io?");
67
define("_MI_COMING_NUMROWS", "N��ero de eventos mostrados no bloco de eventos seguintes");
68
define("_MI_SKINFOLDER", "Nome da pasta das skins");
69
define("_MI_SUNDAYCOLOR", "Cor dos domingos");
70
define("_MI_WEEKDAYCOLOR", "Cor dos dias da semana");
71
define("_MI_SATURDAYCOLOR", "Cor dos s��ados");
72
define("_MI_HOLIDAYCOLOR", "Cor dos feriados");
73
define("_MI_TARGETDAYCOLOR", "Cor dos dias com evento");
74
define("_MI_SUNDAYBGCOLOR", "Cor de fundo dos domingos");
75
define("_MI_WEEKDAYBGCOLOR", "Cor de fundo dos dias da semana");
76
define("_MI_SATURDAYBGCOLOR", "Cor de fundo dos s��ados");
77
define("_MI_HOLIDAYBGCOLOR", "Cor de fundo dos feriados");
78
define("_MI_TARGETDAYBGCOLOR", "Cor de fundo dos dias com evento");
79
define("_MI_CALHEADCOLOR", "Cor do topo do calendario");
80
define("_MI_CALHEADBGCOLOR", "Cor de fundo do topo do calend��io");
81
define("_MI_CALFRAMECSS", "Estilo da borda do calend��io");
82
define("_MI_CANOUTPUTICS", "Permiss�� para gera��o de arquivos ics");
83
define("_MI_MAXRRULEEXTRACT", "Limite m��imo dos eventos extra��os da regra de repeti��o. (COUNT)");
84
define("_MI_WEEKSTARTFROM", "Dia inicial da semana");
85
define("_MI_WEEKNUMBERING", "Regra de numera��o para as semanas");
86
define("_MI_DAYSTARTFROM", "Hora do encerramento de um dia");
87
define("_MI_NAMEORUNAME" , "Mostrar nome do autor");
88
define("_MI_DESCNAMEORUNAME" , "Escolha 'Usu��io' ou 'Nome verdadeiro'." ) ;
89
90
// Description of each config items
91
define("_MI_EDITBYGUESTDSC", "Permitir que usu��ios an��imos criem eventos?");
92
93
// Options of each config items
94
define("_MI_OPT_AUTH_NONE", "Permiss��s de cria��o");
95
define("_MI_OPT_AUTH_WAIT", "Podem criar (requer aprova��o)");
96
define("_MI_OPT_AUTH_POST", "Podem criar");
97
define("_MI_OPT_AUTH_BYGROUP", "Especifcado nas permiss��s dos Grupos");
98
define("_MI_OPT_MINI_PHPSELF", "Manter configura�es atuais");
99
define("_MI_OPT_MINI_MONTHLY", "Mostrar calend��io mensal como padr��");
100
define("_MI_OPT_MINI_WEEKLY", "Mostrar calend��io semanal como padr��");
101
define("_MI_OPT_MINI_DAILY", "Mostrar calend��io di��io como padr��");
102
define("_MI_OPT_MINI_LIST", "Lista de eventos");
103
define("_MI_OPT_CANOUTPUTICS", "Podem gerar");
104
define("_MI_OPT_CANNOTOUTPUTICS", "N�� podem gerar");
105
define("_MI_OPT_STARTFROMSUN", "Domingo");
106
define("_MI_OPT_STARTFROMMON", "Segunda");
107
define("_MI_OPT_WEEKNOEACHMONTH", "Mensal");
108
define("_MI_OPT_WEEKNOWHOLEYEAR", "Anual");
109
define("_MI_OPT_USENAME" , "Nome verdadeiro" ) ;
110
define("_MI_OPT_USEUNAME" , "Usu��io" ) ;
111
112
// Admin Menus
113
define("_MI_APCAL_ADMENU0","Aprovar eventos");
114
define("_MI_APCAL_ADMENU1","Administra��o de eventos");
115
define("_MI_APCAL_ADMENU_CAT","Administra��o de categorias");
116
define("_MI_APCAL_ADMENU_CAT2GROUP","Permiss��s globais das categorias");
117
define("_MI_APCAL_ADMENU2","Permis��s globais dos grupos");
118
define("_MI_APCAL_ADMENU_TM","Manuten��o das tabelas");
119
define("_MI_APCAL_ADMENU_ICAL","Importar do iCalendar");
120
define('_MI_APCAL_ADMENU_MYBLOCKSADMIN','Administra��o de blocos e grupos');
121
122
// Text for notifications
123
define('_MI_APCAL_GLOBAL_NOTIFY', 'Global');
124
define('_MI_APCAL_GLOBAL_NOTIFYDSC', 'Op�es globais de aviso do APCal.');
125
define('_MI_APCAL_CATEGORY_NOTIFY', 'Categoria');
126
define('_MI_APCAL_CATEGORY_NOTIFYDSC', 'Op�es de aviso que se aplicam para a categoria atual.');
127
define('_MI_APCAL_EVENT_NOTIFY', 'Evento');
128
define('_MI_APCAL_EVENT_NOTIFYDSC', 'Op�es de aviso que se aplicam para o evento atual.');
129
130
define('_MI_APCAL_GLOBAL_NEWEVENT_NOTIFY', 'Novo evento');
131
define('_MI_APCAL_GLOBAL_NEWEVENT_NOTIFYCAP', 'Avisar-me quando um novo evento for criado.');
132
define('_MI_APCAL_GLOBAL_NEWEVENT_NOTIFYDSC', 'Receber uma viso quando um novo evento for criado.');
133
define('_MI_APCAL_GLOBAL_NEWEVENT_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} aviso autom��ico: Novo evento');
134
135
define('_MI_APCAL_CATEGORY_NEWEVENT_NOTIFY', 'Novo evento na categoria');
136
define('_MI_APCAL_CATEGORY_NEWEVENT_NOTIFYCAP', 'Avisar-me quando um novo evento for criado na categoria atual.');
137
define('_MI_APCAL_CATEGORY_NEWEVENT_NOTIFYDSC', 'Receber uma aviso quando um novo evento for criado na categoria atual.');
138
define('_MI_APCAL_CATEGORY_NEWEVENT_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} aviso autom��ico: Novo evento em {CATEGORY_TITLE}');
139
140
141
}
142
143
?>
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...
144