Skip to content

Commit 86aa285

Browse files
committed
Updates php/challenge-98.md
Auto commit by GitBook Editor
1 parent ab2b94e commit 86aa285

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

SUMMARY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@
101101
* [Challenge 95](php/challenge-95.md)
102102
* [Challenge 96](php/challenge-96.md)
103103
* [Challenge 97](php/challenge-97.md)
104+
* [Challenge 98](php/challenge-98.md)
104105

105106
## RUBY
106107

php/challenge-98.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Challlenge
2+
```php
3+
<?php
4+
highlight_file(__FILE__);
5+
$b = 'implode';
6+
call_user_func($_GET[f],$_POST);
7+
session_start();
8+
if(isset($_GET[name])){
9+
$_SESSION[name] = $_GET[name];
10+
}
11+
var_dump($_SESSION);
12+
$a = array(reset($_SESSION),'welcome_to_the_lctf2018');
13+
call_user_func($b,$a);
14+
?>
15+
16+
```
17+
18+
# Refference
19+
+ LCTF 2018

0 commit comments

Comments
 (0)