Skip to content

Instantly share code, notes, and snippets.

View leober-ramos33's full-sized avatar
🕐
Hacking the university

Leober Ramos leober-ramos33

🕐
Hacking the university
View GitHub Profile
@searsia
searsia / proxy.php
Created January 6, 2018 08:45
Simple PHP image proxy
<?php
$PROXY = 'https://yourdomain.top/proxy.php?url=';
# This script forwards the call
# Check for url parameter, and prevent file transfer
if (isset($_GET['url']) and preg_match('#^https?://#', $_GET['url']) === 1) {
$url .= $_GET['url'];
} else {