Skip to content

Instantly share code, notes, and snippets.

View lepz0r's full-sized avatar

Ryan Putrama Yahya lepz0r

  • Depok, Indonesia
View GitHub Profile
@lepz0r
lepz0r / isp-ads.filter
Last active March 13, 2024 00:14
Filter Privoxy untuk menghapus inject iklan Telkomsel & Indihome | Privoxy filter to remove Telkomsel & Indihome ad injection
# 1. Simpan file ini ke C:\Program Files (x86)\Privoxy\isp-ads.filter untuk Windows 64-bit, C:\Program Files\Privoxy\isp-ads.filter untuk Windows 32-bit, /etc/privoxy/isp-ads.filter untuk linux
# 2. Tambahkan "filterfile isp-ads.filter" ke C:\Program Files (x86)\Privoxy\config.txt untuk Windows, /etc/privoxy/config untuk linux
# 3. Tambahkan ini (tanpa '#') ke C:\Program Files (x86)\Privoxy\match-all.action untuk Windows, /etc/privoxy/match-all.action untuk Linux
#
# {+filter{isp-ads} +server-header-filter{isp-ads-page}}
# /
#
# Video (Windows): https://youtu.be/mbfp2SIVnsU
# EN:
@lepz0r
lepz0r / update6
Created November 24, 2019 19:44
s6-rc update script
#!/bin/sh
# Tested on Artix Linux
#
# Add a service that you want to enable to /etc/default/update6 (separated with newline or space)
export services=$(tr '\n' ' ' < /etc/default/update6)
s6-rc-bundle delete default
s6-rc-bundle add default $services
s6-rc-update /etc/s6/rc/compiled
@lepz0r
lepz0r / protectfile.bat
Last active December 12, 2020 19:53
Protect .zip file from STOP/DJVU ransomware
@echo off
::
:: USE THIS ONLY ON THE .ZIP FILE, IF THE FILE ISN'T ZIP FILE JUST PUT IT IN THE .ZIP FILE
:: Just save this file and drag & drop a file to this file
:: Tested filetype: .zip
:: In case of infection just remove the extension of the ransomware and extract the .zip file normally
:: Demo: https://youtu.be/36HmHXqmCwQ
::
powershell -Command $out = new-object byte[] 7000000; (new-object Random).NextBytes($out); [IO.File]::WriteAllBytes(\"$env:temp\randomfile\", $out)
copy /b %TEMP%\randomfile+"%1" "%~d1%~p1%~n1_protected%~x1"
@lepz0r
lepz0r / open-youtube-chat
Last active August 9, 2020 17:57
Open a YouTube livestream chat
#!/bin/python
import re
import argparse
import subprocess
try:
import sys
from PyQt5.Qt import *
from PyQt5.QtWebEngineWidgets import *
from PyQt5.QtWidgets import QApplication
except ImportError:
@lepz0r
lepz0r / coffee-grinder
Last active March 11, 2021 08:18
add a noise to image edges
#!/bin/sh
arg=0
export verbose=0
script_help(){
echo "Usage: coffee-grinder [OPTIONS] "
echo " -r, --radius set edge detection radius (default 2)"
echo " -a, --amount set noise amount (default 25)"
echo " -h, --help show this help"
}
@lepz0r
lepz0r / emoji
Created June 2, 2021 21:27
⬇️🐇🕳️
▶️/🌈🕒/🧗‍♀️✍️➡️👩(⬇️🐇🕳️)
https://www.youtube.com/watch?v=VK8JPiusVAQ
https://www.youtube.com/watch?v=_KqdBAFC4Vg
https://www.youtube.com/watch?v=06p-mADDUQo
https://www.youtube.com/watch?v=q__CJ7PxTQU
https://www.youtube.com/watch?v=lchR-95-kxQ
https://www.youtube.com/watch?v=dWNvlyycWzQ
https://www.youtube.com/watch?v=H_V9ZmGc8og
https://www.youtube.com/watch?v=XMYs_sa-dGM
@lepz0r
lepz0r / arc-fairyfloss
Last active November 4, 2021 17:46
Themix/Oomox Arc theme based on fairyfloss color scheme
#arc-fairyfloss theme for Themix/Oomox
#Based on fairyfloss color scheme https://github.com/sailorhg/fairyfloss
#Put this file to ~/.config/oomox/colors/
ACCENT_BG=ffb8d1
ARC_TRANSPARENCY=True
ARC_WIDGET_BORDER_COLOR=5a5475
BASE16_GENERATE_DARK=False
BASE16_INVERT_TERMINAL=False
BASE16_MILD_TERMINAL=False
@lepz0r
lepz0r / gist:2adcb6cfd8d11239de8af5b89a6e420b
Last active February 2, 2022 06:37
Catppuccin Infinity for Reddit theme
{"archivedTint":-2246926,"authorFlairTextColor":-2498322,"awardedCommentBackgroundColor":-14803410,"awardsBackgroundColor":-334928,"awardsTextColor":-14803410,"backgroundColor":-15330528,"bottomAppBarBackgroundColor":-14803410,"bottomAppBarIconColor":-2498322,"buttonTextColor":-2498322,"cardViewBackgroundColor":-14803410,"chipTextColor":-14803410,"circularProgressBarBackground":-14803410,"colorAccent":-475754,"colorPrimary":-14803410,"colorPrimaryDark":-14803410,"colorPrimaryLightTheme":-475754,"commentBackgroundColor":-14803410,"commentColor":-2498322,"commentIconAndInfoColor":-1277566738,"commentVerticalBarColor1":-6894085,"commentVerticalBarColor2":-2246926,"commentVerticalBarColor3":-4855584,"commentVerticalBarColor4":-334928,"commentVerticalBarColor5":-880723,"commentVerticalBarColor6":-5510733,"commentVerticalBarColor7":-475754,"crosspostIconTint":-671001,"currentUser":-4855584,"dividerColor":-3552257,"downvoted":-6894085,"fabIconColor":-14803410,"flairBackgroundColor":-5510733,"flairTextColor":-1480341
@lepz0r
lepz0r / deeprabbithole.json
Last active April 1, 2022 03:30
⏬🐇🕳️
{"_type": "url", "ie_key": "Youtube", "id": "m9mK-EtTACM", "url": "https://www.youtube.com/watch?v=m9mK-EtTACM", "title": "\u3010MV\u3011\u3000HakobuNe - VERITAS feat.KAREN (\u30ab\u30ec\u30f3) \u3000\"Prod by HakobuNe\"", "description": null, "duration": 185.0, "view_count": null, "uploader": "Noah's Ark Recordz", "channel_id": "UCIi1X0ysP4AnZOjirvRvewA", "thumbnails": [{"url": "https://i.ytimg.com/vi/m9mK-EtTACM/hqdefault.jpg?sqp=-oaymwEbCKgBEF5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLBmYnS9SdxKJ1tgHXhglR-MCzri9Q", "height": 94, "width": 168}, {"url": "https://i.ytimg.com/vi/m9mK-EtTACM/hqdefault.jpg?sqp=-oaymwEbCMQBEG5IVfKriqkDDggBFQAAiEIYAXABwAEG&rs=AOn4CLBRpf-9j-mslFjQcu8XqV7AsT6lHA", "height": 110, "width": 196}, {"url": "https://i.ytimg.com/vi/m9mK-EtTACM/hqdefault.jpg?sqp=-oaymwEcCPYBEIoBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLAMrAsIlvZtjQ083znexeVi-sLIyw", "height": 138, "width": 246}, {"url": "https://i.ytimg.com/vi/m9mK-EtTACM/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AO
@lepz0r
lepz0r / geneva-arch-setup.md
Created November 4, 2022 12:15
Geneva setup on Arch Linux

Geneva setup on Arch Linux

This is an instruction to setup Geneva (Genetic Evasion) on Arch Linux

Installation

  1. Install dependencies from main repo:
    sudo pacman -S libnetfilter_queue libffi openssl python-pip python-pytest python-requests python-dnspython python-docker python-anytree python-graphviz python-netifaces python-paramiko python-pytest-cov python-tld python-dotenv python-mysql-connector python-beautifulsoup4 python-psutil python-tqdm

  2. Install dependencies from AUR:

  • yay: \