Skip to content

Instantly share code, notes, and snippets.

@cw2k
cw2k / Bethesda_unpack.py
Created January 13, 2023 16:23
Bethesda.net extrator script
"""
Bethesda.net extrator script
============================
So what is that?
Elder scrolls online comes with that installer:
Bethesda.net_Launcher.exe
it is about 25 MB.
24MB of the file is a zip.
@cw2k
cw2k / RomeoAdditions.userscript.js
Last active December 24, 2022 17:09
Romeo Additions
// ==UserScript==
// @name myRomeo Additions
// @name:de myRomeo Additions
// @namespace https://greasyfork.org/en/users/723211-ray/
// @version 2.2.0
// @description Allows to hide users, display their information on tiles, and enhances the Radar.
// @description:de Ermöglicht das Verstecken von Benutzern, die Anzeige ihrer Details auf Kacheln, und verbessert den Radar.
// @author -Ray-, Djamana
// @include *://*.romeo.com/*
// @grant GM_addStyle
@cw2k
cw2k / tg_FMFS.cmd
Last active December 20, 2022 19:22
Telegram bot logout and foreign message forward script.
::
:: tg_FMFS -> Telegram Foreign Messages Forward Script (Dez2022)
::
:: https://gist.github.com/cw2k/02cbdf288b2a7a36141dacab9ab116a1
::
:: Purpose:
:: If you visit a BotChannel on Telegram let's say https://t.me/limePc_updater_bot you'll just see your messages and not the one the outers.
:: It's a private conversation between you and BotChannel channel you joined.
::
:: However it happens that you also have
Keygen notes for SongBook
https://linkesoft.de/songbook/
Definitions:
if ( String_scrambler( UserNApp ) ==
morph( String_scrambler( Version ) ) ^ ROL( RegKey, 1)
)
SerialValid = true;
@cw2k
cw2k / 01_keyboard_layout.sh
Created March 16, 2022 12:27
Localised keyboard layout Grub2
#!/bin/sh -e
# /etc/grub.d/01_keyboard_layout.sh
# ^-Put this file here.
# and make it executable:
# chmod +x /etc/grub.d/01_keyboard_layout.sh
#
# update-grub
# ..and finally you've a localised keyboard layout in Grub2
# (... inside the 'normal.mod' Grub; However the rescue shell *suprise* is not effected)
#
@cw2k
cw2k / Wing IDE 2-8.x - keygen.py
Created March 2, 2022 22:50
Activation helper for Wingware Wing IDE 2-8
################################
# Wing IDE Professional 8.x KeyGen
# https://wingware.com/downloads
# for Python3.x
# uncomment these to get also support for Python2.7
#from __future__ import print_function
# try:
# from future import standard_library
@cw2k
cw2k / RenameFunctThatHaveDebugText.py
Created February 21, 2022 12:46
IDA Rename all functions
'''
This is a Hexrays IDA Pro 7 (Python 3.x)script
It'll locate all
DBG_Func(L"NewFSACheck");
and name the function house this call accordingly
char NewFSACheck() {...
Well idc.get_operand_value() returns 'none'?
@cw2k
cw2k / Deezer_Download.user.js
Last active February 20, 2022 10:59
Deezer:Downloader update
//
// How to use I n s t a l l this?
// 1. https://tampermonkey.net
// ... and get the tampermonkey extension.
// With tampermonkey running you are able to install this userscript.
// 2. Open this in RAW
// tampermonkey will ask you to install this
// (... as it'll do with any file you open in the browser that aus the file name *.user.js)
// 3. Open deezer.com to see if it's working
// You should see a '1' or 2 a small red number on the Tampermonkey icon
@cw2k
cw2k / NoAdminPasswordForWinRE.Reg
Created November 11, 2021 04:44
RecEnv.exe CRecoveryToolAction::NeedsAuthentication
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\RecoveryEnvironment]
"WinREAuthenticationRequirement"=dword:00000002
@cw2k
cw2k / UninstallEdge.cmd
Last active November 11, 2021 19:35
Uninstall Microsoft Edge
@prompt -$G
@echo Uninstall Microsoft Edge [Nov 2021]
@echo ===================================
@echo.
reg query "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft Edge" /v NoRemove /reg:64
@if errorlevel 1 goto :Already_Uninstalled
@echo Enabling Uninstall...