We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 727bce9 commit d400e13Copy full SHA for d400e13
SUMMARY.md
@@ -94,6 +94,7 @@
94
* [Challenge 88](php/challenge-88.md)
95
* [Challenge 89](php/challenge-89.md)
96
* [Challenge 90](php/challenge-90.md)
97
+* [Challenge 91](php/challenge-91.md)
98
99
## RUBY
100
php/challenge-91.md
@@ -0,0 +1,22 @@
1
+# Challenge
2
+```php
3
+<?php
4
+if ($_SERVER['HTTP_X_FORWARDED_FOR'] === '127.0.0.1') {
5
+
6
+ echo "<br >Welcome My Admin ! <br >";
7
8
+ $pattern = $_GET[pat];
9
+ $replacement = $_GET[rep];
10
+ $subject = $_GET[sub];
11
12
+ if (isset($pattern) && isset($replacement) && isset($subject)) {
13
+ preg_replace($pattern, $replacement, $subject);
14
+ }else{
15
+ die();
16
+ }
17
18
+}
19
+?>
20
+```
21
+# Refference
22
++ 赛博地球杯工业互联网安全大赛 工控云管理系统设备维护中心被植入后门
0 commit comments