Issues (175)

Security Analysis    no request data  

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/russian/admin.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
3
define('_AM_INSTRUCTION_FORMADDCAT', 'Форма добавления категории');
4
define('_AM_INSTRUCTION_FORMEDITCAT', 'Форма редактирования категории');
5
define('_AM_INSTRUCTION_FORMADDINSTR', 'Форма добавления инструкции');
6
define('_AM_INSTRUCTION_FORMEDITINSTR', 'Форма редактирования инструкции');
7
define('_AM_INSTRUCTION_FORMADDPAGE', 'Форма добавления страницы');
8
define('_AM_INSTRUCTION_FORMEDITPAGE', 'Форма редактирования страницы');
9
define('_AM_INSTRUCTION_FORMDELPAGE', 'Вы действительно хотите удалить страницу: "%s" ?');
10
define('_AM_INSTRUCTION_FORMDELCAT', 'Вы действительно хотите удалить категорию: "%s" ?');
11
define('_AM_INSTRUCTION_FORMDELINSTR', 'Вы действительно хотите удалить инструкцию "%s" , и все её страницы  ?');
12
13
// Кнопки формы
14
define('_AM_INSTR_SAVEFORM', 'Сохранить');
15
//
16
//Try again
17
define('_AM_INSTR_TRY_AGAIN', 'Попробуйте ещё раз');
18
19
// Элементы форм
20
define('_AM_INSTRUCTION_TITLEC', 'Название:');
21
define('_AM_INSTRUCTION_DSCC', 'Описание:');
22
define('_AM_INSTRUCTION_PCATC', 'Родительская категория:');
23
define('_AM_INSTRUCTION_PPAGEC', 'Родительская страница:');
24
define('_AM_INSTRUCTION_WEIGHTC', 'Вес:');
25
define('_AM_INSTRUCTION_CATC', 'Категория:');
26
define('_AM_INSTRUCTION_ACTIVEC', 'Активен:');
27
define('_AM_INSTRUCTION_HOMETEXTC', 'Основной текст:');
28
define('_AM_INSTRUCTION_FOOTNOTEC', 'Сноска:');
29
define('_AM_INSTRUCTION_DESCRIPTIONC', 'Описание:');
30
define('_AM_INSTRUCTION_METAKEYWORDSC', 'Мета-теги ключевых слов:');
31
define('_AM_INSTRUCTION_METADESCRIPTIONC', 'Мета-теги описания:');
32
define('_AM_INSTR_DOSMILEY', 'Разрешить смайлики');
33
define('_AM_INSTR_DOHTML', 'Разрешить HTML тэги');
34
define('_AM_INSTR_DOAUTOWRAP', 'Автоматически переносить строки');
35
define('_AM_INSTR_DOXCODE', 'Разрешить BB-коды');
36
define('_AM_INSTR_PAGETYPEC', 'Тип страницы:');
37
define('_AM_INSTR_PAGETYPEC_DESC', 'Лист дерева - Страница просто отображается в дереве инструкции, но ссылки на неё нет.<br>Страница - Обычная страница.');
38
39
// Описание элементов форм
40
define('_AM_INSTRUCTION_FOOTNOTE_DSC', 'Сноска внизу страницы.<br>Разделять знаком "|".');
41
42
define('_AM_INSTRUCTION_TITLE', 'Название');
43
define('_AM_INSTRUCTION_WEIGHT', 'Вес');
44
define('_AM_INSTR_INSTRS', 'Инструкций');
45
define('_AM_INSTR_LISTALLCATS', 'Список всех категорий');
46
define('_AM_INSTRUCTION_ACTION', 'Действие');
47
define('_AM_INSTRUCTION_DEL', 'Удалить');
48
define('_AM_INSTR_NODELCAT', 'Нельзя удалить (категория не пуста или есть дочернии категории)');
49
define('_AM_INSTR_NODELPAGE', 'Нельзя удалить (есть дочернии страницы)');
50
define('_AM_INSTR_VIEWINSTR', 'Показать инструкции');
51
define('_AM_INSTR_NOVIEWINSTR', 'Нет инструкций');
52
define('_AM_INSTRUCTION_DSC', 'Описание');
53
define('_AM_INSTRUCTION_CAT', 'Категория');
54
define('_AM_INSTRUCTION_PAGES', 'Страниц');
55
define('_AM_INSTRUCTION_PPAGES', 'Страницы');
56
57
//
58
define('_AM_INSTRUCTION_LISTPAGESININSTR', 'Список страниц в интсрукции "%s"');
59
define('_AM_INSTR_LISTINSTRINCAT', 'Список инструкций в категории "%s"');
60
define('_AM_INSTR_LISTINSTRALL', 'Список всех инструкций');
61
62
//
63
define('_AM_INSTRUCTION_DISPLAY', 'Показать');
64
define('_AM_INSTRUCTION_LOCK', 'Заблокировать');
65
define('_AM_INSTRUCTION_UNLOCK', 'Разблокировать');
66
define('_AM_INSTRUCTION_ADDPAGE', 'Добавить страницу');
67
define('_AM_INSTRUCTION_ADDSUBPAGE', 'Добавить подстраницу');
68
define('_AM_INSTRUCTION_ADDINSTR', 'Добавить инструкцию');
69
define('_AM_INSTRUCTION_EDIT', 'Редактировать');
70
define('_AM_INSTR_DISPLAY_NOCACHE', 'Просмотр без кэша');
71
72
// Breadcrumd
73
define('_AM_INSTRUCTION_BC_LISTINSTR', 'Список инструкций');
74
define('_AM_INSTRUCTION_BC_EDITINSTR', 'Редактирование инструкции');
75
define('_AM_INSTRUCTION_BC_DELINSTR', 'Удаление инструкции');
76
define('_AM_INSTRUCTION_BC_LISTPAGE', 'Список страниц');
77
define('_AM_INSTRUCTION_BC_EDITPAGE', 'Редактирование страницы');
78
define('_AM_INSTRUCTION_BC_DELPAGE', 'Удаление страницы');
79
define('_AM_INSTRUCTION_BC_PERM', 'Права');
80
81
// Права
82
define('_AM_INSTRUCTION_PERM_VIEW', 'Права на просмотр');
83
define('_AM_INSTRUCTION_PERM_VIEW_DSC', 'Выберите группы, которые могут читать инструкции из категорий.');
84
define('_AM_INSTRUCTION_PERM_SUBMIT', 'Права на добавление');
85
define('_AM_INSTRUCTION_PERM_SUBMIT_DSC', 'Выберите группы, которые могут добавлять инструкции в категории.');
86
define('_AM_INSTRUCTION_PERM_EDIT', 'Права на редактирование');
87
define('_AM_INSTRUCTION_PERM_EDIT_DSC', 'Выберите группы, которые могут редактировать инструкции из категорий.');
88
89
// Типы страницы
90
define('_AM_INSTR_PT_0', 'Лист дерева');
91
define('_AM_INSTR_PT_1', 'Страница');
92
93
// Редиректы
94
define('_AM_INSTRUCTION_NEWCATADDED', 'Новая категория успешно сохранена.');
95
define('_AM_INSTRUCTION_INSTRADDED', 'Новая инструкция успешно добавленна.');
96
define('_AM_INSTRUCTION_INSTRMODIFY', 'Инструкция успешно отредактированна.');
97
define('_AM_INSTRUCTION_INSTRDELETED', 'Инструкция успешно удалена.');
98
define('_AM_INSTRUCTION_PAGEADDED', 'Новая страница успешно добавленна.');
99
define('_AM_INSTRUCTION_PAGEDELETED', 'Страница успешно удалена.');
100
define('_AM_INSTRUCTION_PAGEMODIFY', 'Страница успешно отредактированна.');
101
define('_AM_INSTRUCTION_PAGESUPDATE', 'Страницы обновлены.');
102
define('_AM_INSTRUCTION_CATDELETED', 'Категория успешно удалена.');
103
104
// Ошибки
105
define('_AM_INSTR_ERR_TITLE', 'Ошибка: Вы не указали название!');
106
define('_AM_INSTR_ERR_HOMETEXT', 'Ошибка: Вы не указали основной текст!');
107
define('_AM_INSTR_ERR_DESCRIPTION', 'Ошибка: Вы не указали описание!');
108
109
define('_AM_INSTRUCTION_ERR_WEIGHT', 'Ошибка: Вы не указали вес!');
110
define('_AM_INSTRUCTION_ERR_CAT', 'Ошибка: Вы не указали категорию!');
111
define('_AM_INSTRUCTION_ERR_PCAT', 'Ошибка: Вы не верно указали родительскую категорию!');
112
define('_AM_INSTRUCTION_ERR_INSTR', 'Ошибка: Вы не выбрали в какую инструкцию добавлять!');
113
define('_AM_INSTRUCTION_ERR_DELPAGE', 'Ошибка: Не удалось удалить страницу!');
114
define('_AM_INSTRUCTION_ERR_DELINSTR', 'Ошибка: Не удалось удалить инструкцию!');
115
define('_AM_INSTRUCTION_ERR_PPAGE', 'Ошибка: Вы не верно указали родительскую страницу!');
116
define('_AM_INSTRUCTION_ERR_DELCAT', 'Ошибка: Не удалось удалить категорию!');
117
define('_AM_INSTRUCTION_ERR_CATNOTEMPTY', 'Ошибка: В данной категории находятся инстркции!');
118
define('_AM_INSTRUCTION_ERR_CATNOTSELECT', 'Ошибка: Вы не выбрали категорию!');
119
define('_AM_INSTRUCTION_ERR_CATCHILDREN', 'Ошибка: У даннай категории существуют дочернии категории!');
120
121
define('_AM_INSTRUCTION_BADREQUEST', 'Не правильный запрос...');
122
//define('_AM_MODULEADMIN_ABOUT_BY', 'by ');
0 ignored issues
show
Unused Code Comprehensibility introduced by
68% of this comment could be valid code. Did you maybe forget this after debugging?

Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.

The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.

This check looks for comments that seem to be mostly valid code and reports them.

Loading history...
123
//define('_AM_MODULEADMIN_ABOUT_AMOUNT', 'Amount');
124
//define('_AM_MODULEADMIN_ABOUT_AMOUNT_TTL', 'Please enter USD amount e.g. $25.00');
125
//define('_AM_MODULEADMIN_ABOUT_AMOUNT_CURRENCY', 'USD');
126
//define('_AM_MODULEADMIN_ABOUT_AMOUNT_SUGGESTED', '25.00');
127
//define('_AM_MODULEADMIN_ABOUT_AMOUNT_PATTERN', '\\$?[0-9]+(,[0-9]{3})*(\\.[0-9]{0,2})?$');
128
//define('_AM_MODULEADMIN_ABOUT_DONATE_IMG_ALT', 'Donate using PayPal or a major credit card online!');
129
130
define('_AM_INSTRUCTION_TOTAL', 'Всего в модуле');
131
define('_AM_INSTRUCTION_TOTAL_CAT', 'Всего категорий');
132
define('_AM_INSTRUCTION_TOTAL_INSTR', 'Всего инструкций');
133
define('_AM_INSTRUCTION_TOTAL_PAGE', 'Всего страниц');
134