Skip to content

Instantly share code, notes, and snippets.

@MBRCTV
MBRCTV / meganz.php
Last active July 18, 2024 17:38
Mega.nz Direct Link Generator
<?php
echo '<html><head><title>Mega downloader</title></head><body><h2>Enter Url</h2><form action="mega.php" method="POST"> <br> URL: <input type="text" name="URL"> <br><input type="submit" value="Submit"></form>';
if ($_POST) {
error_reporting(0);
$url = $_POST['URL'];
preg_match("/!(.+?)!/", $url, $output_array);
@MBRCTV
MBRCTV / osticket-imap-monitor
Created May 15, 2019 15:31 — forked from hqhoang/osticket-imap-monitor
OSTicket IMAP monitor with IDLE
Modified the imap-monitor script from https://gist.github.com/shimofuri/4348943 for Python3,
not using eventlet, just IMAPClient and requests (installed with pip)
This version is specifically for OSTicket, it grabs the email as-is and post to OSTicket,
so that tickets can be generated from emails ASAP.
Name: Flash
Serial: eNrzzU/OLi0odswsqnHLSSzOqDGoca7JKCkpsNLXLy8v1ytJTczVLUotKNFLzs8FAJHYETc=
if anyone wants to thank ETH: 0x527c2aB55b744D6167dc981576318af96ed26676
Thank you!