Skip to content

Instantly share code, notes, and snippets.

@Al-Azif
Al-Azif / pi-exploit-host.conf
Last active April 7, 2024 19:57
Config file for exploit host on Pi-hole
# 0. Use `crtl+h` and replace `{{HOST}}` with the IP address of a server you
# control and want to direct the traffic to. Or Just use `0.0.0.0` to block it.
#
# 1. Log into your Pi-hole device and move this file into the `/etc/dnsmasq.d/`
# directory. Feel free to rename it.
#
# 2. Run the command `pihole restartdns`
# Redirects Nintendo Landing Page Domains
address=/ctest.cdn.nintendo.net/{{HOST}}
@Mello-Yello
Mello-Yello / openload.js
Last active April 9, 2018 10:23 — forked from Tithen-Firion/openload.js
Openload: extract download URL using PhantomJS
// Usage: phantomjs openload.js <video_url>
var separator = ' | ';
var page = require('webpage').create(),
system = require('system'),
id, match;
if(system.args.length < 2) {
console.error('No URL provided');
phantom.exit(1);
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active June 17, 2024 23:43
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
#!/bin/bash
# SPDX-License-Identifier: MIT
## Copyright (C) 2009 Przemyslaw Pawelczyk <przemoc@gmail.com>
##
## This script is licensed under the terms of the MIT license.
## https://opensource.org/licenses/MIT
#
# Lockable script boilerplate