Issues (212)

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/english/modinfo.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
// _LANGCODE: en
4
// _CHARSET : ISO-8859-1
5
// Translator: D.J., http://xoopsforge.com, https://xoops.org.cn
6
7
// defined('XOOPS_ROOT_PATH') || die('Restricted access');
8
9
$current_path = __FILE__;
10 View Code Duplication
if (DIRECTORY_SEPARATOR !== '/') {
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...
11
    $current_path = str_replace(strpos($current_path, "\\\\", 2) ? "\\\\" : DIRECTORY_SEPARATOR, '/', $current_path);
12
}
13
$url_arr = explode('/', strstr($current_path, '/modules/'));
14
include XOOPS_ROOT_PATH . '/modules/' . $url_arr[2] . '/include/vars.php';
15
16
if (defined($GLOBALS['VAR_PREFIXU'] . '_LANG_EN_MODINFO')) {
17
    return;
18
}
19
define($GLOBALS['VAR_PREFIXU'] . '_LANG_EN_MODINFO', 1);
20
21
define($GLOBALS['VAR_PREFIXU'] . '_MI_NAME', 'Planet');
22
define($GLOBALS['VAR_PREFIXU'] . '_MI_DESC', 'Feed Planet For Xoops');
23
24
define($GLOBALS['VAR_PREFIXU'] . '_MI_PAGE_INDEX', 'Index');
25
define($GLOBALS['VAR_PREFIXU'] . '_MI_PAGE_ARTICLE', 'Article');
26
define($GLOBALS['VAR_PREFIXU'] . '_MI_PAGE_ARCHIVE', 'Archive');
27
define($GLOBALS['VAR_PREFIXU'] . '_MI_PAGE_LIST', 'List');
28
29
define($GLOBALS['VAR_PREFIXU'] . '_MI_SUBMIT', 'Submit');
30
define($GLOBALS['VAR_PREFIXU'] . '_MI_ARTICLE', 'Articles');
31
define($GLOBALS['VAR_PREFIXU'] . '_MI_ARTICLE_DESC', '');
32
define($GLOBALS['VAR_PREFIXU'] . '_MI_CATEGORY', 'Categories');
33
define($GLOBALS['VAR_PREFIXU'] . '_MI_CATEGORY_DESC', '');
34
define($GLOBALS['VAR_PREFIXU'] . '_MI_BLOG', 'BLogs');
35
define($GLOBALS['VAR_PREFIXU'] . '_MI_BLOG_DESC', '');
36
37
define($GLOBALS['VAR_PREFIXU'] . '_MI_THEMESET', 'Theme set');
38
define($GLOBALS['VAR_PREFIXU'] . '_MI_THEMESET_DESC', "Module-wide, select '" . _NONE . "' will use site-wide theme");
39
40
define($GLOBALS['VAR_PREFIXU'] . '_MI_TIMEFORMAT', 'Time format for display');
41
define($GLOBALS['VAR_PREFIXU'] . '_MI_TIMEFORMAT_DESC', '');
42
define($GLOBALS['VAR_PREFIXU'] . '_MI_TIMEFORMAT_CUSTOM', 'Custom');
43
44
define($GLOBALS['VAR_PREFIXU'] . '_MI_DISPLAY_SUMMARY', 'Display summary length on article list');
45
define($GLOBALS['VAR_PREFIXU'] . '_MI_DISPLAY_SUMMARY_DESC', '0 for full text');
46
47
define($GLOBALS['VAR_PREFIXU'] . '_MI_DODEBUG', 'Enable debug');
48
define($GLOBALS['VAR_PREFIXU'] . '_MI_DODEBUG_DESC', '');
49
50
define($GLOBALS['VAR_PREFIXU'] . '_MI_DOURLREWRITE', 'Enable URL rewrite');
51
define($GLOBALS['VAR_PREFIXU'] . '_MI_DOURLREWRITE_DESC', 'AcceptPathInfo On for Apache2 is required');
52
53
define($GLOBALS['VAR_PREFIXU'] . '_MI_DOSIBLING', 'Enable sibling articles');
54
define($GLOBALS['VAR_PREFIXU'] . '_MI_DOSIBLING_DESC', '');
55
56
define($GLOBALS['VAR_PREFIXU'] . '_MI_ARTICLESPERPAGE', 'Articles on one page');
57
define($GLOBALS['VAR_PREFIXU'] . '_MI_ARTICLESPERPAGE_DESC', '');
58
59
define($GLOBALS['VAR_PREFIXU'] . '_MI_LISTPERPAGE', 'Lists on one page');
60
define($GLOBALS['VAR_PREFIXU'] . '_MI_LISTPERPAGE_DESC', '');
61
62
define($GLOBALS['VAR_PREFIXU'] . '_MI_BLOGSPERUPDATE', 'Blogs for each update');
63
define($GLOBALS['VAR_PREFIXU'] . '_MI_BLOGSPERUPDATE_DESC', '');
64
65
define($GLOBALS['VAR_PREFIXU'] . '_MI_ARTICLE_EXPIRE', 'Time for article to expire');
66
define($GLOBALS['VAR_PREFIXU'] . '_MI_ARTICLE_EXPIRE_DESC', 'In days');
67
68
define($GLOBALS['VAR_PREFIXU'] . '_MI_COPYRIGHT', 'Copyright');
69
define($GLOBALS['VAR_PREFIXU'] . '_MI_COPYRIGHT_DESC', '');
70
71
define($GLOBALS['VAR_PREFIXU'] . '_MI_PING', 'Pings');
72
define($GLOBALS['VAR_PREFIXU'] . '_MI_PING_DESC', 'URLs to ping');
73
74
define($GLOBALS['VAR_PREFIXU'] . '_MI_TRACKBACK_OPTION', 'Option for recieved trackbacks');
75
define($GLOBALS['VAR_PREFIXU'] . '_MI_TRACKBACK_OPTION_DESC', '');
76
77
define($GLOBALS['VAR_PREFIXU'] . '_MI_MODERATION', 'Moderator to approve');
78
define($GLOBALS['VAR_PREFIXU'] . '_MI_MEMBER', 'Member atuo-approve');
79
80
define($GLOBALS['VAR_PREFIXU'] . '_MI_NEWBLOG_SUBMIT', 'Right for submitting new blog');
81
define($GLOBALS['VAR_PREFIXU'] . '_MI_NEWBLOG_SUBMIT_DESC', '');
82
83
define($GLOBALS['VAR_PREFIXU'] . '_MI_ANONYMOUSRATE', 'Allow anonymous to rate');
84
define($GLOBALS['VAR_PREFIXU'] . '_MI_ANONYMOUSRATE_DESC', '');
85
86
define($GLOBALS['VAR_PREFIXU'] . '_MI_PSEUDOCRON', 'Pseudo cron');
87
define($GLOBALS['VAR_PREFIXU'] . '_MI_PSEUDOCRON_DESC', 'Use pseudo cron to update blogs');
88
89
define($GLOBALS['VAR_PREFIXU'] . '_MI_ADMENU_INDEX', 'Index');
90
define($GLOBALS['VAR_PREFIXU'] . '_MI_ADMENU_CATEGORY', 'Category');
91
define($GLOBALS['VAR_PREFIXU'] . '_MI_ADMENU_BLOG', 'Blog');
92
define($GLOBALS['VAR_PREFIXU'] . '_MI_ADMENU_ARTICLE', 'Article');
93
define($GLOBALS['VAR_PREFIXU'] . '_MI_ADMENU_BLOCK', 'Block');
94
define($GLOBALS['VAR_PREFIXU'] . '_MI_ADMENU_ABOUT', 'About');
95
96
define($GLOBALS['VAR_PREFIXU'] . '_MI_GLOBAL_NOTIFY', 'Global');
97
define($GLOBALS['VAR_PREFIXU'] . '_MI_GLOBAL_NOTIFYDSC', 'Global notification options');
98
define($GLOBALS['VAR_PREFIXU'] . '_MI_BLOG_NOTIFY', 'Blog');
99
define($GLOBALS['VAR_PREFIXU'] . '_MI_BLOG_NOTIFYDSC', 'Blog notification options');
100
define($GLOBALS['VAR_PREFIXU'] . '_MI_ARTICLE_NOTIFY', 'Article');
101
define($GLOBALS['VAR_PREFIXU'] . '_MI_ARTICLE_NOTIFYDSC', 'Article notification options');
102
define($GLOBALS['VAR_PREFIXU'] . '_MI_GLOBAL_BLOGSUBMIT_NOTIFY', 'Article submission');
103
define($GLOBALS['VAR_PREFIXU'] . '_MI_GLOBAL_BLOGSUBMIT_NOTIFYCAP', 'Notify me of any pending blog');
104
define($GLOBALS['VAR_PREFIXU'] . '_MI_GLOBAL_BLOGSUBMIT_NOTIFYDSC', 'Receive notification when a new blog is submitted');
105
define($GLOBALS['VAR_PREFIXU'] . '_MI_GLOBAL_BLOGSUBMIT_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New blog submitted');
106
define($GLOBALS['VAR_PREFIXU'] . '_MI_GLOBAL_NEWBLOG_NOTIFY', 'New blog');
107
define($GLOBALS['VAR_PREFIXU'] . '_MI_GLOBAL_NEWBLOG_NOTIFYCAP', 'Notify of any new blog published');
108
define($GLOBALS['VAR_PREFIXU'] . '_MI_GLOBAL_NEWBLOG_NOTIFYDSC', 'Receive notification when a new blog is published');
109
define($GLOBALS['VAR_PREFIXU'] . '_MI_GLOBAL_NEWBLOG_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New blog published');
110
define($GLOBALS['VAR_PREFIXU'] . '_MI_GLOBAL_ARTICLEMONITOR_NOTIFY', 'Article monitor');
111
define($GLOBALS['VAR_PREFIXU'] . '_MI_GLOBAL_ARTICLEMONITOR_NOTIFYCAP', 'Notify me of all actions on my articles');
112
define($GLOBALS['VAR_PREFIXU'] . '_MI_GLOBAL_ARTICLEMONITOR_NOTIFYDSC', 'Receive notification when an action is taken over my articles');
113
define($GLOBALS['VAR_PREFIXU'] . '_MI_GLOBAL_ARTICLEMONITOR_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New action');
114
115
define($GLOBALS['VAR_PREFIXU'] . '_MI_BLOG_BLOGAPPROVE_NOTIFY', 'Blog approved');
116
define($GLOBALS['VAR_PREFIXU'] . '_MI_BLOG_BLOGAPPROVE_NOTIFYCAP', 'Notify me of approval of this blog');
117
define($GLOBALS['VAR_PREFIXU'] . '_MI_BLOG_BLOGAPPROVE_NOTIFYDSC', 'Receive notification when the blog is approved');
118
define($GLOBALS['VAR_PREFIXU'] . '_MI_BLOG_BLOGAPPROVE_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : blog approved');
119
define($GLOBALS['VAR_PREFIXU'] . '_MI_BLOG_BLOGUPDATE_NOTIFY', 'Blog updated');
120
define($GLOBALS['VAR_PREFIXU'] . '_MI_BLOG_BLOGUPDATE_NOTIFYCAP', 'Notify me of update of this blog');
121
define($GLOBALS['VAR_PREFIXU'] . '_MI_BLOG_BLOGUPDATE_NOTIFYDSC', 'Receive notification when the blog is upated');
122
define($GLOBALS['VAR_PREFIXU'] . '_MI_BLOG_BLOGUPDATE_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : blog updated');
123
124
define($GLOBALS['VAR_PREFIXU'] . '_MI_ARTICLE_ARTICLEMONITOR_NOTIFY', 'Article monitor');
125
define($GLOBALS['VAR_PREFIXU'] . '_MI_ARTICLE_ARTICLEMONITOR_NOTIFYCAP', 'Notify me of any action taken on this article');
126
define($GLOBALS['VAR_PREFIXU'] . '_MI_ARTICLE_ARTICLEMONITOR_NOTIFYDSC', 'Receive notification when an action is taken on this article');
127
define($GLOBALS['VAR_PREFIXU'] . '_MI_ARTICLE_ARTICLEMONITOR_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New article published');
128
129
define($GLOBALS['VAR_PREFIXU'] . '_MI_ADMENU_HOME', 'Home');
130