Skip to content

Instantly share code, notes, and snippets.

Ryan Putrama Yahya lepz0r

  • Depok, Indonesia
View GitHub Profile
@lepz0r
lepz0r / protectfile.bat
Last active Mar 15, 2020
Protect .zip file from STOP/DJVU ransomware
View protectfile.bat
@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 / update6
Created Nov 24, 2019
s6-rc update script
View update6
#!/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 / isp-ads.filter
Last active Jul 23, 2019
Filter Privoxy untuk menghapus inject iklan Telkomsel & Indihome | Privoxy filter to remove Telkomsel & Indihome ad injection
View isp-ads.filter
# 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:
You can’t perform that action at this time.