update
This commit is contained in:
parent
242662fd83
commit
48ae5ead66
5 changed files with 37 additions and 4 deletions
7
.editorconfig
Normal file
7
.editorconfig
Normal file
|
@ -0,0 +1,7 @@
|
|||
[*.{js,jsx,ts,tsx,vue}]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
end_of_line = lf
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
max_line_length = 300
|
8
.prettierrc
Normal file
8
.prettierrc
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"eslintIntegration": true,
|
||||
"tabWidth": 4,
|
||||
"singleQuote": true,
|
||||
"trailingComma": "none",
|
||||
"printWidth": 300,
|
||||
"semi": false
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
# UIISC
|
||||
|
||||
An Open Source Management System for MyOwnFreeHost
|
||||
An Open Source Web Hosting Account and Support Management System for MyOwnFreeHost
|
||||
|
||||
* Official Site : [uiisc.com](http://uiisc.com "UIISC")
|
||||
* Author : [Jackson Dou](https://github.com/jksdou "Jackson Dou")
|
||||
|
|
18
SECURITY.md
Normal file
18
SECURITY.md
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Security Policy
|
||||
|
||||
## Supported Versions
|
||||
|
||||
There is the list of supported versions of php to run UIISC
|
||||
|
||||
| Version | Supported |
|
||||
| ------- | ------------------ |
|
||||
| 8.0.x | :white_check_mark: |
|
||||
| > 7.4 | :white_check_mark: |
|
||||
| 7.1.x | :white_check_mark: |
|
||||
| > 5.6.x | :white_check_mark: |
|
||||
| < 5.6 | :x: |
|
||||
|
||||
## Reporting a Vulnerability
|
||||
|
||||
In case of any error the user can report it by sending email to `admin@uiisc.org` or by contacting phone at `+86-021-51351888`.
|
||||
|
|
@ -4,13 +4,13 @@ require __DIR__ . '/core/application.php';
|
|||
$security_id = $_GET["id"];
|
||||
|
||||
header('Content-Type:image/png');
|
||||
$url = "http://order.uiisc.com/image.php?id=".$security_id."";//图片链接
|
||||
$url = "http://order.uiisc.com/image.php?id=" . $security_id; //图片链接
|
||||
$ch = curl_init();
|
||||
// Cookie:PHPSESSID=121b1127dcded8702c6a1e702c40eca4
|
||||
curl_setopt($ch, CURLOPT_URL, $url);
|
||||
// curl_setopt($ch,CURLOPT_COOKIE,'PHPSESSID=121b1127dcded8702c6a1e702c40eca4'); // 如果不需要cookies就删除这条语句
|
||||
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 0);
|
||||
curl_setopt($ch, CURLOPT_TIMEOUT,0); // 忽略超时
|
||||
curl_setopt($ch, CURLOPT_TIMEOUT, 0); // 忽略超时
|
||||
curl_setopt($ch, CURLOPT_NOBODY, false);
|
||||
$str = curl_exec($ch);
|
||||
curl_close($ch);
|
||||
curl_close($ch);
|
||||
|
|
Loading…
Reference in a new issue