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/admin.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_AM_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
// Appended by Xoops Language Checker -GIJOE- in 2005-06-29 17:19:32
10
define('_AM_PI_TH_OPTIONS','Options (usually blank)');
11
define('APCAL_COPYRIGHT' , '<a href="http://xoops.antiquespromotion.ca" title="Calendar for Xoops" target="_blank">APCal</a> by <a href="http://www.antiquespromotion.ca" title="Antiques Promotion Canada" target="_blank">AP</a>');
12
13
// Appended by Xoops Language Checker -GIJOE- in 2005-05-24 19:05:06
14
define('_AM_TZOPT_SERVER','As server timezone');
15
define('_AM_TZOPT_GMT','As GMT');
16
define('_AM_TZOPT_USER','As user\'s timezone');
17
18
// Appended by Xoops Language Checker -GIJOE- in 2005-05-06 18:04:01
19
define('_AM_FMT_SERVER_TZ_ALL','Timezone of the server (winter): %+2.1f<br />Timezone of the server (summer): %+2.1f<br />Zonename of the server: %s<br />The value of XOOPS config: %+2.1f<br />The value of APCal using: %+2.1f<br />');
20
21
// Appended by Xoops Language Checker -GIJOE- in 2005-05-03 05:31:14
22
define('_AM_FMT_SERVER_TZ_SYSTEM','Timezone in winter: %+2.1f');
23
define('_AM_TH_SERVER_TZ_COUNT','Events');
24
define('_AM_TH_SERVER_TZ_VALUE','Timezone');
25
define('_AM_TH_SERVER_TZ_VALUE_TO','Changes (-14.0��14.0)');
26
define('_AM_JSALRT_SERVER_TZ','Don\'t forget backing-up events table before this operation');
27
define('_AM_NOTICE_SERVER_TZ','If your server set the timezone area with summer time (=Day Light Saving) and some events were registerd in APCal 0.6x or 0.7x, dont\'t push this button.<br />eg) It is natural to display both -5.0 and -4.0 in EDT');
28
define('_AM_MB_SUCCESSTZUPDATE','Events are modified with the timezone(s).');
29
define('_AM_PI_UPDATED','Plugins are updated');
30
define('_AM_PI_TH_TYPE','Type');
31
define('_AM_PI_TH_TITLE','Title');
32
define('_AM_PI_TH_DIRNAME','Module\'s dirname');
33
define('_AM_PI_TH_FILE','Plugin file');
34
define('_AM_PI_TH_DOTGIF','Dot GIF');
35
define('_AM_PI_TH_OPERATION','Operation');
36
define('_AM_PI_ENABLED','Enabled');
37
define('_AM_PI_DELETE','Delete');
38
define('_AM_PI_NEW','New');
39
define('_AM_PI_VIEWYEARLY','Yearly View');
40
define('_AM_PI_VIEWMONTHLY','Monthly View');
41
define('_AM_PI_VIEWWEEKLY','Weekly View');
42
define('_AM_PI_VIEWDAILY','Daily View');
43
44
define( 'APCAL_AM_LOADED' , 1 ) ;
45
 //* Brazilian Portuguese Translation by Marcelo Yuji Himoro <www.yuji.eu.org> *//
46
47
// titles
48
define("_AM_CONFIG","Configura�es do APCal");
49
define("_AM_GENERALCONF","Configura�es gerais");
50
define("_AM_ADMISSION","Aprovar eventos");
51
define("_AM_MENU_EVENTS","Administra��o de eventos");
52
define("_AM_MENU_CATEGORIES","Administra��o de categorias");
53
define("_AM_MENU_CAT2GROUP","Permiss�es de acesso das categorias");
54
define("_AM_ICALENDAR_IMPORT","Importar do iCalendar");
55
define("_AM_GROUPPERM","Permiss�es globais dos grupos");
56
define("_AM_TABLEMAINTAIN","Manuten��o de tabelas (atualiza��o)");
57
define("_AM_MYBLOCKSADMIN","Administra��o de blocos e grupos do APCal");
58
59
// forms
60
define("_AM_BUTTON_EXTRACT","Extrair");
61
define("_AM_BUTTON_ADMIT","Aprovar");
62
define("_AM_BUTTON_MOVE","Mover");
63
define("_AM_BUTTON_COPY","Copiar");
64
define("_AM_CONFIRM_DELETE","Voc� deseja realmente apagar o(s) evento(s)?");
65
define("_AM_CONFIRM_MOVE","Voc� deseja realmente apagar o link para categoria antiga e adicionar um link para a categoria especificada?");
66
define("_AM_CONFIRM_COPY","Voc� deseja realmente adicionar um link para a categoria especificada?");
67
define('_AM_OPT_PAST','Passado');
68
define('_AM_OPT_FUTURE','Futuro');
69
define('_AM_OPT_PASTANDFUTURE','Ambos');
70
71
// format
72
define("_AM_DTFMT_LIST_ALLDAY",'y-m-d');
73
define("_AM_DTFMT_LIST_NORMAL",'y-m-d<\b\r />H:i');
74
75
// admission
76
define("_AM_LABEL_ADMIT","");
77
define("_AM_MES_ADMITTED","O(s) evento(s) foi(foram) aprovado(s).");
78
define("_AM_ADMIT_TH0","Usu�rio");
79
define("_AM_ADMIT_TH1","Hora e data do in�cio");
80
define("_AM_ADMIT_TH2","Hora e data do t�rmino");
81
define("_AM_ADMIT_TH3","T�tulo");
82
define("_AM_ADMIT_TH4","Regras de repeti��o");
83
84
// iCalendar I/O
85
86
define("_AM_LABEL_IMPORTFROMWEB","Importar dados do iCalendar atrav�s da Web (insira uma URL come�ada por 'http://' ou 'webcal://')");
87
define("_AM_LABEL_UPLOADFROMFILE","Fazer upload dos dados do iCalendar (escolha um arquivo local)");
88
define("_AM_LABEL_IO_CHECKEDITEMS","");
89
define("_AM_LABEL_IO_OUTPUT","");
90
define("_AM_LABEL_IO_DELETE","");
91
define("_AM_MES_EVENTLINKTOCAT","evento(s) foi(ram) conectado(s) � esta categoria.");
92
define("_AM_MES_EVENTUNLINKED","evento(s) com link � categoria antiga foi(ram) apagado(s).");
93
define("_AM_FMT_IMPORTED","evento(s) foi(foram) importado(s) de '%s'.");
94
define("_AM_MES_DELETED","evento(s) foi(foram) apagado(s).");
95
define("_AM_IO_TH0","Usu�rio");
96
define("_AM_IO_TH1","Hora e data do in�cio");
97
define("_AM_IO_TH2","Hora e data do t�rmino");
98
define("_AM_IO_TH3","T�tulo");
99
define("_AM_IO_TH4","Regras de repeti��o");
100
define("_AM_IO_TH5","Aprova��o");
101
102
// Group's Permissions
103
define( '_AM_GPERM_G_INSERTABLE' , "Permiss�o de cria��o de eventos" ) ;
104
define( '_AM_GPERM_G_SUPERINSERT' , "Permiss�o de aprova��o de eventos" ) ;
105
define( '_AM_GPERM_G_EDITABLE' , "Permiss�o de edi��o de eventos" ) ;
106
define( '_AM_GPERM_G_SUPEREDIT' , "Permiss�o de aprova��o de altera�es de eventos" ) ;
107
define( '_AM_GPERM_G_DELETABLE' , "Permiss�o de exclus�o de eventos" ) ;
108
define( '_AM_GPERM_G_SUPERDELETE' , "Permiss�o de aprova��o de exclus�o de eventos" ) ;
109
define( '_AM_GPERM_G_TOUCHOTHERS' , "Permiss�o de edi��o/remo��o de eventos de outros" ) ;
110
define( '_AM_CAT2GROUPDESC' , "Marque as categorias �s quais cada grupo ter� permiss�o de acesso." ) ;
111
define( '_AM_GROUPPERMDESC' , "D� as permiss�es do que cada grupo est� autorizado a fazer com os eventos.<br />Para usar esta op��o, antes voc� precisa definir as 'Permiss�es globais dos grupos'.<br />As configura�es definidas aqui para o grupo dos administradores e an�nimos ser�o ignoradas." ) ;
112
113
// Table Maintenance
114
define( '_AM_MB_SUCCESSUPDATETABLE' , "Estrutura das tabelas atualizadas com sucesso." ) ;
115
define( '_AM_MB_FAILUPDATETABLE' , "N�o foi poss�vel atualizar a estrutura das tabelas." ) ;
116
define( '_AM_NOTICE_NOERRORS' , "Atualiza��o para o formato 0.6 conclu�da sem problemas." ) ;
117
define( '_AM_ALRT_CATTABLENOTEXIST' , "A tabela de categorias n�o existe.<br />\nDeseja cri�-la?" ) ;
118
define( '_AM_ALRT_OLDTABLE' , "A estrutura da tabela de eventos � antiga.<br />\nDeseja atualiz�-la?" ) ;
119
define( '_AM_ALRT_TOOOLDTABLE' , "Ocorreu um erro na tabela.<br />\nTalvez seus dados sejam do APCal 0.3x ou inferior.<br />\nAtualize primeiro para 0.4x ou 0.5x e tente atualizar novamente." ) ;
120
define( '_AM_FMT_WRONGSTZ' , "Existem %s eventos com o fuso hor�rio incorreto.<br />Deseja consert�-los?" ) ;
121
122
// Categories
123
define( '_AM_CAT_TH_TITLE' , 'T�tulo' ) ;
124
define( '_AM_CAT_TH_DESC' , 'Descri��o' ) ;
125
define( '_AM_CAT_TH_PARENT' , 'Categoria padr�o' ) ;
126
define( '_AM_CAT_TH_OPTIONS' , 'Op�es' ) ;
127
define( '_AM_CAT_TH_LASTMODIFY' , '�ltima modifica��o' ) ;
128
define( '_AM_CAT_TH_OPERATION' , 'Opera��o' ) ;
129
define( '_AM_CAT_TH_ENABLED' , 'Ativar' ) ;
130
define( '_AM_CAT_TH_WEIGHT' , 'Posi��o' ) ;
131
define( '_AM_CAT_TH_SUBMENU' , 'Mostrar no SubMenu' ) ;
132
define( '_AM_BTN_UPDATE' , 'Atualizar' ) ;
133
define( '_AM_MENU_CAT_EDIT' , 'Editar uma categoria' ) ;
134
define( '_AM_MENU_CAT_NEW' , 'Criar uma nova categoria' ) ;
135
define( '_AM_MB_MAKESUBCAT' , 'Sub-categoria' ) ;
136
define( '_AM_MB_MAKETOPCAT' , 'Criar uma categoria principal' ) ;
137
define( '_AM_MB_CAT_INSERTED' , 'Nova categoria criada com sucesso.' ) ;
138
define( '_AM_MB_CAT_UPDATED' , 'Categoria atualizada com sucesso.' ) ;
139
define( '_AM_FMT_CAT_DELETED' , '%s categorias foram apagadas com sucesso.' ) ;
140
define( '_AM_FMT_CAT_BATCHUPDATED' , '%s categorias foram atualizadas com sucesso.' ) ;
141
define( '_AM_FMT_CATDELCONFIRM' , 'Voc� deseja realmente apagar a categoria %s ?' ) ;
142
143
144
}
145
146
?>
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...